Skip to content

πŸ“… Employee Shift Management App – A full-stack application built with MongoDB, Express.js, React, and Node.js (MERN) to manage employee schedules, shifts, and availability.

License

Notifications You must be signed in to change notification settings

wiseweb-works/mern-employee-shift-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

20 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Employee Shift Management App

Employee Shift Management App is a fullstack web application designed to streamline and centralize employee scheduling. Built with a modern React frontend and an Express/MongoDB backend, the app offers a seamless interface for creating, updating, and tracking employee shifts in a collaborative environment.

Admin Pages

Dashboard (View Mode) Dashboard (Edit Mode)
Create a New Shifts View Statistics
Create a New Team Member View and Edit Team Members

User Pages

Dashboard View Statistics

πŸš€ Features

  • πŸ“… Drag-and-Drop Calendar Interface powered by ScheduleX
  • 🌍 Timezone-Aware Scheduling with moment-timezone
  • πŸ” JWT-based Authentication and Authorization
  • πŸ“Š Interactive Charts and Statistics using Recharts
  • 🧠 Smart Shift Visualization and management tools
  • πŸ’‘ Fully Responsive Design with Tailwind CSS
  • βš™οΈ RESTful API with secure endpoints for user and shift data

🧱 Tech Stack

Frontend

  • React 19 + React Router 7
  • Tailwind CSS 4
  • ScheduleX Calendar Suite
  • Recharts
  • Axios for API communication
  • Vite for blazing-fast development

Backend

  • Express.js (v5)
  • MongoDB + Mongoose
  • JWT for authentication
  • dotenv for environment configuration
  • bcryptjs for password hashing
  • moment-timezone for accurate time tracking

ERD Diagram

πŸ“¦ Installation

Clone the Repository

git clone https://github.com/wiseweb-works/mern-employee-shift-manager.git
cd mern-employee-shift-manager

Backend Setup

cd backend
npm install
cp .env.example .env   # Add your Mongo URI and JWT secret here
npm start

Frontend Setup

cd ../frontend
npm install
npm run dev

✨ What I Learned

While developing this project, I deepened my understanding of:

  • Implementing calendar components with custom drag-and-drop behavior
  • Building fullstack authentication flows using JWT
  • Managing date/time with timezone awareness
  • Creating modular RESTful APIs with Express and Mongoose
  • Styling complex UIs with Tailwind CSS and component libraries

πŸ“š Useful Resources

🀝 Acknowledgments

This project reflects my ongoing journey in building robust and modern web applications. Thanks to the open-source community and tool creators whose work made this possible.

Feel free to fork this project, contribute, or reach out with feedback!

About

πŸ“… Employee Shift Management App – A full-stack application built with MongoDB, Express.js, React, and Node.js (MERN) to manage employee schedules, shifts, and availability.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •