Skip to content

ANISH-SR/Vodo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Todo Backend API

A RESTful API backend service for managing todo tasks, built with Node.js.

Setup

  1. Clone the repository
  2. Install dependencies:
npm install
  1. Create a .env file with the following variables:
PORT=3000
MONGODB_URI=your_mongodb_connection_string
  1. Start the server:
npm start

API Endpoints

Tasks

  • GET /api/tasks - Get all tasks
  • POST /api/tasks - Create a new task
  • GET /api/tasks/:id - Get a specific task
  • PUT /api/tasks/:id - Update a task
  • DELETE /api/tasks/:id - Delete a task

Request/Response Examples

Create Task

POST /api/tasks
{
  "title": "Complete project",
  "description": "Finish the todo API implementation",
  "dueDate": "2024-01-20",
  "status": "pending"
}

Technologies

  • Node.js
  • Express.js
  • MongoDB
  • Mongoose

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published