LightWare RESTFUL API
Console commands
To run test: make tests
To run application: make run
To run all commands at once : make all
Migration
-
python manage.py db init
create migration -
python manage.py db migrate
migrate db -
python manage.py db upgrade
upgrade db to current revision -
python manage.py db --help
print help
App URL
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: "Bearer token_generated_during_login"
Coverage & tests
coverage run --source app manage.py test
coverage report