AgentManager is a MERN Stack web application that helps Admins manage agents, upload leads via CSV files, and automatically assign tasks to agents in a round-robin fashion.
Agents can log in, view, and manage only their own assigned tasks.
- Secure JWT-based login.
- Add, edit, or view agents.
- Upload CSV files containing leads/tasks.
- Automatically distribute leads to active agents.
- View and manage all assigned tasks.
- Login as an agent.
- View only tasks assigned to the logged-in agent.
- Track task status (Assigned, Completed, etc.).
- Built with Node.js + Express.js + MongoDB.
- Organized routes for
/auth,/agents,/tasks,/upload,/leads. - Uses
multerandcsv-parserfor file uploads. .envfile for environment variables.
| Layer | Technology |
|---|---|
| Frontend | React.js (Vite / CRA) |
| Backend | Node.js, Express.js |
| Database | MongoDB (Mongoose) |
| Auth | JWT (JSON Web Token) |
| File Upload | Multer + CSV Parser |
Follow these steps to run the project locally:
git clone https://github.com/your-username/AgentManager.git
cd AgentManager