GithubHelp home page GithubHelp logo

idatt1003-2023-mappe-traindispatchsystem's Introduction

Portfolio project IDATT1003 - 2023

STUDENT NAME = Anders Morille
STUDENT ID = 111708

Project description

This project is a portfolio project for the course IDATT1003 - Programming 1 at NTNU. The project is a Java application that can be used to manage a collection of train departures. The application can be used to add, remove, edit and view train departures.

Project structure

The project is divided into a set of packages, each with a specific purpose. The packages are as follows:

  • commands: Contains the classes that implement the commands that can be executed by the application.
  • input: Contains the classes that handle the input from the user.
  • models: Contains the classes that represent the data that is stored
  • utils: Contains utility classes that are used by the application.
  • TrainDispatchApp: Contains the main class of the application.

Link to repository

https://github.com/lille-morille/IDATT1003-2023-Mappe-TrainDispatchSystem

How to run the project

To run this project, simply run the main method in the TrainDispatchApp class. The main method will start the application and display a menu in the terminal. The user can then enter a command to execute, either by name, or index that you see on the left hand side. This menu will be displayed after each command execution. To exit the application, enter the command exit or 8.

How to run the tests

  • Enter the command mvn clean test in the terminal to run all unit tests for the project. Make sure you are in the root directory in the terminal when doing this.
  • Or if you're using IntelliJ IDEA, select "Test Project" from the run configurations

idatt1003-2023-mappe-traindispatchsystem's People

Contributors

lille-morille avatar mankantega avatar

Stargazers

 avatar

Watchers

 avatar

idatt1003-2023-mappe-traindispatchsystem's Issues

Remove regex for train line numbers

After part 1, the professor decided we should not use regex to validate the line numbers of trains.
This causes a large set of the codebase to adapt, since the whole coloring system gets broken by this etc.

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.