/parking-lot-api

Primary LanguageJavaBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Parking Control API

lucjos.in License lucjos.in License lucjos.in License


TheWizardProject Twitter

Parking Control API built with Spring Boot + PostgreSQL

Dependencies

See pom file.

  • Spring Boot;
  • Postgres;
  • ModelMapper;
  • Spring Fox (Swagger).

Endpoints

Note
After running the app, you can open http://localhost:8080/api/swagger-ui/index.html to see more detailed information.

  • [GET] /api/parkings;
  • [GET] /api/parkings/{id};
  • [POST] /api/parkings;
  • [PATCH] /api/parkings/{id};
  • [DELETE] /api/parkings/{id};

Docker

See all docker configuration.
Also, see postgres schema.

Use the make command to run/start/delete/stop the docker or see the complete command.

Make Description
dk-run Build & Run the local docker.*
dk-start Start the local docker.
dk-stop Stop the local docker.
dk-reset Stop, Delete, Build and Start the local docker.
dk-prune Delete all docker volumes.
help Show all available commands.

* Use when running this docker for the first time.