References:
https://github.com/jherr/ts-react-testing
https://www.youtube.com/watch?v=bvdHVxqjv80&t=1397s&ab_channel=JackHerrington
https://www.youtube.com/watch?v=oMv2eAGWtZU&ab_channel=TechCheck
Run Code Coverage:
npm test -- --coverage --watchAll
--- make DB migrations ---
flask db init
flask db migrate -m "initial migration"
flask db upgrade
flask db downgrade
--- TODO ---
Fix pytests
Role based authorization on endpoints: https://flask-jwt-extended.readthedocs.io/en/latest/custom_decorators/
Create function to get access token from front end during api call
Create roles for authorization
See if I dont need to create extra access token
Daily Jobs/Tasks
OpenIdConnect: authorization and authentication: https://developer.okta.com/blog/2018/12/20/crud-app-with-python-flask-react
Docker
Deploy on AWS