Skip to content

near-daos/dao-stats-api

Repository files navigation

DAO Stats API

Release version Build

A backend middleware for DAO Stats providing access to multiple DAO metrics.

Technology stack

Status

Change Log

Links

Development

Testnet: https://api.testnet.daostats.io

Production

Mainnet: https://api.daostats.io

Getting Started

Local Development

  1. Clone the repo:
git clone [email protected]:near-daos/dao-stats-api.git
  1. Open the repo folder:
cd dao-stats-api
  1. Install dependencies:
yarn install
  1. Add .env.local to the root folder with required environment variables described in .env.

  2. Run dev docker compose:

docker-compose -f docker-compose-dev.yml up

Please make sure that Docker has been installed on your local machine.

  1. Run specific service you need:
  • Aggregator: yarn start-aggregator:dev
  • API: yarn start-api:dev