A sample project to built Restful API using python and flask
Use the package manager pip to install the required dependencies
pip install -r requirements.txt
-
Make a config file by copying the configuration sample in
./instance/config.py.sample
to./instance/config,py
-
Modify the database configuration in
./instance/config.py
-
Migrate the database by running the following command
flask db init flask db migrate flask db upgrade
-
Start Flask application in development mode
:: For Windows set flask_config=development set flask_env=development set flask_app=run.py flask run
# For Linux/UNIX Shell export flask_config=development export flask_env=development export flask_app=run.py flask run
Coming Soon.