Inside the root folder, provide a .env file with the following contents:
FLASK_APP=app.app
FLASK_ENV=development || production || testing
JWT_SECRET_KEY="your_secret_jwt_string"
DATABASE_URL=your_database_URI (only needed if FLASK_ENV=production)
From the vertech-email-backend folder:
python3 -m venv .venv
. .venv/bin/activate
pip install -r requirements.txt
From the vertech-email-backend folder:
. .venv/bin/activate
flask db init
flask db migrate
flask db upgrade
From the vertech-email-backend folder:
flask run --debug
You can go to http://localhost:5000/api/swagger-ui for a full documentation in the api