Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
synemeup3124yI'm by no means an expert but that sounds like a large undertaking. Any reason why you're not using anything premade?
-
I hear Shopify thrown around a lot, but that is a full service. Without knowing your stack I can throw Sails.js out there, which comes with a lot of stuff ready, and ... um... well... Woo Commerce on Wordpress... *please dont hurt me* 😆
-
synemeup3124y@RagingCodeChimp Lol I've only heard of Sails once and it's from an article called "Don't Use Sails"
-
@synemeup I'm not opinionated on the topic really, but it has a lot of the Rails goodness, only in Node. I just assumed that Rails was a no-go.
Lots of other web-shop-in-a-box things out there, so there should be something for everyone.
I would probably recommend starting with a traditional monolith, good ol' server generated html with a thin JS sprinkling on top, rather that go full React-apeshit and stuff. Just so much easier to start small. Server side session handling is also easier than AJAX sync, JSON web token and all that jazz.
Keep it simple, don't build for a babillion users just yet. A cheap server with front served by back and db etc will scale amazingly well with todays beefy HW available in the clouds. When its time for production, go with double server, loadbalancer and either sticky sessions or sessions stored in a synced or external redis. Cache in front of db in memcache for products, orders etc for stuff that gets more requests than once in a blue moon -
I was thinking to keep it simple.
Store the cart in Redis backed with some DB (Postgres or MariaDB)
REST APIs built on Spring Boot with JWT should be enough. -
mundo0349114yI will work on something like this soon.
I was thinking some front end cart, backend validation.
Payment via stripe.
Stripe has pretty good options to integrate, for carts there are some samples so google it.
Backend validation should be the easy part.
If you also going to do fulfillmentz inventory and all that crap, then just use something already done, like Prestashop, or be prepared to work on it and support it forever. -
I'm in a similar boat, being in a team where 2-3 CompScientists will be working on the whole thing.
Related Rants
How long do you think it'll take to build shopping cart capability, order management system and integrate into a payment gateway with 1 backend developer and 1 front-end developer?
If there are any readily available libraries or OSS for these, please let me know.
rant
question