A reactive API that aggregates cryptocurrency data and returns event streams.
- Kotlin 1.3
- Spring Boot 2.2
- Spring WebFlux 5
- MongoDB 4.0 (embedded)
- Java JDK 11
-
Download and install Java JDK 11 from the Java official webpage.
-
Set JAVA_HOME environment variable to point to this installation.
-
Install and run MongoDB
In order to compile/test/run the project, execute the provided gradle wrapper.
./gradlew compileKotlin
./gradlew test
./gradlew integrationTest
You can run the project either running the JAR or using spring-boot gradle plugin:
./gradlew spring-boot:run
The API will be deployed at http://localhost:8080.