A simple todo application built with Python using Flask and SQLite.
This project uses poetry
for managing python dependencies.
-
Clone repository
-
Install Python Poetry
brew install poetry
Following commands should be run from inside cloned directory
- Install dependencies
Please setup a virtualenv before installing packages
poetry install
- Setup database
env FLASK_APP=todo_api/api FLASK_ENV=development python -m flask db upgrade
- Start application
env FLASK_APP=todo_api/api FLASK_ENV=development python -m flask run
The project uses pytest for testing
pytest --cov ./todo_api
Open API specs in OpenAPI