Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dcspark/pricing-service
https://github.com/dcspark/pricing-service
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/dcspark/pricing-service
- Owner: dcSpark
- License: mit
- Created: 2021-09-25T23:17:08.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-17T11:59:10.000Z (about 1 year ago)
- Last Synced: 2024-04-16T08:55:26.664Z (9 months 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
[![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