Pipelinen parannuksia building blockeilla
This commit is contained in:
30
zipit/loop_runs/v3_docker/requirements
Normal file
30
zipit/loop_runs/v3_docker/requirements
Normal file
@@ -0,0 +1,30 @@
|
||||
**PROJECT NAME:** TodoSovellus
|
||||
|
||||
**GOAL:** To create a simple task management application for individuals to keep track of their daily tasks and manage them efficiently.
|
||||
|
||||
**CORE FEATURES:**
|
||||
1. Create new todos with title, description, due date, and status.
|
||||
2. Read (view) all todos and filter by status (e.g., pending, completed).
|
||||
3. Update existing todos to change details like title, description, due date, or status.
|
||||
4. Delete todos that are no longer needed.
|
||||
5. Mark todos as completed or pending.
|
||||
6. View the total number of todos and count by status.
|
||||
|
||||
**DATA MODEL:**
|
||||
1. **Todo**
|
||||
- id (integer, primary key)
|
||||
- title (string)
|
||||
- description (text)
|
||||
- due_date (date)
|
||||
- status (enum: "pending", "completed")
|
||||
|
||||
**API ENDPOINTS:**
|
||||
1. **POST /todos** - Create a new todo
|
||||
2. **GET /todos** - Retrieve all todos, optionally filter by status
|
||||
3. **GET /todos/{id}** - Retrieve a single todo by ID
|
||||
4. **PUT /todos/{id}** - Update an existing todo
|
||||
5. **DELETE /todos/{id}** - Delete a todo
|
||||
|
||||
**CONSTRAINTS:**
|
||||
- Must use SQLite as the database.
|
||||
- No authentication is required for accessing endpoints.
|
||||
Reference in New Issue
Block a user