项目作者: mukesh300
项目描述 :
FLASK REST boilerplate with JWT
高级语言: Python
项目地址: git://github.com/mukesh300/webservice.git
FLASK REST BOILER-PLATE WITH JWT
Want to use this project?
Basics
- Fork/Clone
- Activate a virtualenv
- Install the requirements
Create the tables and run the migrations:
$ python manage.py create_db
$ python manage.py db init
$ python manage.py db migrate
Viewing the app
Open the following url on your browser to view swagger documentation
http://127.0.0.1:5000/
Using Postman
Authorization header is in the following format:
Key: Authorization
Value: "token_generated_during_login"
For testing authorization, url for getting all user requires an admin token while url for getting a single
user by public_id requires just a regular authentication.