Money conversation service.
This service has an MIT license, so you can use it for you own needs.
- Run
docker buildfor creating docker-image - Run docker-image: by
docker run,docker-compose,k8sor what ever
Container accept the following env-variables:
- Database (PostgreSQL) connection params:
DB_HOST,DB_PORT,DB_USER,DB_PASSWORD,DB_NAME - Api-key for Currency Converter Api —
MANNY_API_KEY - Api-key for Exchange Rates API —
EXCHANGE_RATES_API_KEY
Before starting the application, you must initialize tables for application. Run inside the container next commands:
yarn trona -y
Now, application listen 3001 port in container, you can use it.
- Start PostgreSQL
- Create api-keys
- Copy file
.env.distto.env - Pass PostgreSQL connection params and api-key to
.env - Run application by
yarn dev
Now, you can find docs and playground at localhost:3001/docs.