Skip to content

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.

Notifications You must be signed in to change notification settings

marceloxhenrique/parking-control-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

git clone https://[email protected]:marceloxhenrique/parking-control-api.git

Navigate to the project directory

cd <your-project-name>

Install the project

mvn install

Setup application.properties

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

Running teh application

mvn spring-boot:run
  • The app run on port 8080 by default.

API documentation

http://localhost:8080/swagger-ui/index.html

Capture d’écran 2024-05-23 à 15 02 18

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages