https://github.com/marceloxhenrique/parking-control-api
REST API for managing parking spot availability and access control systems, built with Java, Spring Boot, Spring Security for secure access, JUnit5 for unit testing, and Swagger for API documentation.
https://github.com/marceloxhenrique/parking-control-api
java junit5 spring-boot spring-security swagger
Last synced: about 2 months ago
JSON representation
REST API for managing parking spot availability and access control systems, built with Java, Spring Boot, Spring Security for secure access, JUnit5 for unit testing, and Swagger for API documentation.
- Host: GitHub
- URL: https://github.com/marceloxhenrique/parking-control-api
- Owner: marceloxhenrique
- Created: 2024-05-17T13:11:40.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-23T13:19:15.000Z (over 1 year ago)
- Last Synced: 2025-03-05T10:48:14.453Z (7 months ago)
- Topics: java, junit5, spring-boot, spring-security, swagger
- Language: Java
- Homepage:
- Size: 85 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Parking Control API
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.## Prerequisites
* Java 17.0.10
* Maven## Getting Started
First, clone the repository:
```shell
git clone https://git@github.com:marceloxhenrique/parking-control-api.git
```## Navigate to the project directory
```shell
cd
```## Install the project
```shell
mvn install
```## Setup application.properties
```shell
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=updatespring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true
```## Running teh application
```shell
mvn spring-boot:run
```
- The app run on port 8080 by default.## API documentation
```shell
http://localhost:8080/swagger-ui/index.html
```
