SmartYatra is an innovative Public Transport Digitization System designed to modernize urban bus transit services.
- Introduction
- Problem Statement
- Objectives
- Features
- Installation
- Usage
- Project Structure
- Tech Stack
- Contributing
- License
SmartYatra is an innovative Public Transport Digitization System designed to modernize urban bus transit services. By leveraging real-time technology, the system enhances operational efficiency, reduces delays, and improves the overall passenger experience. SmartYatra includes two key panels:
- Driver Panel: Enables real-time bus tracking, fare management, and route optimization based on live traffic updates.
- Passenger Panel: Provides live bus location tracking, optimal route suggestions, estimated arrival times, and contactless fare payment via QR codes.
Public bus systems often suffer from inefficiencies like uncertain arrival times, poor route optimization, manual fare collection, and a lack of transparency, leading to reduced passenger satisfaction and increased operational costs.
- Real-Time Tracking: Allow passengers to monitor live bus locations.
- Admin Dashboard: Enable transport operators to manage routes, traffic, and fare collection.
- Route Optimization: Suggest alternative routes to drivers based on traffic conditions.
- Digital Payments: Implement QR code-based fare collection to reduce errors.
- Passenger Dashboard: Provide estimated bus arrival times and fare details.
- Dynamic Notifications: Inform passengers of delays or route changes in real-time.
- Data Analytics: Track trends and improve future transport decisions.
- Real-Time Bus Tracking
- Route Optimization
- QR Code Payments
- Live Notifications
- Admin Dashboard
-
Clone the repository:
git clone https://github.com/SmartYatra/smart-yatra-frontend cd smart-yatra-frontend
-
Install dependencies:
pnpm install
-
Run the application:
pnpm dev
The application should now be running on
http://localhost:5173
.
smart-yatra-frontend/
│
├── src/
│ ├── components/ # Reusable components (Header, Footer, SignInForm, etc.)
│ ├── features/ # Feature modules (DriverPanel, PassengerPanel, AdminDashboard)
│ ├── App.tsx # Root application component
│ ├── main.tsx # Application entry point
│ └── ... # Other files and assets
│
├── public/ # Static assets
├── package.json # Project dependencies and scripts
└── README.md # Project documentation
- Frontend: React, TypeScript, React Router
- UI: Tailwind CSS, Lucide Icons
- State Management: Context API, React Hooks
- Build Tool: Vite
Contributions are welcome! To contribute, please:
- Fork the repository.
- Create a new branch with a descriptive name.
- Test changes thoroughly.
- Commit and push your changes.
- Submit a pull request describing your modifications.
This project is licensed under the MIT License. See the LICENSE file for more information.