Skip to content

Ngthanh42/Q-Airline

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Q-Airline

Introduction

In the fast-paced digital age, the Airplane Ticket Booking and Management System provides a modern solution to the limitations of traditional ticketing methods. By leveraging the MERN stack (MongoDB, Express.js, React.js, Node.js), this application offers a streamlined and secure platform for users to search, book, and manage flight tickets with ease.

Features

  • User Management: Register, log in, and manage user profiles securely.
  • Flight Search and Booking: Search for flights based on various criteria, book tickets securely, and make payments through PCI-compliant gateways.
  • Admin Panel: Manage flight listings, user information, and system configurations efficiently.
  • Responsive Design: Enjoy a seamless experience across different devices, including desktops, laptops, tablets, and smartphones.

Installation

To run this project locally, follow these steps:

  1. Clone the repository:
git clone https://github.com/Kevin310703/Q-Airline.git
  1. Navigate to the project directory:
cd Q-Airline
  1. There are 2 directories Frontend and backend for frontend
cd frontend

for backend

cd backend
  1. Install dependencies:
npm install
  1. Set up environment variables:

    • Create a .env file in the root directory.
    • Add environment variables for MySQL connection, Cloudinary, and other sensitive information.
  2. Start the development frontend server:

npm run dev

And open your browser and visit http://localhost:5173 to access the application.

  1. Start the development backend server:
npx nodemon index.js

And open your browser and visit http://localhost:5000 to access the application.

  1. Start the development admin server:
npm start

And open your browser and visit http://localhost:3000 to access the application.

Usage

Once the application is running, users can:

  • Register or log in to their accounts.
  • Search for flights based on their preferences.
  • Book tickets securely and make payments.
  • Manage booked tickets, including viewing QR codes for verification.

Admin users can access additional functionalities through the admin panel, such as managing flight listings and user information.

License

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


Happy coding!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 55.9%
  • SCSS 23.9%
  • CSS 11.6%
  • TypeScript 8.4%
  • HTML 0.2%