https://github.com/dcspark/pricing-service
https://github.com/dcspark/pricing-service
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dcspark/pricing-service
- Owner: dcSpark
- License: mit
- Created: 2021-09-25T23:17:08.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-12-17T11:59:10.000Z (over 2 years ago)
- Last Synced: 2025-03-17T16:52:39.073Z (over 1 year ago)
- Language: TypeScript
- Size: 1000 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cardano-Pricing Service
[](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