
Enterprise drone fleet management system for autonomous operations, mission planning, and real-time monitoring.
Docs for this project is here
demo-fleethq.mp4
- Mission Planning: Interactive map-based flight path creation with waypoint optimization
- Real-time Monitoring: Live fleet tracking with battery levels and mission progress
- Analytics Dashboard: Comprehensive reporting and flight statistics
- Multi-facility Support: Centralized management across multiple locations
- Enterprise Security: Role-based access control with encrypted data management
Frontend: React 18, Vite, TailwindCSS, Zustand, React Router
Backend: Node.js, Express, MongoDB, JWT Authentication
Maps: Interactive mapping for mission planning and tracking
- Node.js 18+
- MongoDB
- npm or yarn
# Clone repository
git clone https://github.com/KartikLabhshetwar/FleetHQ.git
cd FleetHQ
# Install server dependencies
cd server
npm install
# Install client dependencies
cd ../web
npm install
- Create
.env
file in/server
:
MONGODB_URI=mongodb://localhost:27017/fleethq
JWT_SECRET=your-jwt-secret
PORT=5000
NODE_ENV=development
- Create
.env
file in/web
:
VITE_API_URL=http://localhost:5000
VITE_MAPBOX_ACCESS_TOKEN=your-mapbox-access-token
# Terminal 1 - Start backend server
cd server
npm start
# Terminal 2 - Start frontend
cd web
npm run dev
Access the application at http://localhost:5173
FleetHQ/
├── server/ # Express.js backend
│ ├── controllers/ # Route controllers
│ ├── models/ # MongoDB models
│ ├── routes/ # API routes
│ └── middleware/ # Custom middleware
└── web/ # React frontend
├── src/
│ ├── components/ # Reusable components
│ ├── services/ # API services
│ ├── stores/ # Zustand state management
│ └── lib/ # Utilities
└── public/ # Static assets
Method | Endpoint | Description |
---|---|---|
POST | /api/auth/login |
User authentication |
POST | /api/auth/register |
User registration |
GET | /api/drones |
Get all drones |
POST | /api/missions |
Create mission |
GET | /api/missions/:id |
Get mission details |
npm start
- Start production servernpm run dev
- Start development server with nodemon
npm run dev
- Start development servernpm run build
- Build for productionnpm run preview
- Preview production build
The system uses JWT-based authentication with role-based access control:
- Operator: Basic drone operations
- Manager: Mission planning and oversight
- Admin: Full system access
- Fork the repository
- Create feature branch (
git checkout -b feature/amazing-feature
) - Commit changes (
git commit -m 'Add amazing feature'
) - Push to branch (
git push origin feature/amazing-feature
) - Open Pull Request
This project is licensed under apache 2.0 see the LICENSE file for details.