simple phone book with flask with API base and integrated with MySQL
Use the package manager pip to install requires, and run project.
pip install require.txt
first up your MySQL, and set config variable in environment-example.
MYSQL_DATABASE_USER = 'USERNAME'
MYSQL_DATABASE_PASSWORD = 'PASSWORD'
MYSQL_DATABASE_DB = 'MyDB'
MYSQL_DATABASE_HOST = 'LOCALHOST'
you can run project with two way:
run with python:
python app.py
run with flask:
flask run
you can set a host and port to run project.