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.
Vue on the front end, Django on the back end. That’s mostly because I know these frameworks quite well. And in the beginning of a project, all I want is an MVP as quickly as possible while maintaining some clean code standards. I use firebase static hosting for the front end and a dockerized deployment on Heroku for the back end. Later on, if the project grows and when I break components out into microservices, I may start to worry about other considerations such as performance and resource usage.
For my most recent toy project[1], I've gone with:
Storage: SQLite, assuming that in case of seeing actual load I migrate to Postgres. Backend: Flask, I find it a nice tradeoff between features and simplicity. Frontend: Angular, it seemed to bring some sanity to the frontend... But it seems rather bad at keeping backwards compatibility and I'm not sure if the bloat is worth it. [1]: https://github.com/lrem/ladders
Try to learn templating engines like 'pug' and 'stylus', if you haven't. Writing vanilla HTML is getting so old and overly repetitive and they do a good job of making you type a lot less.
And also you should learn packaging to include dependencies by mentioning those in a single file. Parcel bundler has been working very good for me as it is fast (webpack is complicated and not fast) and incremental build is a fraction of a second.
Comments (441) 141 threads
Earlier commentsVue on the front end, Django on the back end. That’s mostly because I know these frameworks quite well. And in the beginning of a project, all I want is an MVP as quickly as possible while maintaining some clean code standards.
I use firebase static hosting for the front end and a dockerized deployment on Heroku for the back end.
Later on, if the project grows and when I break components out into microservices, I may start to worry about other considerations such as performance and resource usage.
Storage: SQLite, assuming that in case of seeing actual load I migrate to Postgres.
Backend: Flask, I find it a nice tradeoff between features and simplicity.
Frontend: Angular, it seemed to bring some sanity to the frontend... But it seems rather bad at keeping backwards compatibility and I'm not sure if the bloat is worth it.
[1]: https://github.com/lrem/ladders
And also you should learn packaging to include dependencies by mentioning those in a single file. Parcel bundler has been working very good for me as it is fast (webpack is complicated and not fast) and incremental build is a fraction of a second.
All comments shown.
Couldn't load more comments. Check your connection and try again.