This is a project created with Spring Initializr.
We're using:
Spring Boot to create a REST API with Open JDK 19.
Conventional commits to create a commit message. Conventional commits.
Git Flow to create a branch strategy. Git Flow.
Semver to create our versioning. Semver.
A list of technologies used within the project:
- Spring Boot: Version 3.0.2
A little intro about the installation.
- Clone the repository:
git clone https://github.com/E-AND-L/Parking-SB
- Go to the folder:
cd Parking-SB
- Run the application:
./mvnw spring-boot:run
or open Intelli J and run the application "remember use Open JDK 19". - Test the application:
http://localhost:8080/api
GET: {{url_api}}/vehicles
POST: {{url_api}}/vehicles
body: {"plate": "abc123","type": "moto"}
Posible type values: carro, moto
GET: {{url_api}}/records
POST: {{url_api}}/vehicles
body: {"plate": "123456"}
PUT: {{url_api}}/vehicles
body: {"plate": "123456"}
Just create a pull request if you want.