A full-stack EMS application supporting admin and employee role authentication.
- Finish JWT Authentication
- Admin with 4 pages: Dashboard, Employees, Department, Leave Request (only FE)
- Haven't touched role-based authentication yet
Required:
- Bun runtime
- PostgreSQL database
- Clone the repository:
git clone https://github.com/ducnguyenNOPRO/Employee-Management-System.git- Install dependencies at root,
packages/client, andpackages/server:
bun installAt root:
bun run devAt packages/client or packages/server:
bun run devbunx prisma studio| Category | Endpoint | Method | Description |
|---|---|---|---|
| Auth | /api/auth/signin |
POST | Sign in |
| Auth | /api/auth/signout |
POST | Sign out |
| Auth | /api/auth/signup |
POST | Sign up |
| Auth | /api/auth/refresh |
POST | Refresh access token |
| User | /api/users/me |
GET | Get current user |
This project was created using bun init in bun v1.3.5. Bun is a fast all-in-one JavaScript runtime.