This is the Task Recommendation Microservice for the TODO application. It provides basic, mock-based task suggestions to enhance user productivity and engagement.
- Python 3.13+
- FastAPI — Web framework for building APIs
- Uvicorn — ASGI server for running FastAPI
- Pydantic — Data validation
todo_recommender/
├── app/
│ ├── api/ # FastAPI endpoints
│ ├── core/ # Settings and config
│ ├── models/ # Pydantic models
│ ├── services/ # Recommendation logic
│ └── main.py # App entrypoint
├── tests/ # Unit tests (optional)
├── Dockerfile # Docker image definition
├── requirements.txt # Pip dependencies
└── README.md # Project documentation
pip install -r requirements.txtuvicorn app.main:app --reloadThe API will be available at:
📍 http://localhost:8000
Returns a mocked list of basic task recommendations.
Query Parameters:
user_id(UUID) — required
curl "http://localhost:8000/recommendations?user_id=<uuid>"Build and run with Docker:
docker build -t todo-recommender .
docker run -p 8000:8000 todo-recommenderCurrently no authentication is enforced. In future versions, JWT + Zero Trust integration is planned.
MIT — see LICENSE file.