Skip to content

Latest commit

 

History

History
21 lines (19 loc) · 782 Bytes

File metadata and controls

21 lines (19 loc) · 782 Bytes

Java-Spring-Mongo

Implementation of a REST API service using Java Spring Boot and MongoDB. Unit tests have been implemented with Mockito and JUnit5 with TestRestTemplate, whereas Testcontainers have been used for the integration tests.

ENDPOINTS

GET /crypto
POST /crypto
PUT /crypto/{name}
DELETE /crypto/{name}
GET /crypto/{name}

DTO DETAIL

The DTO modeled is a basic representation of cryptocurrencies. It can be applied to any crypto coin and has the following attributes available:

  • name (coin's abbreviation)
  • price (coin's price in US dollars, $USD)
  • type (payment, altcoin, NFT, DeFi)
  • description (coin's funcionality description)
  • launchDate (coin's launch date)
  • lastTransactionDate (coin's last transaction date)
  • image (coin's logo)