Skip to content

Danidev819/TodoList-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to run this project

  1. Clone this repository
  2. Run npm install
  3. Create a .env file and add the following:
PORT=5000
MONGO_URI=your_mongodb_uri
JWT_SECRET=your_jwt_secret
  1. Run npm run dev
  2. Test the API using Postman or any API testing tool

API Endpoints

Auth

  • POST /api/user/register
  • POST /api/user/login

Todos

  • POST /api/todo
  • PUT /api/todo/:id
  • DELETE /api/todo/:id
  • GET /api/todo

https://roadmap.sh/projects/todo-list-api

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published