This services implemented on top of FastAPI and
asynchronous mongodb connector Motor.
Service stores in MongoDB todos. Every saved in db todo holds "order" (priority) field.
The order of todos is handled by sorting by this "priority" value.
This approach has its side effects, but is simple enough.
-handle edge cases and add more statuses code.
-tune pydantic model and db model, to do less converting (ObjcetId and _id custom encoder)
bash build_docker_image.sh
Edit docker-compose.yml (line 25) to point to existing path in your pc
docker-compose up -d
docker-compose logs -f
docker-compose down