Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dcspark/pricing-service


https://github.com/dcspark/pricing-service

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# Cardano-Pricing Service
[![Node.js CI](https://github.com/dcSpark/pricing-service/actions/workflows/node.js.yml/badge.svg?branch=main)](https://github.com/dcSpark/pricing-service/actions/workflows/node.js.yml)

## Background

## Purpose of this project
The purpose of this micro service is to cache price from cryptocompare that can be queried by the cardano-backend service.

# Requirements
You will need the API key. You will need to ask for it.

## Building

Development build (with hot reloading):
```bash
# install the right version of Node
nvm install
nvm use

# install dependencies
npm install

# build
npm run build

# run the server
npm run dev:run
```

*Never put production credentials into repository!*

## Containers
This will build to a container with the docker file. The container is using the PM2 runtime. You will need to pass ENV variables to the container to register with PM2 logging.

## Tests

## API