Giter Site home page Giter Site logo

cli-airline-mini-project's Introduction

Mini-Project: Project status:

Completed MVP and Extensions

Mini-Project: Building a Command Line Interface

Although a lot of the applications we use day-to-day have user interfaces with buttons to click and lots of graphical information, there are still a huge number of apps in existence which are entirely text-based. Applications such as these are used through a command line interface, or CLI. With the tools at our disposal now we can build Java apps and interact with them using a CLI

MVP

My group will develop an app to manage flight bookings. The user will be able to carry out the following actions using a CLI:

  • Add a new flight
  • Display all available flights
  • Add a new passenger
  • Book a passenger onto a flight
  • Cancel a flight

A passenger needs to have a name, contact information and a unique identifier (id). A flight needs to have a destination, an id and a collection of passengers.

Before you start coding you should spend some time discussing the structure of your code, considering which methods you need to implement and drawing some class diagrams. We also expect to see tests where appropriate for the logic.

Extensions

  • Add search functionality, eg. let the user search for flights going to a particular destination
  • Have the application handle the creation of the unique id for flights and passengers
  • Throw exceptions where appropriate, eg. when attempting to book a passenger onto a flight which doesn't exist
  • Write the details of which passenger has booked which flight to a separate file

Presentation

At the end of the day each group will give a short presentation of their work and demo their app. Each group will have 7 minutes to give a demo and talk about any interesting and/or challenging bits of code. Every member of the group needs to contribute, and there will be time for questions after each demo.

cli-airline-mini-project's People

Contributors

anapaulal27 avatar

Stargazers

 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.