Skip to content

Lagadnakul/Bus-Booking

🚌 Bus Booking System

Angular Bootstrap License

A modern bus booking application built with Angular 18 that allows users to search for bus routes, view available seats, and book tickets online.

Bus Booking Demo

✨ Features

  • 🔍 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

🚀 Getting Started

Prerequisites

  • Node.js (v16.x or higher)
  • npm (v8.x or higher)

Installation

  1. Clone the repository:
git clone https://github.com/Lagadnakul/Bus-Booking.git
cd Bus-Booking
  1. Install dependencies:
npm install
  1. Start the development server:
npm start
  1. Open your browser and navigate to http://localhost:4200

🛠️ Tech Stack

  • Framework: Angular 18
  • UI Library: Bootstrap 5.3.3
  • Icons: Font Awesome 4.7.0
  • State Management: RxJS
  • Testing: Jasmine & Karma

📝 Project Structure

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

🧪 Running Tests

# Unit tests
npm test

# End-to-end tests
npm run e2e

📄 License

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

👥 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the project
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

About

A modern Angular-based bus booking system with seat selection, payment integration, and responsive design

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •