Skip to content

Simple User CRUD Boilerplate with Flask, Restplus and Swagger Documentation

Notifications You must be signed in to change notification settings

morshedmasud/flask-rest-api-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask Rest API Boilerplate

Technology used

  • Python3.8
  • Flask
  • Flask-restplus
  • Sqlite

Features

  • JWT Authentication
  • Swagger Documentation
  • User CRUD
  • Unittest

Setup in your local machine

  1. Clone project
git clone https://github.com/morshedmasud/flask-rest-api-boilerplate
  1. Create virtualenv
virtualenv -p python3 venv
  1. Active virtualenv
. venv/bin/activate
  1. Go to project root path and install all dependency
make install
  1. Database migrations
python manage.py db init
python manage.py db migrate --message 'initial database migration'
  1. Database Update
python manage.py db upgrade
  1. Run Application
make run
  1. To Tests
make tests

Open the following url for view swagger documentation

http://127.0.0.1:5000/

About

Simple User CRUD Boilerplate with Flask, Restplus and Swagger Documentation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published