A simple task management API
Try MyTasks API version »
Report bug ·
Request feature ·
Author ·
Company
- Get all tasks
- Get one task by id
- Create new task
- Search existing task
- with query
- with request body
| Endpoint | HTTP | Description |
|---|---|---|
/tasks |
GET |
Get all tasks |
/tasks/:id |
GET |
Get one task |
/tasks |
POST |
Create new task |
/tasks |
DELETE |
Destroy all tasks |
/tasks/:id |
DELETE |
Destroy one task |
/tasks/:id |
PUT |
Update one task |
/tasks/search |
GET |
Search task with query |
npm install
npm run dev> mytasks-api@x.y.z dev /home/username/path/to/mytasks-api
> node-dev index
MyTasks API is listening on localhost:3000Access the app on localhost:3000 via:
curl: https://curl.haxx.sehttpie: https://httpie.orgpostman: https://getpostman.cominsomnia: https://insomnia.rest
npm install
npm startheroku create
git push heroku master
heroku openor
