Skip to content

tfdsimoes/idealista-coding-test-ranking

Repository files navigation

Challenge management of quality of ads (idealista)

This code is the response to the challenge of idealista Reto: Servicio para gestión de calidad de los anuncios that is present in their github.

Technologies

  • Java 1.8
  • Apache Maven 3.6.0

To run

Using maven

$ mvn spring-boot:run

Tests

There is unitary tests for the controllers and integration tests. To run them just do:

$ mvn tets

Endpoints

There is 3 endpoints implemented one without authorization and the other two with basic auth.

  • No authorization required

    • GET localhost:8080/ads/public-listing (Will retrieve ads with score over 40)
  • Basic auth required (username: quality, password: quality)

    • GET localhost:8080/ads/quality-listing (Will retrieve ads with score under 40)
    • PUT localhost:8080/ads/calculate-score (Will calculate the scores of ads)

To help you test there is a postman collection to help you to test each one

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages