Govindha Marg is a comprehensive web-based bus ticketing system designed specifically for devotees traveling between Tirumala and Tirupati. This platform provides an intuitive interface for booking bus tickets, managing bookings, and accessing travel services with role-based access for users and staff.
- Role-Based Access - Separate interfaces for users and staff
- Real-time Booking - Instant booking confirmation with QR codes
- Multiple Booking Types - One-way, round-trip, and special packages
- Secure Authentication - Local storage-based user management
- Responsive Design - Works perfectly on all devices
- One-Way Booking - Tirumala ↔ Tirupati single journey
- Two-Way Booking - Round trip packages
- Flexible Routes - Multiple route options
- Seat Management - Visual booking interface
- Instant QR Generation - Automatic QR code for each booking
- Mobile Scanning - QR scanner for ticket validation
- Offline Access - Downloadable tickets
- User Registration - Simple signup process
- Staff Portal - Dedicated admin interface
- Secure Login - Role-based authentication
- Profile Management - Personal details storage
- Booking History - Track all past bookings
- Real-time Updates - Instant booking confirmations
- Responsive Design - Mobile-first approach
- Video Background - Engaging login experience
| Technology | Purpose |
|---|---|
| HTML5 | Semantic markup structure |
| CSS3 | Modern styling with animations |
| JavaScript | Dynamic functionality |
| Local Storage | Client-side data persistence |
| Responsive Design | Mobile-first approach |
- Modern web browser (Chrome, Firefox, Safari, Edge)
- No server setup required - runs entirely in browser
-
Clone or Download
# Simply download all files and open index.html # No installation required
-
Open in Browser
# Open index.html directly in your browser # Or use any local development server
-
First Time Setup
- Open
index.htmlto access login page - Click "Sign up here" to create your first account
- Choose role: User or Staff
- Start booking tickets immediately
- Open
govindha-marg/
├── 📄 index.html # Login page with video background
├── 📄 signup.html # User registration page
├── 📄 nav.html # User dashboard/navigation
├── 📄 staffindex.html # Staff dashboard
├── 📄 bookings.html # Booking management
├── 📄 bookticket.html # Ticket booking interface
├── 📄 scanner.html # QR code scanner for staff
├── 📄 qr_*.html # QR code generation pages
├── 📄 booking_*.html # Route-specific booking pages
├── 📄 account.html # User account management
├── 📄 admin.html # Admin panel
├── 📄 styles.css # Main stylesheet
├── 📄 index.css # Login page styles
├── 📄 main.js # Core JavaScript functionality
├── 📄 chatbot.js # AI chatbot assistant
├── 📄 common.js # Shared utilities
├── 📁 images/ # Project assets
├── 📄 loginvideo.mp4 # Background video for login
└── 📄 README.md # Project documentation
- Register - Visit
signup.htmlto create account - Login - Use
index.htmlwith your credentials - Book Tickets - Navigate through booking interfaces
- View QR - Access your booking QR codes
- Manage Account - Update profile and view history
- Staff Login - Use
index.htmland select "Staff" role - Dashboard - Access
staffindex.htmlfor management - Scan Tickets - Use
scanner.htmlfor QR validation - Manage Bookings - View and manage all bookings
- Users: Stored in
localStorage.usersas JSON array - Bookings: Stored in
localStorage.bookingsas JSON array - Session: Managed via
sessionStorage.loggedInUser
index.html- Main login with video backgroundmain.js- Core booking and user management logicstyles.css- Consistent styling across all pagesscanner.html- QR code scanning functionality
Contributions are welcome! This is a client-side project, so you can:
- Improve UI/UX design
- Add new booking features
- Enhance QR code functionality
- Optimize for mobile devices
- Add new route options
This project is open-source and available under the MIT License.
