wrmacdonald / gift-app

1 stars 0 forks source link

7 figure out how to do authentication and require it for certain api paths #41

Closed mgnielsen1 closed 2 years ago

mgnielsen1 commented 2 years ago

you'll need to add the param "JWT_SECRET_KEY = 'secret value' to your .env file, it can have any value

mgnielsen1 commented 2 years ago

largely copied from here: https://dev.to/paurakhsharma/flask-rest-api-part-2-better-structure-with-blueprint-and-flask-restful-2n93