aeuser999 / api-public

API for some Station features

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

API for some Station features

License:GNU Affero General Public License v3.0


Languages

Language:TypeScript 99.3%Language:Dockerfile 0.6%Language:Shell 0.1%