Skip to content

soheil06791/flask_Restfu_jwt

Repository files navigation

flask_Restfu_jwt

#python 3.8

this is a project to a series pruducts.in this project for authentication used jwt.

open cmd and type git clone https://github.com/soheil06791/flask_Restfu_jwt.git

cd flask_Restfu_jwt

pip install -r requirements.txt

for run app followe commend:

python run.py

you can use postman for api in below is urls in app:

http://127.0.0.1:5000/api/auth/signup

http://127.0.0.1:5000/api/auth/login

http://127.0.0.1:5000/api/auth/logout

http://127.0.0.1:5000/api/products #method post for creat product #method Get for all product

http://127.0.0.1:5000/api/prouducts/

after singup you should be login.

in login you see access token copy that.for create product or see product and logout copy access token in bearer token

yo can see this picture:

https://github.com/soheil06791/flask_Restfu_jwt/blob/master/bearer.PNG

About

this is a project to a series pruducts.in this project for authentication used jwt .

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages