Skip to content

Latest commit

 

History

History
57 lines (44 loc) · 1.18 KB

README.md

File metadata and controls

57 lines (44 loc) · 1.18 KB

Alice monorepo

Overview

This is the top-level monorepo for Alice donations platform and other projects. Please refer to individual projects' README files for detailed description.

We are currently in the process of upgrading to Alice v2. Please see here for more details: https://github.com/alice-si/alice-v2-monorepo

Building

You should have Yarn installed.

After you have cloned the repo, you should install dependencies with yarn.

Then, navigate to the project of interest and follow the instructions in its README file.

GraphQL API

We offer public access to projects, outcomes and donations data. GraphQL endpoint is opened on

You can check our graphql schema

GraphQL example queries

# It queries all available data about projects
{
  allProjects {
    code
    title
    charity
    validator
    status
    _outcomes {
      _id
      title
      description
      costPerUnit
    }
  }
}

# It queries donations for the selected project
{
  getDonations(projectCode: "save-from-abuse") {
    _id
    amount
    createdAt
  }
}