Skip to content

REST API created with Spring Boot, PostgreSQL, 3 stars and 0 forks.

Notifications You must be signed in to change notification settings

E-AND-L/Parking-SB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Parking SB

Table of Contents

  1. Information
  2. Technologies
  3. Execution
  4. Collaboration
  5. End Points

Information

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.

Technologies

A list of technologies used within the project:

Execution

A little intro about the installation.

  1. Clone the repository: git clone https://github.com/E-AND-L/Parking-SB
  2. Go to the folder: cd Parking-SB
  3. Run the application: ./mvnw spring-boot:run or open Intelli J and run the application "remember use Open JDK 19".
  4. Test the application: http://localhost:8080/api

End-Points

Get vehicles:

GET: {{url_api}}/vehicles

Add vehicles:

POST: {{url_api}}/vehicles body: {"plate": "abc123","type": "moto"} Posible type values: carro, moto

Get records:

GET: {{url_api}}/records

Add records:

POST: {{url_api}}/vehicles body: {"plate": "123456"}

Update records:

PUT: {{url_api}}/vehicles body: {"plate": "123456"}

Collaboration

Just create a pull request if you want.