Truck Driver Management and Trip Tracking App

Description

This Android application helps manage truck driver trips and expenses. Truck drivers can view and accept trips, track trip details, manage expenses, track delivery deadlines, and generate reports. Admins can view trip reports and detailed information about each trip.

Features

  • Driver Dashboard: View and accept trips, track remaining delivery time.
  • Expense Management: Add and view trip expenses.
  • Trip Completion: End trips and generate detailed trip reports.
  • Admin Dashboard: View trip reports, click on report cards for detailed information.

Screenshots

Include screenshots of your app here.

Installation

Steps to get your project up and running:

  1. Clone the repository:
    [git clone (https://github.com/AbelGakuya/CaobaTrucksControl.git)]
  2. Navigate to the project directory:
    cd your-repository
  3. Open the project in Android Studio.
  4. Sync the project with Gradle files.
  5. Build and run the project on an emulator or physical device.

Usage

Driver Dashboard

  1. Sign in to the app.
  2. Navigate to the driver dashboard.
  3. View and accept trips.
  4. Track trip details and manage expenses.
  5. End trips and generate reports.

Admin Dashboard

  1. Sign in to the app.
  2. Navigate to the admin dashboard.
  3. View trip reports.
  4. Click on report cards to view detailed trip information.

Firebase Setup

  1. Set up a Firebase project in the Firebase Console.
  2. Add your Android app to the Firebase project.
  3. Download the google-services.json file and place it in the app directory.
  4. Enable Firestore and Authentication in the Firebase Console.
  5. Update Firestore rules as needed.

Contributing

If you want to contribute to this project, here are some guidelines:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Commit your changes (git commit -m 'Add some feature').
  4. Push to the branch (git push origin feature-branch).
  5. Create a new Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

Abel Mwangi Gakuya - abelgakuya@gmail.com

Project Link: https://github.com/your-username/your-repository