Skip to content

BookMyFlight is a web application for managing flight bookings. This project is built using the FastAPI framework for the backend and React for the frontend.

Notifications You must be signed in to change notification settings

PranayChavhan/BookMyFlight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

BookMyFlight

BookMyFlight is a web application for managing flight bookings. This project is built using the FastAPI framework for the backend and React for the frontend.

Features

  • Flight Management: Add, delete, and retrieve flight information.
  • User Authentication: Secure user authentication using JWT tokens.
  • Flight Booking: Allow users to book flights with ease.
  • Admin Panel: Special routes and functionalities for admin users.

Technologies Used

  • Backend: FastAPI, MongoDB
  • Frontend: React
  • Authentication: JWT Tokens
  • Database: MongoDB

Project Structure

The project is divided into three main components:

  • Backend: Handles API requests, authentication, and database operations.
  • Frontend: Provides a user interface for interacting with flight data.
  • Database: Stores flight and user information.

Getting Started

Prerequisites

  • Node.js
  • Python
  • MongoDB

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/BookMyFlight.git
cd BookMyFlight
  1. Install backend dependencies:
cd server
pip install -r requirements.txt
  1. Install frontend dependencies:
cd client
npm install
  1. Set up environment variables: Create a .env file in the server directory and configure necessary variables.

  2. Run the application: Start the FastAPI server:

cd server
python run.py

Start the React app:

cd client
npm run dev

Screenshot from 2024-02-29 15-37-34 Screenshot from 2024-02-29 15-37-47 Screenshot from 2024-02-29 15-38-14 Screenshot from 2024-02-29 15-38-19 Screenshot from 2024-02-29 15-38-25 Screenshot from 2024-02-29 15-38-35

About

BookMyFlight is a web application for managing flight bookings. This project is built using the FastAPI framework for the backend and React for the frontend.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published