A full-stack Employee Management CRUD application built with Angular and deployed to production.
This project demonstrates modern frontend architecture, REST API integration, environment configuration, and cloud deployment.
- 🔵 Frontend (Vercel): https://crud-employees-angular.vercel.app/
- 🟢 Backend API (Render): https://employees-api-ng96.onrender.com/employees
- ✅ Create new employees
- ✅ View paginated & sortable employee list
- ✅ Update employee details
- ✅ Delete employees
- ✅ Responsive UI using Angular Material
- ✅ RESTful API integration
- ✅ Environment-based configuration (Dev / Production)
- ✅ Cloud deployment (Vercel + Render)
- Angular
- Angular CLI
- Angular Material
- TypeScript
- RxJS
- HTTPClient
- JSON Server (Mock REST API)
- Hosted on Render
- Vercel (Frontend Hosting)
- Render (Backend Hosting)
src/
├── app/
├── environments/
│ ├── environment.ts
│ └── environment.prod.ts
└── assets/
Environment configuration automatically switches between:
- Local API →
http://localhost:3000 - Production API → Render hosted backend
git clone https://github.com/hassenkhrouf/crud-employees-angular.git
cd crud-employees-angularnpm installnpx json-server --watch db.json --port 3000Backend runs at:
http://localhost:3000
ng serveOpen:
http://localhost:4200
To build the production version:
ng build --configuration productionAngular automatically uses environment.prod.ts for the production API URL.
Endpoint:
/employees
Sample Employee Object:
{
"id": "string",
"firstName": "string",
"lastName": "string",
"email": "string",
"dob": "date",
"gender": "string",
"education": "string",
"company": "string",
"experience": "number",
"package": "number"
}- Component-based architecture
- Angular Material UI integration
- REST API consumption
- CRUD operations
- Environment configuration
- Cloud deployment workflow
- Git version control
- Authentication (Login/Register)
- Backend pagination
- Search & filtering
- Replace JSON Server with Express or Spring Boot
- Docker support
Hassen Khrouf
Full Stack Developer (Angular + Spring Boot)