Skip to content

CRUD operations based task management Node.js Web API with JSON Web Token authentication

Notifications You must be signed in to change notification settings

mkokor/task-management-node-api

Repository files navigation

Task Management Node.js Web API

This repository contains the source code for a task management Node.js Web API based on CRUD (Create Read Update Delete) operations. The implementation utilizes Express.js as the foundation for a fast and scalable web server and MongoDB for persistent data storage. Authentication is based on JSON Web Tokens, which are used to securely identify users and grant them permissions to manage their own tasks.

Execution

Some features require a set up of .env file.
In application root folder, enter command below to install required packages.

npm install

In server root folder, enter one of the two following commands to run server.

node index.js
npm start

After a successful startup, server endpoints can be accessed on port 3000.

Routes

  • POST /api/authentication/registration
  • POST /api/authentication/login
  • POST /api/authentication/access-token-refresh
  • POST /api/authentication/logout
  • GET /api/tasks
  • POST /api/tasks
  • GET /api/tasks/:id
  • PATCH /api/tasks/:id
  • DELETE /api/tasks/:id

About

CRUD operations based task management Node.js Web API with JSON Web Token authentication

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published