This project has implementation of JWT with Flask App using Mysql, Sqlalchemy, Flask and 12 Factor APP
First of all, you need to create virtual environment for your project. For this you need tool virtualenv
. If you do not have this, it can be installed by running the following command
pip install virtualenv
Now that you have the required tool, we can create isolated environment for our development by executing following commands
python3 -m venv env
source env/bin/activate
Having done with setting with virtual environment, we are ready to install all dependencies.
pip install -r requirements.txt
./run_wit_env.sh env_var.env python run_app.py
- Serving Flask app "Flask Jwt" (lazy loading)
- Environment: production WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
- Debug mode: off
- Running on https://127.0.0.1:5000/ (Press CTRL+C to quit)