This repository was archived by the owner on Sep 14, 2022. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork0
marselester/api-example-based-on-flask
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This repository is used as example Flask project inAPI based on Flask post.
Consider Flask application frommessaging package as deployed onhttps://app.example.com
. You can sign in there as usermarsel(password is123). WSGI application frommessaging_api moduleshould be assumed as deployed onhttps://api.example.com
.
Install requirements and run gunicorn.
$pip install -r requirements.txt$gunicorn -b 127.0.0.1:5000 messaging:app$gunicorn -b 127.0.0.1:8000 messaging_api:app
Sign in onhttp://127.0.0.1:5000
and now you can try to makeauthenticated requests to APIhttp://127.0.0.1:8000/v3/messages/
.
About
API example based on Flask
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published