A simple and fully functional MERN Stack Employee Management System that helps manage employees, leaves, roles, and more.
Some Pictures of Employee Dashboard

To manage employees
(Admin / Employee)
With MongoDB & Express
- Frontend: React, Axios, React Router, TailwindCSS
- Backend: Node.js, Express.js, MongoDB, Mongoose
- Auth: JWT (JSON Web Token)
Use the git clone command:
git clone https://github.com/ahmedmaajid/Employee-Management-System.git
cd EMSOpen two Command Prompts inside the project, in the first one backend
Run this command
cd employee-management-backend
npm install
In the second one
cd employee-management-backend
run npm install
Inside the Backend folder, create a
.envfile and add
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_secret_key
PORT=5000
Before using the app, create the first admin account.
cd employee-management-backend
npm run seed-admin
This will create an initial admin credential in your MongoDB database You can sign in by using this credits.
Email: admin@gmail.com
Password: admin123
Now run this command on your first command prompt (The one for backend)
npm start
Now run this command on your second cmd (The one for Frontend)
npm run dev
Then in your browser
Pull requests are welcome For major changes, please open an issue first to discuss what you’d like to improve.
If you found this project helpful, please star this repository to support open-source development.



