Skip to content

Backend API for CRUD Operation of Tasks with cache functionality for faster query of data

License

Notifications You must be signed in to change notification settings

vivekiet22/task-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

task-manager-for-user

License: MIT Hits

Demo Of Backend API

IMAGE ALT TEXT HERE

Objective of the project

  1. Create a CRUD based operation for task entries where you will be doing all the CRUD operations regarding a task
  2. The schema for a particular task can be name, description, assignee, createdAt, expireOn, completed: boolean
  3. A user must signup to get an API key which then they will use to add/edit/delete/update any task (only created by them) using the backend
  4. There should also be cache added for faster querying of user's task list data

Getting Started

Install Dependencies

npm install

Run The Backend from Root Directory

node index.js

Build With

  • Express.js
  • jsonwebtoken
  • memory-cache
  • mongoose
  • validator

End Points

For User Login/Register

  • '/user/register' - For Registration of User
  • '/user/login' - For Login

For Task CRUD (include x-auth-token in header) Login Required

  • '/task/create' - create task (include)
  • '/task/fetchall' - fetch all task of logged in user
  • '/task/updatetask/:id' - update task by it's id
  • '/task/deletetask/:id' - delete task by id

Contributing

Everyone is welcomed to contribute to this project. You can contribute either by submitting bugs or suggesting improvements by opening an issue on GitHub. Please see the CONTRIBUTING guidelines for more information.

Packages

No packages published