Skip to content

nancyp321/task-manager-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Task Manager App

Task Manager app is built on NodeJS runtime that performs CRUD operations on users,tasks. Each user has a set of tasks and one user cannot access another user's tasks.

Dependencies

  • Security implemented via JWT(to maintain sessions) and BcryptJS(one way hashable password security).
  • Used npm module sendgrid to send welcome email (on creation of user) and unsubscribe email (on deletion of user)
  • Database: MongoDB and corresponding Mongoose npm module for interaction via code.
  • Robo3T for db manipulations.
  • Multer for file uploads.

Deployment

Usage

To use:

  1. Create a user in Postman by providing the following in body and route: POST {{url}}/users/create
{
  "name":"<Your name>",
  "age":<Age>,
  "email":"<Valid Email>",
  "password":"<password>"
}

This enables user to login. 2. Create a task in a similar manner at POST {{url}}/tasks/create

{
  "description":"<Some description>",
  "completed":false
}
  1. List tasks created by user at GET {{url}}/tasks?completed=false&sortBy=createdAt:desc
  2. Read user info at GET {{url}}/users/me
  3. Update user,Update Task , Delete User,Delete Task

To-Do

  • Enable user to upload profile picture.
  • GUI to interact with

About

Task manager API enabling users to create and keep track of their tasks.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published