Skip to content

Implementation of a cryptocurrencies REST API service using Java Spring Boot and MongoDB and tested with Testcontainers, JUnit5 and Mockito

License

Notifications You must be signed in to change notification settings

sergio-losada/Java-Spring-Mongo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

Implementation of a cryptocurrencies REST API service using Java Spring Boot and MongoDB and tested with Testcontainers, JUnit5 and Mockito

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published