3 ms·
I wouldn’t go very fancy unless I have specific requirements or challenges. Starting point: - Backend: Express + Sequelize + Postgres - Frontend: Svelte + Tai
by omneity 5y ago
I wouldn’t go very fancy unless I have specific requirements or challenges. Starting point:
- Backend: Express + Sequelize + Postgres
- Frontend: Svelte + TailwindCSS + Webpack
Do I need to iterate very quickly on the database schema? Use a document DB like MongoDB (JSONB on PG is great but has caveats such as atomicity)
Do I need to handle a high volume of background jobs? throw Redis into the mix.
Do I want HA? Make the app stateless (JWTs help in this case but come with their own caveats), duplicate the server 2 more times and put a cloud load balancer in front of all 3 servers.
Do I need to serve low bandwidth or low power devices? I go vanilla JS and limit how much interactions does the page have, or move to server-side rendering only altogether.
And the list goes on. But with no specific constraint, my personal preference goes to that initial stack (and I’m very productive in it).