0.2.0 • Published 7 years ago

calc-e v0.2.0

Weekly downloads
-
License
ISC
Repository
-
Last release
7 years ago

Calc Engine

Service that calculates values for whole life policies, such as cash value, and value after a face increase.

Setup

Create a postgres database with PSQL

create database calc_engine owner nodejs;

Install node modules

npm i

Build the project

gulp build

Initialize the database with the startup script

./scripts/start_up.sh

Run rabbitMQ

rabbitmq-server

Launch the api

./scripts/start_calc_engine_api.sh

Try a test request at localhost:3030/calc.guaranteed-cash-value