An API for a car dealership that allows customers to (search/add/purchase)cars. It is built with Java and Spring Framework. Main API URL http://localhost:8080/api/cars
- This API provides HTTP endpoint's and tools for the following:
- Find a unique car by id:
GET/api/cars/{id}
- Find all cars by model:
GET/api/cars
- Clone the application
git clone https://github.com/Miller1995/DealershipApp.git
- Create MySQL database
create database "dealership"
- Change MySQL username and password
open src/main/resources/application.properties change spring.datasource.username and spring.datasource.password
- Run the app using maven
mvn spring-boot:run