This repository contains the frontend for a flight booking application. The backend can be found here. The application is built using React JS, with state management via React Hooks, and styled entirely with SCSS.
- Ensure you have the following installed on your system:
- Node version: v16.20.2
nvm install v16.20.2
nvm use v16.20.2
- Clone the repository and open it in your preferred development environment (e.g., VS Code).
- Open the terminal in your editor and run:
npm install
to install all the node packages and dependencies frompackage.json
.npm start
to start the server.
- Enter Details: Input the origin, destination, and date for your flight.
- View Results: Wait for the search results.
- Choose Flight: Select the flight you want to book.
- Enter Personal Details: Provide your name, email, and phone number.
- Note: Ensure your email is correct to receive the booking confirmation.
- Confirmation: You will be directed to the confirmation page once done.
Congratulations! You have successfully booked your flight.
React JS
formik
axios
emailjs-com
date-fns
node-sass
react-loading
react-toastify
gh-pages