__ __ ___ ___ ____ ____ _ _ _ _ _ _____ _ _ ____ _____
| \/ | / _ \ |_ _| | _ \ / ___| | | | | / \ | | | | | ____| | \ | | / ___| | ____|
| |\/| | | | | | | | | |_) | | | | |_| | / _ \ | | | | | _| | \| | | | _ | _|
| | | | | |_| | | | | __/ | |___ | _ | / ___ \ | |___ | |___ | |___ | |\ | | |_| | | |___
|_| |_| \___/ |___| |_| \____| |_| |_| /_/ \_\ |_____| |_____| |_____| |_| \_| \____| |_____|
Technical challenge for Moip selective process
For building and running the application you need:
First, clone the project:
git clone https://github.com/marioalvial/moip-challenge.git
cd moip-challenge
./gradlew build && docker-compose up --build
Configure data source in application.yml:
spring:
datasource:
driver-class-name: com.mysql.jdbc.Driver
url: dbc:mysql://localhost:{YOUR_PORT}/{YOUR_DB_NAME}
username: {YOUR_DB_USERNAME}
password: {YOUR_DB_PASSWORD}
If your port is 3306 and your database doesn't have password you can omit them
Test Coverage configured on CodeCov. Checkout the test coverage here.
Continuous Integration is configured on CircleCI. Checkout the continuous integration here
./gradlew test