Ask HN: What is the best back end framework in 2022?
Hey HN,
I want to build and ship a side project really quick. I'm wondering what is the best framework to build a backend fast in 2022?
Second I also want to know what is the best framework to build a backend in Python?
19 comments
[ 3.6 ms ] story [ 63.6 ms ] threadPl use django spectacular for openapi compatible rest api. Will make feont end code gen easier.
If you are interested in something outside of Python then Ruby on Rails also has resources in depth.
- The one you already know
- The one closest to the one you already know
- The new hotness everyone is talking about
I've used next.js for a project which I think qualifies as the new hotness. Once I had to add translations, authentication and do some authorization checks, and make all of this work with SSR, it became a hell of a nightmare and I regretted it so much.
My first side-project I spent several days trying to figure out how to use mongodb with Node, only to give up and just use what I already knew (Django + postgres). These days I build everything with Node, but I learned how to use it at work first.
Nextjs is to a backend framework what a fly is to an airplane.
I wrote a tutorial on it: https://smuzani.medium.com/setting-up-a-mobile-backend-serve...
If you want to do stuff like run code on the back end, then you might want another.