Skip to content
This repository was archived by the owner on Nov 19, 2022. It is now read-only.

Parking Control API built with Spring Boot + PostgreSQL

License

Notifications You must be signed in to change notification settings

LucJosin/parking-control-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.