Skip to content

marioalvial/moip-challenge

Repository files navigation

  __  __    ___    ___   ____       ____   _   _      _      _       _       _____   _   _    ____   _____
 |  \/  |  / _ \  |_ _| |  _ \     / ___| | | | |    / \    | |     | |     | ____| | \ | |  / ___| | ____|
 | |\/| | | | | |  | |  | |_) |   | |     | |_| |   / _ \   | |     | |     |  _|   |  \| | | |  _  |  _|
 | |  | | | |_| |  | |  |  __/    | |___  |  _  |  / ___ \  | |___  | |___  | |___  | |\  | | |_| | | |___
 |_|  |_|  \___/  |___| |_|        \____| |_| |_| /_/   \_\ |_____| |_____| |_____| |_| \_|  \____| |_____|

CircleCI codecov BCH compliance lifeclye

Technical challenge for Moip selective process

Requirements

For building and running the application you need:

Documentation

Postman

Executing requests

Run in Postman

Running

First, clone the project:

git clone https://github.com/marioalvial/moip-challenge.git
cd moip-challenge

Running with docker

./gradlew build && docker-compose up --build

Running locally

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

Continuous Integration and Test Coverage

Test Coverage configured on CodeCov. Checkout the test coverage here.

Continuous Integration is configured on CircleCI. Checkout the continuous integration here

Testing

./gradlew test

Diagram

Diagram

Built With