This project provides a REST API for managing parking spot availability and access control systems. It is built using the following technologies:
- Java: As the primary programming language.
- Spring Boot: For rapid application development and simplified configuration.
- Spring Security: For user authentication and authorization.
- JUnit5: To test API endpoints.
- Swagger: To generate interactive API documentation.
- Java 17.0.10
- Maven
First, clone the repository:
git clone https://[email protected]:marceloxhenrique/parking-control-api.git
cd <your-project-name>
mvn install
spring.application.name=parking-control
spring.datasource.platform=postgres
spring.datasource.url=jdbc:postgresql://localhost:5432/postgres
spring.datasource.username=yourUsername
spring.datasource.password=yourPassword
spring.jpa.hibernate.ddl-auto=update
spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true
mvn spring-boot:run
- The app run on port 8080 by default.
http://localhost:8080/swagger-ui/index.html