Skip to content

Project focused on implementing a car booking system via a command-line interface (CLI), applying both improvements and good practices in each section

Notifications You must be signed in to change notification settings

amadr-95/CLI-car-booking-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CLI Car Booking Application

Initial Implementation

As an admin for a car company I would like to have system to book cars and view users.

When booking a new car the applicattion should ask for:

  • Car id to be available (which must be generated by the system)
  • User id (which must be generated by the system)

Note: An user only can have one car booked

We will also ensure that:

  • We use OOP
  • We separate our domain from the business logic
  • We use packages to organize our code
  • We use the right naming conventions for classes, methods and packages

IMPORTANT - You must use Arrays to hold any data. Do not use Lists at this point. We will later.

IMPORTANT - Do not use dependency injection just yet. We will later

Our application must display a menu like that:

1️⃣ - Book Car
2️⃣ - View All Users Booked Car
3️⃣ - View All Bookings
4️⃣ - View Available Cars
5️⃣ - View Available Electric Cars
6️⃣ - View all users
7️⃣ - Exit

Check out branches

  • git checkout step1-initial-implementation
  • git checkout step1-initial-implementation-advanced
  • git checkout step2-interfaces
  • git checkout step2-interfaces-files
  • git checkout step3-dependency-injection
  • git checkout step4-lists
  • git checkout step5-streams
  • git checkout step6-test

About

Project focused on implementing a car booking system via a command-line interface (CLI), applying both improvements and good practices in each section

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages