An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

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 }

###