A Project to fullfill technical test as a Backend Developer at GLI.
- Maven 3.9.0
- Java 1.8.0_202
- Open this project on IntelliJ and change the SDK we want to use to 1.8.0-202
- Download the dependencies that we need.
- Run the program.
GET | localhost:8080/dog
Will return all of dogs from outbound api and our database.
GET | localhost:8080/dog/{breed}/images
Will return all of images from dog that we specified its breed.
POST | localhost:8080/dog
Request Body = breed: string, sub_breeds: list of string, images: list of string
Will not return anything, but just some message that give information the operation post is success.
PUT | localhost:8080/dog/{id}
Request Body = breed: string, sub_breeds: list of string, images: list of string
Will not return anything, but just some message that give information the operation updating dog with id X is success.
DELETE | localhost:8080/dog/{id}
Will not return anything, but just some message that give information the operation delete is success.
Muhammad Tito Prakasa (grevi)