Money conversation service.
This service has an MIT license, so you can use it for you own needs.
- Run
docker build
for creating docker-image - Run docker-image: by
docker run
,docker-compose
,k8s
or 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.dist
to.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.