Skip to content

Implement todo API - #325

Open
YuriNiShaira wants to merge 1 commit into
Zeff01:mainfrom
YuriNiShaira:Yurisho-Mauricio/1-2-years-backend
Open

Implement todo API#325
YuriNiShaira wants to merge 1 commit into
Zeff01:mainfrom
YuriNiShaira:Yurisho-Mauricio/1-2-years-backend

Conversation

@YuriNiShaira

Copy link
Copy Markdown

Summary

Simple REST API for todo list management with in-memory storage.

Endpoints Implemented

  • GET /api/todos - List all todos
  • GET /api/todos/:id - Get a single todo
  • POST /api/todos - Create a new todo
  • PUT /api/todos/:id - Update a todo
  • DELETE /api/todos/:id - Delete a todo

Features

  • In-memory storage (no database)
  • Basic validation for required fields
  • Error handling for not found and invalid inputs
  • Clean code organization (controllers, routes, middleware)

Testing

  • All endpoints tested and verified using Postman

Tech Stack

  • Node.js
  • Express.js
  • JavaScript

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant