Skip to content

mhaidarhanif/mytasks-api

MyTasks API

MyTasks logo

MyTasks API

A simple task management API
Try MyTasks API version »

Report bug · Request feature · Author · Company

Features

  • Get all tasks
  • Get one task by id
  • Create new task
  • Search existing task
    • with query
    • with request body

REST API Specification

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

Development

Node.js

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:3000

Access the app on localhost:3000 via:


Production

npm install
npm start

Deployment

Heroku

heroku create
git push heroku master
heroku open

or

Deploy to Heroku


Meta

License

MIT License

Code of Conduct

Contributor Covenant Code of Conduct

About

MyTasks API

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published