Giter VIP home page Giter VIP logo

airport-manager's Introduction

Airport-Manager

Team project for the university course PA165 at FI MUNI

How to run the project

  1. mvn clean install
  2. cd airport-manager-service
  3. mvn spring-boot:run

Login

User can access only login page, index page, flight, airplane and destination lists.

Admin can access everything.

User

username: user

password: password

Admin

username: admin

password: adminPassword

Curl commands

Get a destination: curl http://localhost:8080/pa165/rest/1
Get destinations around a city:curl http://localhost:8080/pa165/rest/city/Brno
Get destinations in a country: curl http://localhost:8080/pa165/rest/country/Czechia
Create a destination: curl -d "{\"airportCode\":\"HEL\",\"city\":\"Helsinki\",\"country\":\"Finland\"}" -H "Content-Type: application/json" http://localhost:8080/pa165/rest
Update a destination: curl -d "{\"id\":\"1\",\"airportCode\":\"KLM\",\"city\":\"East Vienna\",\"country\":\"Austria\"}" -H "Content-Type: application/json" -X PUT http://localhost:8080/pa165/rest
Delete a destination: curl -X DELETE http://localhost:8080/pa165/rest/4

Team members:

  • Vojtěch Lejsal (učo 445629)
  • Štěpán Beneš (učo 433725)
  • Branislav Kotrč (učo 433718)

Task description:

Create an information system managing flight records at an airport. The system should allow the users to enter records about stewards, airplanes and destinations. It should also be possible to update and delete these records. A destination should contain at least the information about the location of an airport (country, city). Airplane details should contain the capacity of the plane and its name (and possibly its type as well). A steward is described by his first and last name. The system should also allow us to record a flight. When recording a flight, it is necessary to set the departure and arrival times, the origin, the destination and the plane. The system should also check that the plane does not have another flight scheduled during the time of the this flight. It should also be possible to assign (remove) stewards to (from) a flight while checking for the steward's availability. The ultimate goal is to have a system capable of listing flights ordered by date and displaying the flight details (origin, destination, departure time, arrival time, plane, list of stewards).

Class diagram

Class diagram

Usecase diagram

Usecase diagram

airport-manager's People

Contributors

xlejsal avatar midoriii avatar thoryndin avatar vojtechl avatar

Forkers

thoryndin

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.