Api for todo app
- Open up a terminal, type git clone https://github.com/sarunav/todo-api.git
- cd todo-api
- npm install
- Run node app.js or if you have installed nodemon, run nodemon app
-
For adding a todo: http://localhost:4000/api/todo/add
-
For getting all todos: http://localhost:4000/api/todos
-
For getting a single todo: http://localhost:4000/api/todos/:Id
-
For editing a todo: http://localhost:4000/api/todo/edit/:Id
-
For deleting a todo: http://localhost:4000/api/todo/delete/:Id
Download the frontend file (todo-frontend) to see this api in action.