Skip to content

madalinpopa/praetorian-token-exemple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example of using flask-praetorian extension

This is a simple example of of usage of flask-praetorian extension with flask.

Within this example I have used sqlalchemy.orm instead of Flask-SQLAlchemy.

Instalation

  1. Clone the repository
  2. Create an .env file with SECRET_KEY
  3. Create an .flaskenv file with the following variables
    • FLASK_APP=wsgi
    • FLASK_ENV=development
  4. Run the following pip install -r requirements.txt
  5. Run the application flask run

About

This is an example of flask-praetorian extension usage.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages