Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 1.62 KB

README.md

File metadata and controls

39 lines (24 loc) · 1.62 KB

Todo-list API ✌️

This project has been created by Nodejs , ExpressJs and Mongodb

javascript logo nodejs logo express logo mongodb logo


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 }