Skip to content

GraphQL API with key information about the MakerDAO Ecosystem, such as its Core Units, their budgets, and their projects.

License

Notifications You must be signed in to change notification settings

makerdao-ses/ecosystem-api

 
 

Repository files navigation

ql-api

Quickstart

Easily run all services using docker-compose. This will run Postgres, Redis, and the Ecosystem API server.

# copy .env example file
cp .env.example .env

# startup
docker-compose -f docker-compose.yml -f docker-compose.api.yml up

A GraphQL explorer will now be available at http://localhost:4000.

Development

For local development, we run dependencies via docker-compose, while using familiar tools like file-watchers locally.

docker-compose up -d

npm install
npm run dev

This will make a GraphQL explorer available at http://localhost:4000, which will reload the API on every local file change.

DB Transfer

A DB copy tool is available that leverages containers to export and import data without needing any tools installed locally.

docker-compose up -d

./dump-db.sh <user> <password> <host> <db>

This exports from the target instance and imports into the locally running postgres instance.

About

GraphQL API with key information about the MakerDAO Ecosystem, such as its Core Units, their budgets, and their projects.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages

  • TypeScript 51.0%
  • JavaScript 47.8%
  • Other 1.2%