Skip to content

A modern platform for booking professional drivers, managing driver schedules, and handling transportation services with an intuitive user interface and comprehensive admin dashboard.

License

Notifications You must be signed in to change notification settings

Lagadnakul/Car-Drivers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš— Car Drivers Platform

License Issues Version Node

A modern platform for managing car drivers, bookings, and user accounts

Features β€’ Tech Stack β€’ Installation β€’ Documentation β€’ Contributing


πŸ“‹ Overview

Car Drivers Platform is a comprehensive solution designed to streamline the process of finding, booking, and managing drivers. The application consists of three main components: a user-facing frontend, an administrative panel, and a robust backend API.


✨ Features

πŸ–₯️ User Interface

  • Intuitive booking workflow
  • Driver profiles and ratings
  • User dashboard
  • Real-time updates

βš™οΈ Admin Panel

  • Analytics dashboard
  • User/driver management
  • System configuration
  • Advanced reporting

πŸ‘¨β€βœˆοΈ Driver Management

  • Complete driver profiles
  • Background verification
  • Availability tracking
  • Performance metrics

πŸ“… Booking System

  • Smart driver matching
  • Status notifications
  • Calendar integration
  • Secure payments

πŸ› οΈ Tech Stack

Frontend

React Vite TailwindCSS React Router

Backend

Node.js Express MongoDB JWT


πŸš€ Installation

Prerequisites

  • Node.js v18+
  • MongoDB 4.4+
  • npm 8.x+

Quick Start

# Clone the repository
git clone https://github.com/Lagadnakul/Car-Drivers.git
cd Car-Drivers

# Install dependencies for all modules
npm run setup

# Start development servers
npm run dev
Manual Setup

Backend

cd backend
npm install
cp .env.example .env  # Configure your environment variables
npm run dev

Frontend

cd frontend
npm install
npm run dev

Admin Panel

cd admin/Car-driver
npm install
npm run dev

πŸ”§ Configuration

Create a .env file in the backend directory with the following variables:

PORT=5000
MONGODB_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret_key
IMAGEKIT_PUBLIC_KEY=your_imagekit_public_key
IMAGEKIT_PRIVATE_KEY=your_imagekit_private_key
IMAGEKIT_URL_ENDPOINT=your_imagekit_url_endpoint

πŸ“ Project Structure

Car-Drivers/
β”œβ”€β”€ frontend/             # User-facing application
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ components/   # UI components
β”‚   β”‚   β”œβ”€β”€ pages/        # Application views
β”‚   β”‚   β”œβ”€β”€ hooks/        # Custom React hooks
β”‚   β”‚   └── services/     # API services
β”œβ”€β”€ admin/                # Administration panel
β”‚   └── Car-driver/
β”‚       └── src/          # Admin application code
└── backend/              # API server
    β”œβ”€β”€ controllers/      # Route controllers
    β”œβ”€β”€ models/           # Database models
    β”œβ”€β”€ routes/           # API endpoints
    └── middleware/       # Express middleware

πŸ“– Documentation

API documentation is available at /api/docs after starting the backend server.

API Endpoints
Method Endpoint Description
POST /api/auth/register Register a new user
POST /api/auth/login User login
GET /api/drivers List all drivers
POST /api/bookings Create new booking
GET /api/users/profile Get user profile

πŸ“± Screenshots

Coming soon

πŸ›£οΈ Roadmap

  • Payment gateway integration
  • Real-time notifications
  • Driver location tracking
  • Mobile applications (iOS/Android)
  • Advanced analytics dashboard

🀝 Contributing

Contributions are welcome! Please check out our contribution guidelines.

  1. Fork the repository
  2. Create your feature branch: git checkout -b feature/amazing-feature
  3. Commit your changes: git commit -m 'Add some amazing feature'
  4. Push to the branch: git push origin feature/amazing-feature
  5. Open a pull request

πŸ“„ License

This project is licensed under the MIT License.


πŸ“¬ Contact


Made with ❀️ by Your Name

About

A modern platform for booking professional drivers, managing driver schedules, and handling transportation services with an intuitive user interface and comprehensive admin dashboard.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages