Flask restful API project.
- Python3.8
- Flask
- postgresql
Open your bash or terminal or ZSH then follow the instruction for ru the project in your local development server or somewhere else. Here, the following setup for Mac I think linux should be same.
git clone https://github.com/mbrsagor/flaskRestapi.git
cd flaskRestapi
virtualenv venv --python=python3.8
source venv/bin/activate
pip install -r requirements.txt
python app.py
pip install Flask-SQLAchemy
from models import db
db.create_all()
export FLASK_APP=app.py
export FLASK_ENV=development