GithubHelp home page GithubHelp logo

sanlo-risk-calculator's Introduction

sanlo-risk-calculator

This project is a single container using:

Java 17
MAVEN 3.8.4
Spring boot 2.6.4

The structure of the project is divide in package by feature strategy:

  1. riskcalculator feature
  2. riskengine feature

I decide to choose it thinking in future split in new microservices. It can be easier to apply strangler pattern when we are using package by feature layers.

build

To build the project use:

mvn clean install

test

The test strategy was developing using spring embedded container. Following this strategy, its possible test all integrations between layers.

To execute all tests, just use:

mvn test

run

You can run this project as a desktop application:

where: {abosolute_path} = the absolute path dir.
obs: You need path the absolute dir to application find input and output repository.

java -jar -Dsanlo.riskRating=/Users/eduardo.silva.br/sanlo/sanlo-risk-calculator/input/risk_rating_data.csv -Dsanlo.ltvCacRatio=/Users/eduardo.silva.br/sanlo/sanlo-risk-calculator/input/ltv_cac_ratio.csv -Dsanlo.paybackIndicator=/Users/eduardo.silva.br/sanlo/sanlo-risk-calculator/input/payback.csv -Dsanlo.metricsFilePath=/Users/eduardo.silva.br/sanlo/sanlo-risk-calculator/input/app-financial-metrics.csv -Dsanlo.companyFilePath=/Users/eduardo.silva.br/sanlo/sanlo-risk-calculator/input/app-companies.csv -Dsanlo.ratingFilePath=/Users/eduardo.silva.br/sanlo/sanlo-risk-calculator/output/rating build/sanlo-risk-calculator.jar

An example using my path to execute it:

java -jar -Dsanlo.riskRating=/Users/eduardo.silva.br/sanlo/sanlo-risk-calculator/input/risk_rating_data.csv -Dsanlo.ltvCacRatio=/Users/eduardo.silva.br/sanlo/sanlo-risk-calculator/input/ltv_cac_ratio.csv -Dsanlo.paybackIndicator=/Users/eduardo.silva.br/sanlo/sanlo-risk-calculator/input/payback.csv -Dsanlo.metricsFilePath=/Users/eduardo.silva.br/sanlo/sanlo-risk-calculator/input/example-app-financial-metrics.csv -Dsanlo.companyFilePath=/Users/eduardo.silva.br/sanlo/sanlo-risk-calculator/input/example-app-companies.csv -Dsanlo.ratingFilePath=/Users/eduardo.silva.br/sanlo/sanlo-risk-calculator/output/rating build/sanlo-risk-calculator.jar

sanlo-risk-calculator's People

Contributors

edu1006 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.