A full-stack application built with React (frontend) and Node.js + Express + MongoDB (backend).
✅ Includes form validations, resume uploads, error handling, and clean UI.
- Refer new candidates (Name, Email, Phone, Job Title, PDF Resume)
- View all referred candidates
- Update candidate status (Pending, Reviewed, Hired)
- Form validations on frontend & backend
- Resume uploads stored on server
- Error handling and user feedback
cd backend
npm install
nodemon server.js
Backend will run on: http://localhost:8000
cd frontend/project
npm install
npm run dev
Frontend will run on: http://localhost:5173
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/candidates | Fetch all candidates |
| POST | /api/candidates | Refer a new candidate |
| PUT | /api/candidates/:id/status | Update candidate status |
- Phone must be 10 digits
- Email must be valid
- Resume must be a PDF
- No authentication implemented
- Files stored locally
- Runs locally only (no deployment)
