react-tem-22
v1.0.3
Published
React template generator
Maintainers
Readme
Employee Management System (EMS)
Simple React app for a machine test covering registration, login, dashboard, employee CRUD with auto salary, and admin user management.
Run
npm install
npm run devOpen the URL shown in the terminal (usually http://localhost:5173).
Default Admin
- Username:
admin - Password:
admin123
Features
| Module | Details | |--------|---------| | Registration | Username, password, confirm password, email, mobile, role | | Login | Redirect to dashboard on success; error on failure | | Dashboard | Employee Management, User Management (Admin), Logout | | Employees | Create / Update / Delete / View + auto salary | | Salary | DA 10%, HRA 20%, PF 12%, PTAX 200 | | Users (Admin) | Create / Edit / Delete / Activate / Deactivate | | Validation | Client-side with clear field errors |
Data storage
Data is stored in browser localStorage (no backend required):
USR_MASTER— usersEMP_MASTER— employees
Passwords are stored as SHA-256 hashes.
