An open API service indexing awesome lists of open source software.

https://github.com/rajsoni06/flight-booking-project

React-based Flight Booking App that allows users to book one-way or return flights with proper date validation and a clean UI.
https://github.com/rajsoni06/flight-booking-project

deployment mern-stack project reactjs

Last synced: about 1 month ago
JSON representation

React-based Flight Booking App that allows users to book one-way or return flights with proper date validation and a clean UI.

Awesome Lists containing this project

README

          

## ✈️ Flight Booking App
A simple and responsive React-based Flight Booking App that allows users to book one-way or return flights with proper date validation and a clean UI.
This project demonstrates core React concepts like component-based structure, form handling, conditional rendering, and state management using hooks.

## 🚀 Features
Book One-Way or Return flights
Live form validation for departure and return dates
Disable booking if invalid input
Simple, intuitive UI without external libraries
Built using Create React App
--
![](https://github.com/user-attachments/assets/5ab12c62-25e5-42f2-b93b-83fcbad02936)
--

## 🛠️ Getting Started
1. Clone the repository
git clone https://github.com/rajsoni06/Flight-Booking-Project.git
cd Flight-Booking-Project

2. Install dependencies
npm install

3. Run the app locally
npm start
Open http://localhost:3000 to view it in your browser. The app will auto-reload on file changes.

## ✅ Booking Rules
For One-Way, only departure date is required
For Return, return date must be equal to or after the departure date
Submit button is disabled unless the form is valid

## 📄 License
This project is open-source and available under the MIT License.

## 🙌 Contributing
Pull requests are welcome! If you'd like to contribute, please fork the repository and use a feature branch.
Issues and suggestions are also appreciated.