-
How do I get set up this api? Install python +3.7 and create a virtualenv using pipenv: See here how to.
-
Create and running a virtualenv
user@server:~$ virtualenv flask-jwt-env3 user@server:~$ source flask-jwt-env3/bin/activate
-
Running api App:
(flask-jwt-env3) user@server:~$ FLAKS_APP=app.py (flask-jwt-env3) user@server:~$ flask run
The api will be available on http://0.0.0.0:8080/
A GET request example
curl http://0.0.0.0:8080/ -H "Authorization: Bearer <VALID_TOKEN>"
RESPONSE:
{ "hello": "world" }
dedeco / flask-jwt-firebase Goto Github PK
View Code? Open in Web Editor NEWSample backend validate with firebase authentication