This project is a web-based Hub Management System designed to streamline the management of vehicles, tasks, team members, and reporting processes efficiently.
- Vehicle States Management: Monitor and update vehicle states such as RTD (Ready to Deploy), Service, Missing, and Deployed.
- Vehicle Entry Recording: Record entries for vehicles transitioning to RTD and Service states.
- Task Allocation: Enable manual creation and assignment of tasks to hub team members.
- Hub Team Profile Management: Manage team member roles and permissions based on job functions.
- Reporting: Generate detailed reports for:
- Service TAT: Track service turnaround times.
- Hub TAT: Analyze hub performance metrics.
- Node.js (v16+)
- MongoDB
- Postman (for API testing)
-
Clone the repository:
git clone https://github.com/Jash2606/Hub-Management-System.git cd Hub-Management-System
-
Install dependencies:
npm install
-
Set up environment variables:
- Copy the provided
.env.example
file to.env
:cp .env.example .env
- Configure the variables in the
.env
file:PORT=5000 MONGO_URI=your_mongo_connection_string JWT_SECRET=your_jwt_secret JWT_EXPIRES_IN=your_jwt_expire_time
- Copy the provided
-
Start the server:
npm start
Detailed API documentation is available via Postman. Use the following link to access the collection:
- Postman API Documentation: https://documenter.getpostman.com/view/33555544/2sAYBYfAGp
- Backend: Node.js, Express.js
- Database: MongoDB
- Authentication: JSON Web Tokens (JWT)
- Implement advanced reporting features for detailed analytics.
- Add real-time notifications for task updates and status changes.
- Integrate a frontend dashboard for an intuitive user experience.