Taskboard API is a RESTful-service for task management. It supports account management (sign up, auth); tasks management (create, edit, remove, find, sort). Easily runnable via Docker.
- Make sure you have Docker installed.
- Clone repository
git clone https://github.com/byhexdev/taskboard.git
cd taskboard- Rename
.env-exampleto.env. - Edit your new
.envfile:- (Optional)
POSTGRES_USER– your database username. POSTGRES_PASSWORD– your database password.SECRET_KEY– your secret key, required to generate safe user authorization tokens.- (Optional)
ACCESS_TOKEN_EXPIRE_MINUTES,REFRESH_TOKEN_EXPIRE_HOURS– the amount of time before token becomes invalid.
- (Optional)
- Run
docker compose
docker compose up -d --build- Done! The API should now be running at
http://127.0.0.1:8000/api/v1.
Docs are available at http://127.0.0.1:8000/docs.
All the tests are written on pytest (using unittest mocks). Tests can be run via docker compose run --rm app pytest -v / pytest -v (requires local installation).