Skip to content

vansh216/Task_Management_System_Backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

📝 Task Manager App

A full-stack Task Manager application built using the MERN Stack that allows users to manage their daily tasks efficiently with authentication, filtering, and modern UI.


🚀 Tech Stack

Frontend

  • React.js
  • Tailwind CSS

Backend

  • Node.js
  • Express.js

Database

  • MongoDB

✨ Features

🔐 Authentication

  • User Signup
  • User Login
  • JWT-based Authentication

📋 Task Management

  • Add Task
  • Edit Task
  • Delete Task
  • Mark Task as Completed

🔍 Filters & Search

  • Filter by Status (Completed / Pending)
  • Search Tasks
  • Filter by Priority

📅 Advanced Features

  • Add Due Date
  • Sort by Due Date
  • Priority Levels (Low / Medium / High)

🎨 UI/UX

  • Dark Mode Toggle 🌙
  • Fully Responsive Design 📱

📁 Project Structure

server/ │ ├── models/ │ ├── User.js │ └── Task.js │ ├── routes/ │ ├── authRoutes.js │ └── taskRoutes.js │ ├── middleware/ │ └── authMiddleware.js │ ├── config/ │ └── db.js │ ├── .env ├── server.js └── package.json


🗄️ Database Schema

👤 Users Collection

  • _id → ObjectId
  • name → String (required)
  • email → String (required, unique)
  • password → String (hashed)
  • createdAt → Date
  • updatedAt → Date

✅ Tasks Collection

  • _id → ObjectId
  • title → String (required)
  • description → String (optional)
  • status → Pending / Completed
  • priority → Low / Medium / High
  • dueDate → Date (optional)
  • user → ObjectId (ref User)
  • createdAt → Date
  • updatedAt → Date

⚙️ Installation & Setup

Clone Repo

git clone https://github.com/vansh216/task-manager.git

Install Backend

cd server npm install

Install Frontend

cd client npm install


▶️ Run App

Backend: npm start

Frontend: npm run dev


📌 API Endpoints

Auth: - POST /auth/signup - POST /auth/login

Tasks: - GET /tasks - POST /tasks - PUT /tasks/:id - DELETE /api/tasks/:id


📄 License

vansh 216

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors