REST API using Python and the FastAPI framework, with MySQL databases
Have your web server (Apache, Nginx) and MySQL database server active, first of all. Provide the correct connection string to your database in /config/db.py
.
Create a virtual environment: python -m virtualenv venv
(activate it). Then, run: pip install -r requirements.txt
and finally, run the following command: uvicorn app:app --reload