SyedMuhammadFaheem / AirOpsManager-AirlinesManagementSystem

Flight Management System using MERN Stack. It consists of an Admin Panel having specified permissions to access the database along with a Customer Panel having specified CRUD operations control and book as many tickets as they want. This was a fifth semester project for Database Systems course of FAST NUCES.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Airlines Management System

Flight Management System using MERN Stack. It consists of an Admin Panel having specified permissions to access the database along with a Customer Panel having specified CRUD operations control and book as many tickets as they want. This was a fifth semester project for Database Systems course of FAST NUCES.

Table of Contents

Installation

Client

  1. Navigate to the client directory.
cd client
  1. Install the required react dependencies through.
npm install
  1. Run the frontend server.
npm start

Server

  1. Navigate to the server directory.
cd server
  1. Install the required react dependencies through.
npm install
  1. All the commands to create all the functionalites for the sql database are in Database.sql file. You have to run them one by one to create all the required tables, triggers and other procedures.

  2. Change this code snippet in the index.js file accordingly. The comments represent the values I have set for my local machine.

   const db= mysql.createPool({
    host:"localhost",
    user:"your_sql_db_name",
    password:"your_sql_db_password",  
    database:"your_database_name"   //airport_management
});
  1. Run the backend server.
nodemon index.js

About

Flight Management System using MERN Stack. It consists of an Admin Panel having specified permissions to access the database along with a Customer Panel having specified CRUD operations control and book as many tickets as they want. This was a fifth semester project for Database Systems course of FAST NUCES.


Languages

Language:JavaScript 88.8%Language:CSS 10.2%Language:HTML 1.0%