
Capstone Day 1: Building the To-Do App Task Management API
The Capstone Project Begins Days 26-30 are all about the capstone project : a full To-Do App API built as a team. Today I built the complete Task Management API with authentication and full CRUD operations. The Tech Stack FastAPI - web framework SQLAlchemy - ORM SQLite - database JWT - authentication Pydantic - validation CORS - frontend ready The Data Models class User(Base): id, email, password, created_at class Task(Base): id, title, description, completed, user_id, created_at, updated_at Tasks are linked to users : every user only sees their own tasks. The API Endpoints POST /auth/signup -> Register a new user POST /auth/login -> Login and get JWT token GET /tasks -> Get all tasks for logged-in user POST /tasks -> Create a new task PUT /tasks/:id -> Update or complete a task DELETE /tasks/:id -> Delete a task permanently Postman Tests Signup & Login Create Task Get All Tasks Mark Task as Completed Delete Task Lessons Learned Building a real product feels different from daily exerci
Continue reading on Dev.to Python
Opens in a new tab



