Don't worry about your deployment being directly related to your dev environment. That's a good goal, but most people make do without it.
You can use Vagrant or Docker[1] locally and then deploy somewhere easy like Render.com[2][3].
Since you're new to fullstack, you may have an easier time with Next.js (definitely use the TypeScript option) because then you're only learning/using a single language in a single repository for both frontend and backend.
You can use Vagrant or Docker[1] locally and then deploy somewhere easy like Render.com[2][3].
Since you're new to fullstack, you may have an easier time with Next.js (definitely use the TypeScript option) because then you're only learning/using a single language in a single repository for both frontend and backend.
1. https://blog.miguelgrinberg.com/post/how-to-dockerize-a-reac...
2. https://render.com/docs/deploy-flask
3. https://render.com/docs/deploy-create-react-app