GithubHelp home page GithubHelp logo

flight-manager's Introduction

flight-manager - easy way to manage your flights! โœˆ

Description

The application consists of a backend REST API built with Spring Boot (flight-manager-spring) and a frontend application created with React.js. It allows you to add and remove flights and passengers, as well as manage passengers for selected flights.

How to Run the Application

Steps:

  1. Clone the Repository: Clone this repository to your local machine using the following command in your terminal:

    HTTPS

    git clone https://github.com/Shair13/flight-manager.git
    

    SSH

     git clone [email protected]:Shair13/flight-manager.git
    
  2. Run the Application: Navigate to the repository folder and use the Docker Compose command to run the application:

    docker compose up
  3. Access the Application: Once the application is running, you can access it through your web browser at the following address:

    http://localhost:3000
    

This is the initial page.

Home Page

This page contains a form to add a new flight.

Add flight

Validation ensures you enter the correct data.

Add flight

Here you can view all added flights, check details, or delete them.

All flights

In the flight details, you can add passengers and update the current flight. Below, you will see all passengers on this flight, and you can remove them by clicking the "X" button.

Flight details

When you click update, you will be redirected to the flight update form.

Flight update

When adding passengers, you will be redirected to a page showing passengers not already added to the current flight.

Add passenger to flight

You cannot add a person who is already added to the same flight.

Duplicated passenger

This page contains a form to add a new passenger.

Add flight

At this page is form to add new passenger

Add flight

Validation ensures you enter the correct data.

All passengers

Here you can view all added passengers and update or delete them.

Passenger update

When you click update, you will be redirected to the passenger update form.

Contact

Thank you for exploring flight-manager! If you have any questions, feedback or issues, feel free to reach out to me:

flight-manager's People

Contributors

shair13 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.