Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 1010 Bytes

File metadata and controls

53 lines (35 loc) · 1010 Bytes

Task Manager API

This is a REST API for a task/todo manager web application, built with Node.js, Express, and MongoDB.

Features

  • CRUD API for tasks
  • User accounts and authentication
  • Task assignment, status updates, priority, etc
  • Filter and search tasks
  • Custom tags and organization
  • Email notifications
  • API token authentication
  • Rate limiting to prevent abuse

Usage

Install

npm install

Configure

Copy .env.example to .env and update with your MongoDB database URI and JWT secret key.

Run

npm start

Server will be running on http://localhost:5000

API Reference

Accounts

  • POST /accounts - Register new user
  • POST /accounts/login - Login and receive an auth token

Tasks

  • GET /tasks - List all tasks for user
  • POST /tasks - Create new task
  • GET /tasks/:id - Get single task
  • PUT /tasks/:id - Update task
  • DELETE /tasks/:id - Delete task

License

This project is open source and available under the MIT License.