https://github.com/amazingustav/replay
App to refinance a vehicle once you get new loan offers.
https://github.com/amazingustav/replay
coroutines docker junit kotlin micronaut mockk r2dbc-mysql reactive-data-flow
Last synced: 3 months ago
JSON representation
App to refinance a vehicle once you get new loan offers.
- Host: GitHub
- URL: https://github.com/amazingustav/replay
- Owner: amazingustav
- Created: 2021-04-10T22:25:51.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-08-27T18:51:22.000Z (over 3 years ago)
- Last Synced: 2025-01-03T16:20:46.546Z (5 months ago)
- Topics: coroutines, docker, junit, kotlin, micronaut, mockk, r2dbc-mysql, reactive-data-flow
- Language: Kotlin
- Homepage:
- Size: 206 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Replay
Kotlin | Micronaut | Coroutines
About |
Stack |
How to run |
Which APIs it has?## About
Replay is an application responsible to refinance auto loans, helping people to get te best taxes and submit their offer instantly.
This project was built in order to present as a tech test to WithClutch for the Software Engineer hole
## Stack
- [Kotlin](https://kotlinlang.org/)
- [Micronaut](https://micronaut.io/)
- [Coroutines](https://kotlinlang.org/docs/coroutines-overview.html)
- [R2DBC](https://r2dbc.io/)
- [JUnit](https://junit.org/junit5/)
- [Mockk](https://mockk.io/)## How to Run
- ### **Requirements**
- Make sure you have **[Docker Compose](https://docs.docker.com/compose/install/)** installed into your machine (you can run `docker-compose -v` to check)
- Make sure you have **[Java JDK 11](https://docs.jboss.org/jbossas/docs/Installation_Guide/4/html/Pre_Requisites-Configuring_Your_Java_Environment.html)** installed and configured into your machine (you can run `java -version` to check)
- You must have connection internet to download all libraries (but I'm sure you have because you are reading this on GitHub)1. Clone this repo:
```sh
$ git clone https://github.com/amazingustav/replay.git
```2. Build and run database container:
```sh
$ cd replay
$ make database
# Wait in console for an output like (then you can open another terminal window and go to the next steps):
# [Server] /usr/sbin/mysqld: ready for connections
```3. Run the application (it will be available on http://localhost:8087)
```sh
$ make up
```4. (Optional) If you wish to execute only test, run:
```sh
$ make test-app
```## Service Architecture
This application was built following the [Hexagonal Architecture](https://alistair.cockburn.us/hexagonal-architecture/) rules.