Skip to content

🚚 eShift is a modern logistics and fleet management platform designed to streamline operations for transport companies and logistics providers. It solves the challenges of real-time job tracking, driver management, and reporting, providing an intuitive interface for dispatchers, managers, and drivers.

Notifications You must be signed in to change notification settings

Deshan555/eShift-Frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

eShift Frontend

Project Overview

eShift is a modern logistics and fleet management platform designed to streamline operations for transport companies and logistics providers. It solves the challenges of real-time job tracking, driver management, and reporting, providing an intuitive interface for dispatchers, managers, and drivers.

Target Users:

  • Logistics companies
  • Fleet managers
  • Dispatchers
  • Drivers

🚦 Workflow Breakdown

1. Customer Job Creation πŸ“

  • Customers register via the portal and define a new job.
  • A job can include multiple JobStops (one-to-many relationship, e.g., pickup and delivery points).
  • Upon job creation, the backend automatically generates a Trip linked to the job.

2. Admin Job Approval and Trip Assignment βœ…

  • Admins review and approve jobs.
  • Post-approval, admins assign:
    • πŸ—οΈ A Container and 🚚 Truck for the trip.
    • πŸ‘¨β€βœˆοΈ A Driver and optionally an πŸ§‘β€πŸ€β€πŸ§‘ Assistant.
  • The trip is scheduled and marked as START 🚦.

3. Load Creation βš–οΈ

  • Once the trip starts, a Load record is created, capturing:
    • βš–οΈ Weight
    • πŸ“¦ Volume
    • πŸ”’ Start and end meter readings (for tracking distance or fuel usage).

4. Job Completion and Slip Generation 🧾

  • After the job is completed, admins generate a Slip (e.g., delivery receipt, invoice, or proof of completion).

5. Admin Portal Features πŸ› οΈ

  • Custom Management: Manage customers, roles, vehicles, and drivers.
  • Dashboards: πŸ“Š Overview of operations (active trips, pending jobs).
  • Dynamic Reports: πŸ“ˆ Customizable reports for metrics like trip efficiency, driver performance, or job completion rates.
  • Live Map Integrations: πŸ—ΊοΈ Real-time tracking of vehicles or trips, using APIs like Google Maps, Mapbox, etc.

Features

  • Real-time job and trip tracking
  • Interactive dashboard and analytics
  • Driver and vehicle management
  • Invoice generation and reporting
  • Route mapping and optimization
  • Role-based access control (Admins, Assistants, Drivers, etc.)
  • Customizable stops and job paths
  • Secure authentication and authorization

Tech Stack

  • Frontend: Next.js, React
  • Languages: JavaScript, JSX
  • Styling: CSS Modules, Custom CSS
  • State Management: React Context API
  • APIs: RESTful API integration
  • Tools: ESLint, Vercel (deployment)

Installation

git clone https://github.com/Deshan555/eShift-Frontend.git
cd eShift-Frontend/frontend
npm install

Usage

npm run dev

Open http://localhost:3000 in your browser to view the app.

Example:

  • Log in as an admin to access the dashboard and manage jobs.
  • Use the sidebar to navigate between modules (Drivers, Jobs, Reports, etc.).

Configuration

Set up the following environment variables in a .env.local file:

NEXT_PUBLIC_API_BASE_URL=<your_api_url>
NEXT_PUBLIC_MAP_API_KEY=<your_map_api_key>

Adjust other settings in next.config.mjs as needed.

Folder Structure

frontend/
β”œβ”€β”€ public/           # Static assets (images, icons)
β”œβ”€β”€ screenshots/      # Project screenshots
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ components/   # Reusable React components
β”‚   β”œβ”€β”€ pages/        # Next.js pages and API routes
β”‚   └── styles/       # CSS and font files
β”œβ”€β”€ package.json      # Project metadata and dependencies
β”œβ”€β”€ next.config.mjs   # Next.js configuration
└── README.md         # Project documentation

Screenshots


Screenshot 1

Screenshot 2

Screenshot 3

Screenshot 4

Screenshot 5

Screenshot 6

Screenshot 7

Screenshot 8

Screenshot 9

Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository
  2. Create a new branch (git checkout -b feature/your-feature)
  3. Commit your changes
  4. Open a pull request

Guidelines:

  • Write clear, descriptive commit messages
  • Follow the existing code style and structure
  • Ensure all tests pass before submitting

License

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

Contact

About

🚚 eShift is a modern logistics and fleet management platform designed to streamline operations for transport companies and logistics providers. It solves the challenges of real-time job tracking, driver management, and reporting, providing an intuitive interface for dispatchers, managers, and drivers.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published