# Toll Parking Library Server created with SpringBoot, Lombok, and maven ## Build instructions ### Prerequisites - Maven3 - JDK 11+ **Building** `mvn clean install` **Running the server** `mvn spring-boot:run` or `java -jar target/parkingtoll-0.0.1-SNAPSHOT.jar` The server application will spawn on http://localhost:8080 ###Open Endpoints Endpoints for viewing and manipulating the Parking Lots and park cars. - [Show Accessible Parking Lots](docs/get.md) : `GET /parking_lot` - [Create Parking Lot](docs/get.md) : `POST /parking_lot` - [Delete a Parking Lot](docs/delete.md) : `DELETE /parking_lot/{parkingLotId}` - [Display a Parking Lot](docs/getid.md) : `GET /parking_lot/{parkingLotId}` - [Update a Parking Lot](docs/putid.md) : `PUT /parking_lot/{parkingLotId}` - [Park a car in a Parking Lot](docs/postpark.md) : `POST /parking_lot​/{parkingLotId}​/park` - [Remove a car from a Parking Lot and returns the amount to pay](docs/delpark.md) : `DELETE /parking_lot​/{parkingLotId}​/park` ### Future Improvements - relying on an actual persistent DAO ### Unit tests and code coverage `mvn clean test` 100% classes, 100% lines covered in package `eu.fibane.parkingtoll` JaCoCo report in `target/site/` folder