A complete Employee Resource Planning (ERP) system built using the MERN stack (MongoDB, Express.js, React.js, Node.js) with JWT-based authentication. It supports role-based access (Admin, Manager, Employee) and enables companies to manage employee data, tasks, salaries, and attendance efficiently.
- Frontend: React.js, Axios, React Router
- Backend: Node.js, Express.js, MongoDB, JWT, Bcrypt
- Database: MongoDB (Mongoose ODM)
- Other Tools: Postman, VS Code, Nodemon
- 🔐 Secure Login with JWT
- 👥 Role-based Access (Admin, Manager, Employee)
- 📋 Manage Employees, Tasks, and Attendance
- 💰 Salary Calculation and Management
- 🧾 Employee Joining Reports
- 📈 Dashboard Analytics
- 🔍 Search & Filter Functionality
- 🗒️ Report generation (woking on it)
Make sure you have Node.js, MongoDB, and npm installed.
git clone https://github.com/yourusername/erp-system.git
cd erp-systemcd backend
npm install
npm run devCreate a .env file in the backend folder with:
MONGO_URI=mongodb://localhost:27017/erp
JWT_SECRET=your_jwt_secret
cd ../frontend
npm install
npm startThe app will run at: http://localhost:3000
erp-system/
│
├── backend/ # Express backend
│ ├── routes/
│ ├── models/
│ ├── controllers/
│ └── config/
│
├── frontend/ # React frontend
│ └── src/
│ ├── components/
│ ├── pages/
│ └── utils/
│
├── screenshots/ # Project screenshots
└── README.md
All backend APIs are tested using Postman. Authentication uses JWT tokens for protected routes.
Contributions are welcome! Feel free to fork this repo, open issues, or submit pull requests.
Pratap Majge
📧 pratap.majge@example.com
🌐 LinkedIn
This project is licensed under the MIT License.





