Flask Rest API Boilerplate
- Python3.8
- Flask
- Flask-restplus
- Sqlite
- JWT Authentication
- Swagger Documentation
- User CRUD
- Unittest
Setup in your local machine
- Clone project
git clone https://github.com/morshedmasud/flask-rest-api-boilerplate
- Create virtualenv
virtualenv -p python3 venv
- Active virtualenv
- Go to project root path and install all dependency
- Database migrations
python manage.py db init
python manage.py db migrate --message 'initial database migration'
- Database Update
python manage.py db upgrade
- Run Application
- To Tests
Open the following url for view swagger documentation
http://127.0.0.1:5000/