Run project
Install dependencies from poetry
poetry install
- Windowns (cmd)
set FLASK_APP=src\app.py
set FLASK_ENV=development
Run database
flask db upgrade
Run app
flask run
Routes
/ -> Hello word
/prod -> List products
/prod/add -> Add products
/prod/delete/<gtin> -> Remove products
/prod/update/<gtin> -> Update products
Notion link