FleetFlow is a comprehensive transportation and delivery management system built with modern technologies. It provides robust features for fleet management, driver coordination, delivery tracking, and warehouse operations.
- Driver profile management with license and certification tracking
- Real-time driver status and availability monitoring
- Performance tracking and rating system
- Document management for licenses and certifications
- Comprehensive vehicle tracking and management
- Maintenance scheduling and history
- Vehicle capacity and status monitoring
- Fleet analytics and reporting
- Real-time delivery tracking
- Efficient route planning and optimization
- Package and cargo management
- Delivery status updates and notifications
- Warehouse capacity monitoring
- Storage location management
- Inventory tracking
- Loading/unloading coordination
- Fleet Managers: Overall system administration
- Drivers: Delivery and vehicle management
- Loaders: Warehouse operations
- Customers: Delivery tracking and management
- TBA
- Vite
- Tailwind CSS
- Modern UI/UX design principles
- Go (Golang)
- PostgreSQL
- JWT Authentication
- RESTful API architecture
- Go 1.19 or higher
- Node.js 16.x or higher
- PostgreSQL 13 or higher
- Docker (optional)
- Clone the repository:
git clone https://github.com/yourusername/fleetflow.git
cd fleetflow
- Set up the backend:
cd backend
# Copy environment file
cp .env.example .env
# Install dependencies
go mod download
# Start the server
go run main.go
- Set up the frontend:
cd frontend
# Install dependencies
npm install
# Start development server
npm run dev
- Set up the database:
# Create database and run migrations
cd backend/db/init
psql -U postgres -f schema.sql
- Access the application in your browser:
- Frontend: http://localhost:3000
- Backend: http://localhost:8000
- Adminer: http://localhost:8090
- Swagger UI: http://localhost:8000/swagger/index.html
Login credentials:
System: PostgreSQL
Server: postgres_db
Username: postgres_user
Password: postgres_password
Database: fleetflow
Create a .env
file in the backend directory with the following variables:
DATABASE_URL=postgresql://postgres:password@localhost:5432/fleetflow?sslmode=disable
JWT_SECRET=your_jwt_secret_key
PORT=8000
- POST
/auth/v1/login
: User login - POST
/auth/v1/register
: User registration - POST
/auth/v1/refresh
: Refresh JWT token - POST
/auth/v1/logout
: User logout
- GET
/api/v1/drivers
: List all drivers - POST
/api/v1/drivers
: Create new driver profile - GET
/api/v1/drivers/{id}
: Get driver details - PUT
/api/v1/drivers/{id}
: Update driver profile - DELETE
/api/v1/drivers/{id}
: Delete driver profile
- GET
/api/v1/vehicles
: List all vehicles - POST
/api/v1/vehicles
: Add new vehicle - GET
/api/v1/vehicles/{id}
: Get vehicle details - PUT
/api/v1/vehicles/{id}
: Update vehicle - DELETE
/api/v1/vehicles/{id}
: Delete vehicle
- GET
/api/v1/deliveries
: List all deliveries - POST
/api/v1/deliveries
: Create new delivery - GET
/api/v1/deliveries/{id}
: Get delivery details - PUT
/api/v1/deliveries/{id}
: Update delivery status
- GET
/api/v1/warehouses
: List all warehouses - POST
/api/v1/warehouses
: Add new warehouse - GET
/api/v1/warehouses/{id}
: Get warehouse details - PUT
/api/v1/warehouses/{id}
: Update warehouse information
- JWT-based authentication
- Role-based access control
- Secure password hashing
- Rate limiting
- CORS protection
Run backend tests:
cd backend
go test ./...
Run frontend tests:
cd frontend
npm test
- Real-time GPS tracking
- Mobile application
- Advanced analytics dashboard
- Automated route optimization
- Integration with external mapping services
- Mobile notifications
- Customer mobile app
- Automated dispatch system
- Advanced reporting features
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- SteveCMD - Initial work - SteveCMD
- Thanks to all contributors who have helped shape FleetFlow
- Inspired by modern logistics and transportation needs
- Built with best practices in software development