A modern bus booking application built with Angular 18 that allows users to search for bus routes, view available seats, and book tickets online.
- 🔍 Search for bus routes by source and destination
- 📅 Select travel dates with an intuitive calendar interface
- 🚌 View available buses with details like timing, price, and ratings
- 💺 Select seats with interactive seat layout
- 💳 Secure payment integration
- 📱 Fully responsive design for mobile and desktop
- Node.js (v16.x or higher)
- npm (v8.x or higher)
- Clone the repository:
git clone https://github.com/Lagadnakul/Bus-Booking.git
cd Bus-Booking- Install dependencies:
npm install- Start the development server:
npm start- Open your browser and navigate to
http://localhost:4200
- Framework: Angular 18
- UI Library: Bootstrap 5.3.3
- Icons: Font Awesome 4.7.0
- State Management: RxJS
- Testing: Jasmine & Karma
src/
├── app/
│ ├── pages/
│ │ ├── search/ # Search page with filters
│ │ └── booking/ # Seat selection and booking flow
│ ├── services/ # API and data services
│ └── shared/ # Shared components, models and utilities
└── assets/ # Static assets
# Unit tests
npm test
# End-to-end tests
npm run e2eThis project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the project
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request