Skip to content

This project creates a user-friendly task management system. It allows you to securely log in, manage tasks effortlessly, receive instant notifications, and store data reliably using MongoDB.

Notifications You must be signed in to change notification settings

TechieSamDev/TASK_MANAGEMENT_SYSTEM

Repository files navigation

Task Management API

Introduction

This project provides a simple task management system with user authentication, CRUD operations for tasks, real-time notifications using Socket.IO, and data persistence with MongoDB.

API Documentation

For detailed documentation on the API endpoints, please visit: API Documentation

Static Page for Data Streaming

The project includes a static page for data streaming, accessible at the root route (/).

Setup

Prerequisites

  • Node.js
  • MongoDB

Installation

  1. Clone the repository:

    git clone https://github.com/TechieSamDev/TASK_MANAGEMENT_SYSTEM.git
    cd task-management-system
    
  2. Install Dependencies:

    npm install
    
  3. Setting Environment Variables:

    • If you have access to the env.txt file, copy its contents to a new file named .env. Otherwise, create a new .env file and add the following variables, providing your own values:
      # Example .env file
      NODE_ENV=development
      MONGO_URI_DEV=mongodb://127.0.0.1:27017/task-managemtent-system
      MONGO_URI_PROD=mongodb+srv://username:password@clustername.mongodb.net/task-managemtent-system
      JWT_SECRET_KEY=mysecretkey
      JWT_EXPIRES_IN=1d
    • Please ensure to replace placeholders like username, password, and clustername in the MongoDB URI with your actual credentials.
    • JWT_SECRET_KEY should be replaced with your own secure key.
    • JWT_EXPIRES_IN specifies the expiration time for JWT tokens. You can adjust this value as needed.
    • Contact the project owner for the env.txt file if you don't have access to the env.txt file.
  4. Run the project:

    • For development environment:
      npm run dev
    • For production environment:
      npm run prod

About

This project creates a user-friendly task management system. It allows you to securely log in, manage tasks effortlessly, receive instant notifications, and store data reliably using MongoDB.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published