- Test application using JSON Web Token managed Login.
- check
JWT_ACCESS_TOKEN_EXPIRES
andJWT_REFRESH_TOKEN_EXPIRES
inconfig.py
JWT_ACCESS_TOKEN_EXPIRES
to set the expiration of the tokenJWT_REFRESH_TOKEN_EXPIRES
to set the expiration of refreshed token [/refresh [POST]]
- pip install -r requirements.txt
- export APP_SETTINGS="config.DevelopmentConfig"
- export DATABASE_URL="postgresql+psycopg2://:@localhost:5432/workout"
- ./run.py
TODOs
- Exceptions handling
- Model Serialization
- Mailer via event listner and queuing
- Unit Tests
- Code Refactoring