This is a Spring Framework web application for managing the city parking spaces.
- Every parking fee is calculated and stored when the driver escapes parking.
- Every driver is treated as regular client unless he has a VIP account.
###All user stories are realized by following REST api:
POST /ticket
POST /fee
GET /fee
GET /earnings?date={date in format dd-MM-yyyy}
GET /state
- Java 8
- Spring framework
To make it easy to run the test and it requirements, the start.sh
script is provided. Which will start a:
- Gradle build
- Gradle unit test
- Run the Http server
./gradlew build
This automatically downloads Gradle and builds the project, including running the tests.