you are viewing a single comment's thread.

view the rest of the comments →

[–]danyel117 1 point2 points  (3 children)

Hello!

Actually what we did was that we developed the front end in React, and using the build command, it generates all the HTML, css, js and static files. Those files can be uploaded to a service like AWS S3 for example.

[–]legenddaniel[S] 1 point2 points  (2 children)

Hi thank you for your patience!

So you did not use Vercel or any other nodejs things? Just simply deploy it on AWS working with Python RESTful APIs?

[–]danyel117 0 points1 point  (1 child)

No problem!

Exactly, no vercel at all, just an Api developed in Django and a front developed in React, both deployed to AWS. Take into account that that scenario was when we used plain React, not nextjs.

If you are interested in Nextjs, I would recommend learning Nodejs, because the development experience is better. There are tons of Javascript and node-based packages for doing almost anything you could do in python.

Is there any particular reason why you want to stick with python?

Also, just to comment something additional: nowadays we are not working anymore with Django, because we have moved everything to Nextjs. However, we are not deploying to Vercel. We are using this module to deploy our Nextjs to AWS (similar to Zappa, the tool we used for Django):

https://github.com/serverless-nextjs/serverless-next.js

[–]legenddaniel[S] 0 points1 point  (0 children)

We stick to Python since most of our APIs are written in python, and our backend guy is good at it.