Skip to content

Application to test JSON Web Token based Authentication.

Notifications You must be signed in to change notification settings

nidhinbose89/json_webtoken_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Application

  • Test application using JSON Web Token managed Login.
  • check JWT_ACCESS_TOKEN_EXPIRES and JWT_REFRESH_TOKEN_EXPIRES in config.py
  • JWT_ACCESS_TOKEN_EXPIRES to set the expiration of the token
  • JWT_REFRESH_TOKEN_EXPIRES to set the expiration of refreshed token [/refresh [POST]]

Get environment ready

  • pip install -r requirements.txt

Export configurations into envron

  • export APP_SETTINGS="config.DevelopmentConfig"
  • export DATABASE_URL="postgresql+psycopg2://:@localhost:5432/workout"

run the application

  • ./run.py

TODOs

  • Exceptions handling
  • Model Serialization
  • Mailer via event listner and queuing
  • Unit Tests
  • Code Refactoring

About

Application to test JSON Web Token based Authentication.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published