A server-side web application to manage employee records and calculate monthly payroll efficiently.
Built using Node.js, Express.js, and EJS, this project demonstrates backend development concepts like CRUD operations, file handling, and server-side rendering.
- 📊 Dashboard to view all employees
- 💰 Automatic payroll calculation
- Tax (12%)
- Net Salary
- ➕ Add new employees
- ✏️ Edit employee details
- ❌ Delete employee records
- 💾 Data stored in JSON file
- 🔐 Input validation
- Node.js
- Express.js
- EJS
- fs.promises (File System)
payroll-app/
├── modules/
│ └── fileHandler.js
├── public/
│ └── style.css
├── views/
│ ├── index.ejs
│ ├── add.ejs
│ └── edit.ejs
├── employees.json
└── server.js
- Clone the repository
git clone https://github.com/your-username/payroll-app.git
- Navigate to project folder
cd payroll-app
- Install dependencies
npm install
- Run the server
node server.js
- Open in browser
http://localhost:3000
- CRUD operations
- Server-side rendering (EJS)
- File handling using fs.promises
- Data validation
- Unique ID generation (Date.now())
- Search and filter employees
- Database integration (MongoDB)
- Authentication system
- Admin dashboard
Nomita Singh
B.Tech CSE Student
If you found this helpful, give it a ⭐ on GitHub!