Question

How to setup django and react project using mysql database on digitalocean server

Posted April 2, 2021 118 views
MySQLPythonDjangoReact

Kindely help me to setup django and react project using mysql database on digitalocean server. i am first time use digitalocean and facing these problems.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
1 answer

Hi there,

What I could suggest is following this tutorial here on how to setup Django with MySQL on DigitalOcean:

https://www.digitalocean.com/community/tutorials/how-to-create-a-django-app-and-connect-it-to-a-database

Regarding the React setup, I would recommend following the steps from this tutorial here:

https://www.digitalocean.com/community/tutorials/how-to-set-up-a-react-project-with-create-react-app

Hope that this helps!
Regards,
Bobby

by Jeremy Morris
In this tutorial, you will learn how to set up the initial foundation for a blog website with connections to a MySQL database. This will involve creating the skeleton structure of the blog web application using django-admin, creating the MySQL database and then connecting the web application to the database.