Credentials for postgres DB

$ ./src/db/config/database.json

Installation

$ npm install

Create database

$ npm run db:create

Migrate table to database

$ npm run db:migrate

Start

Add your personal API key to .env

Without the key you will encounter with some fetching issue.

Huge delay (approximately 5000) will fix this if you don't have api key.

To set delay value or change minimal block you are interested in change the constants:

$ ./src/constants/index.ts

Then start the service:

$ npm start