https://github.com/arefshojaei/todo-list-api
Todo-list API with Node , Express and Mongodb
https://github.com/arefshojaei/todo-list-api
api back-end expressjs mongodb nodejs rest-api todo-api todo-list-api todolist
Last synced: 4 months ago
JSON representation
Todo-list API with Node , Express and Mongodb
- Host: GitHub
- URL: https://github.com/arefshojaei/todo-list-api
- Owner: ArefShojaei
- Created: 2023-06-12T09:39:44.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-17T14:31:32.000Z (about 2 years ago)
- Last Synced: 2025-01-01T16:27:39.292Z (6 months ago)
- Topics: api, back-end, expressjs, mongodb, nodejs, rest-api, todo-api, todo-list-api, todolist
- Language: JavaScript
- Homepage: https://todo-list-api-666z.onrender.com/api/todos/
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Todo-list API ✌️
This project has been created by Nodejs , ExpressJs and Mongodb
###
![]()
![]()
![]()
![]()
![]()
![]()
![]()
###
How to use it ?
###
1️⃣ npm install
2️⃣ create .env file + adding variables
3️⃣ npm start
4️⃣ use it with routing system like "/api/todos/" + "Request Methods"###
###
###API End Points + Methods
###
🔗 { POST } -- "/api/todos/" -- { Create new todo }
🔗 { GET } -- "/api/todos/" -- { Get all todos }
🔗 { GET } -- "/api/todos/:id" -- { Get todo by ID }
🔗 { PATCH } -- "/api/todos/:id" -- { Update todo by ID }
🔗 { DELETE } -- "/api/todos/" -- { Delete all todos }
🔗 { DELETE } -- "/api/todos/:id" -- { Delete todo by ID }###