This is a simple seat reservation application built with Angular. It allows users to book seats in a theater-like setting, ensuring that they can only book a specified number of adjacent seats.
- View available seats
- Book between 1 and 7 adjacent seats
- Displays a message for successful bookings or errors
- Angular
- TypeScript
- HTML/CSS
-
Clone the repository:
git clone https://github.com/yourusername/seat-reservation.git
-
Navigate to the project directory:
cd seat-reservation
-
Install the dependencies:
npm install
-
Run the application:
ng serve
-
Open your browser and go to
http://localhost:4200
.
- Select the number of seats you want to book (between 1 and 7).
- Click on the available seats to book them.
- The application will display a message indicating the booked seats or any errors.
Feel free to submit issues or pull requests for improvements or bug fixes.
This project is licensed under the MIT License.