API example based on Flask
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.


API Example based on Flask

This repository is used as example Flask project in API based on Flask post.

Consider Flask application from messaging package as deployed on https://app.example.com. You can sign in there as user marsel (password is 123). WSGI application from messaging_api module should be assumed as deployed on https://api.example.com.

Install requirements and run gunicorn.

$ pip install -r requirements.txt
$ gunicorn -b messaging:app
$ gunicorn -b messaging_api:app

Sign in on and now you can try to make authenticated requests to API