Programming Language : Java
Build tool: Gradle
Unit testing: JUnit5
System requirement: JDK 1.8 or above
Note: You don't need to install any project dependency as repository has gradle wrapper to handle it.
- constants: Project related constants including error messages, output messages, command constants and regex
- controller: contains classes to handle input from console/file and command execution
- dao: contains classes to handle data
- enums: contains project related enums including custom error codes
- exception: contains project specific exception
- model: contains data models
- observers: contains observers for ParkingLot commands to capture the output of commands
- service: contains business logic classes for ParkingLot system
- strategy: contains project strategies currently having Parking strategy
- utils: contains utility methods for reading the file
- Main.java contains main method to run the project
Please update the absolute path of the input file in the below command
gradlew build
gradlew run --args "H:\Workspaces\intelliJ\parkinglot_system\src\main\resources\input.txt"
Please update the absolute path of the input file in the below command
java -jar parkinglot_system-1.0-SNAPSHOT.jar "H:\Workspaces\intelliJ\parkinglot_system\src\main\resources\input.txt"
gradlew clean test