Skip to content

terra-money/api-public

Repository files navigation

Terra API

Modules

  • Collector
    • Collects historical data from LCD and sotres into the database
      • Reward Collector
  • Rest API Server
    • Gathers data from database, FCD and LCD
    • Serves data via RESTFul API
      • Chart
      • Validator

Installation

API requires PostgreSQL as a backend database and TypeORM as an ORM.

$ yarn

Running Collector

# all collector
yarn run collector-all

# reward collector only
yarn run collector-reward

Running API Server

# development
$ yarn run start

# watch mode
$ yarn run start:dev

# production mode
$ yarn run start:prod

Releases

No releases published

Packages

No packages published

Languages