FastX is a role-based bus ticket booking platform built with React, enabling passengers, bus operators, and administrators to manage bookings, routes, buses, refunds, and profiles through a secure and responsive interface.
The application supports JWT authentication, Google OAuth login, seat selection, wallet-based booking flow, refund management, booking confirmation emails, PDF e-ticket generation, and role-based dashboards.
- JWT Authentication
- Refresh Token Mechanism
- Google OAuth Login
- Role-Based Access Control (
PASSENGER,OPERATOR,ADMIN) - Protected Routes
- Profile Completion Flow for OAuth Users
- Password Update Support
- Signup & Login
- Google OAuth Authentication
- Search Available Buses
- Seat Selection
- Ticket Booking
- Booking Checkout Flow
- Booking Confirmation Modal
- Booking History Management
- Active & Past Bookings
- Wallet-Based Booking Flow (Mock)
- Profile Management
- Refund Request System
- Booking Confirmation Email
- PDF E-Ticket Generation
- Dashboard Analytics
- Bus Management (CRUD)
- Route Management (CRUD)
- Booking Management
- Booking Details Modal
- Refund Approval / Rejection
- Booking Cancellation
- Profile Management
- Password Management
- Dashboard Overview
- Passenger Management
- Operator Management
- Route Management
- Booking Oversight
- Delete Operations
- Fully Responsive Design
- Mobile & Desktop Support
- Toast Notifications
- Modal-Based Workflows
- Role-Based Dashboard Navigation
- React
- Redux Toolkit
- React Router DOM
- Tailwind CSS
- Axios
- React Toastify
- Vite
- Spring Boot REST APIs
- JWT Authentication
- Google OAuth2 Login
- Email Service
- PDF Generation Service
FastX supports both local authentication and Google OAuth login.
Passengers can search buses, book seats, manage profiles, track bookings, request refunds, and receive e-ticket confirmations.
Passengers can search buses based on route and travel details.
Passengers can manage and track bookings.
Google OAuth users complete profile setup after authentication.
Passengers can edit profile information and update password.
Detailed ticket information with booking details.
Passengers can choose available seats before booking.
Wallet-based booking flow for ticket confirmation.
Confirmation after successful booking.
Passengers receive booking confirmation through email.
Generated PDF ticket after successful booking.
Update passenger details.
Passengers can request refunds for bookings.
Bus operators manage buses, routes, bookings, refunds, and operational analytics.
Overview of operational data and statistics.
Detailed booking information for operators.
Operators can manage buses.
Modal for creating or updating bus information.
Manage travel routes and schedules.
Modal for route management.
Manage booking records.
Approve or reject passenger refund requests.
Confirmation for delete actions.
Approve refund requests.
Administrators manage platform-wide data and system operations.
High-level system overview.
Manage registered passengers.
Manage bus operators.
View and manage booking data.
Manage routes across the platform.
FastX supports three user roles:
- Search buses
- Book tickets
- Select seats
- Manage bookings
- Request refunds
- Manage profile
- Wallet-based booking
- Manage buses
- Manage routes
- Handle refunds
- View bookings
- Cancel bookings
- View dashboard statistics
- Manage passengers
- Manage operators
- Manage routes
- Monitor bookings
- Platform oversight
The application is designed to support both desktop and mobile devices with responsive layouts for authentication, dashboards, and booking workflows.
git clone <repository-url>
cd FastX-Frontendnpm installnpm run devApplication will start on:
http://localhost:5173This frontend requires the FastX backend server to be running for authentication, booking, routes, refunds, and dashboard operations.
- Online Payment Gateway Integration
- Real-Time Bus Tracking
- Push Notifications
- Seat Layout Enhancements
- Booking Analytics Improvements
- Dark Mode Support
- React Development
- Redux Toolkit State Management
- Role-Based UI Architecture
- Authentication & Authorization Flows
- Google OAuth Integration
- Responsive UI Development
- API Integration
- State Management
- Booking Workflow Design
- Dashboard Development
- Modal-Based UI Patterns
- Tailwind CSS Styling
































