I recently built a small side project that took off on Hackernews and I’m planning to work on it in my free time. I used Django for the initial version because my front end knowledge is very limited. But I’m curious on what is the best front end stack where most of the stuff is taken care of? I’m currently thinking of Next JS vs React + Django. I need server side rendering ,dynamic routes and my app will have lots of charts.
I use Rust for pretty much everything now
Elixir/Phoenix for the backend and APIs. Flutter on the client apps
Next js with react and tailwind css and typescript for front end IMO . It’s a great dev experience and will result in a performant website
If I use next js, does the backend have to be a server side js to get server side rendering or can it be a microservice exposing REST api?
You have two options. You can preprocess the pages into static assets and then serve them via s3, your own web server, or vercel hosting. Or you can run it as a node app and do whatever you need to do at runtime.