As a long time software developer who hasn't done full stack in awhile (since 2013), what's everyone's go to web hosting stack today? Wanted to quickly put together a simple website with react/node.
Backend : Since I am more comfortable writing python, for speed and perf i would go for Sanic, it's pretty similar to Flask with async function. For personal or MVP I would use Flask with Peewee or Django depending on the complexity.
Frontend : React for dynamic page only if i really need it. The rest would simply use any jinja provided by the backend framework. Database : small project sqlite ( personal blog, MVP ), postgresql for production level. For extremely fast and simple RESTful setup I would go for loopbackwhich has nice cli with lot's of middleware layer for data manipulation.
Backend: Node, Typescript, Express, TypeORM, Postgres, SocketIO, PugJS, BabylonJS Webpack for bundling Digital Ocean or Azure for Ubuntu vm hosting I feel having the same language for front/back end really reduces mental overhead.
I did 4 months ago, I loved it at first but when I tried to use it in a more complex use case during hackathon I ended up hitting some weird compile bugs with it and decided to go back to webpack. Maybe ill try it again once it matures a bit more.
Nodejs for any realtime stack or where websockets need to be used. If it's a basic crud app django is also a solid choice. For frontend I generally go with Vue these days if making an SPA or any dynamic functionality, it's just very easy to work with. For any backend microservice python works quite well, or even Go if performance is needed. Rabbitmq to join it all together. Redis for any fast access storage. Front all of this with Nginx and database is dependent on the usecase.
To run all of it i use docker compose in both prod and dev.
Comments (441) 141 threads
Earlier commentsFrontend : React for dynamic page only if i really need it. The rest would simply use any jinja provided by the backend framework.
Database : small project sqlite ( personal blog, MVP ), postgresql for production level.
For extremely fast and simple RESTful setup I would go for loopbackwhich has nice cli with lot's of middleware layer for data manipulation.
Backend: Node, Typescript, Express, TypeORM, Postgres, SocketIO, PugJS, BabylonJS
Webpack for bundling
Digital Ocean or Azure for Ubuntu vm hosting
I feel having the same language for front/back end really reduces mental overhead.
To run all of it i use docker compose in both prod and dev.
On the other hand, I just got a vps and am planning on learning Golang ;-)
All comments shown.
Couldn't load more comments. Check your connection and try again.