https://github.com/eric-souzams/dealership
Sistema de concessionaria de carros
https://github.com/eric-souzams/dealership
h2-database java jpa-hibernate lombok mysql spring spring-boot spring-data-jpa spring-validation
Last synced: about 1 month ago
JSON representation
Sistema de concessionaria de carros
- Host: GitHub
- URL: https://github.com/eric-souzams/dealership
- Owner: eric-souzams
- Created: 2021-09-28T23:48:28.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-15T23:38:36.000Z (over 3 years ago)
- Last Synced: 2025-01-31T15:47:00.366Z (3 months ago)
- Topics: h2-database, java, jpa-hibernate, lombok, mysql, spring, spring-boot, spring-data-jpa, spring-validation
- Language: Java
- Homepage:
- Size: 117 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Dealership API
About |
Preview |
Features |
Technologies |
Building |
Contributing## About
Dealership is API for companies than want sell cars, and this application will provide a UP on your sales and manage your company of correct shape.## Preview
```
CarsGET: http://localhost:8080/cars
GET: http://localhost:8080/cars/{carId}
POST: http://localhost:8080/cars
POST: http://localhost:8080/cars/{carId}/upload
``````
ModelsGET: http://localhost:8080/car-models
GET: http://localhost:8080/car-models/{carModelId}
POST: http://localhost:8080/car-models
``````
ClientsGET: http://localhost:8080/clients
GET: http://localhost:8080/clients/{clientId}
POST: http://localhost:8080/clients
``````
SalesGET: http://localhost:8080/sales
GET: http://localhost:8080/sales/{saleId}
POST: http://localhost:8080/sales
``````
EmployeesGET: http://localhost:8080/employees
GET: http://localhost:8080/employees/{employeeId}
POST: http://localhost:8080/employees
```## Features
- UUID [ x ]
- Files upload [ x ]
- JSON response refactor [ x ]
- Custom exceptions and handler [ x ]
- Tests coverage (coming soon) [ - ]## Technologies
This project was developed using the following technologies:
- [Java](https://www.oracle.com/br/java/technologies/javase-jdk11-downloads.html)
- [Spring Boot](https://spring.io/projects/spring-boot)
- [Spring Data JPA](https://spring.io/projects/spring-data)
- [Lombok](https://projectlombok.org/)## Building
You'll need [Java 11+](https://www.oracle.com/br/java/technologies/javase-jdk11-downloads.html) and [Maven](https://maven.apache.org/download.cgi) installed on your computer in order to build this app.```bash
$ git clone https://github.com/eric-souzams/dealership.git
$ cd /dealership
$ mvn spring-boot:run
```## Contributing
This repository is currently under development. If you want to contribute please fork the repository and get your hands dirty, and make the changes as you'd like and submit the Pull request.