- Use pipenv python version 3.7 before starting ( pipenv --python 3.7). You should have pyenv already installed.
- Set global python version as 3.7 using pyenv
- Create .env file and add "JWT_SECRET_KEY = 'SOME_SECRET'"
- Add environment file to path. "export ENV_FILE_LOCATION=./.env"
Follow instructions here: https://dev.to/paurakhsharma/flask-rest-api-part-0-setup-basic-crud-api-4650