Git Salima is a comprehensive flight reservation website that provides users with a seamless experience for searching, booking, and managing their flights. The platform supports both round trip and one-way flight reservations, seat selection, payment processing, and reservation management.
- Flight Search: Users can search for available flights based on their preferences such as destination, date, and class.
- Flight Booking: Users can book flights as either round trips or one-way trips.
- Seat Selection: Users can choose their preferred seats during the booking process.
- Payment Processing: Secure payment processing using credit or debit cards.
- Reservation Management: Users can view, edit, or delete their existing reservations.
To get started with Git Salima, follow these steps:
-
Clone the Repository: Clone this repository to your local machine using:
git clone https://github.com/yourusername/gitsalima.git
-
Navigate to the Project Directory:
cd gitsalima
-
Install Dependencies: Install the necessary dependencies using:
npm install
-
Install Backend Dependencies:
cd backend npm install
-
Run Backend Server:
npm start
-
Install Frontend Dependencies:
cd frontend npm install
-
Run Frontend Server:
npm start
- Enter departure and destination cities.
- Select travel dates and class.
- Click on the search button to view available flights.
- Choose between a round trip or a one-way trip.
- Select the desired flight from the search results.
- Provide passenger details.
- Choose seats from the available options.
- Proceed to payment and enter card details.
- Confirm the booking.
- Navigate to the 'My Reservations' section.
- View details of existing reservations.
- Edit passenger details or seat selections.
- Delete reservations if necessary.
We welcome contributions to enhance Git Salima. Please follow these steps to contribute:
- Fork the repository.
- Create a new branch for your feature or bugfix.
git checkout -b feature-name
- Commit your changes.
git commit -m 'Add some feature'
- Push to the branch.
git push origin feature-name
- Create a Pull Request.
This project is licensed under the MIT License. See the LICENSE file for details.
For any inquiries or support, please contact:
- Email: support@gitsalima.com
- GitHub Issues: GitHub Issues
Here's an example of the backend server.js
:
# backend/server.js
const express = require('express');