Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 495 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 495 Bytes

GraphQL Server

This service exposes a GraphQL endpoint for easy querying of Rollups data.

Generating GraphQL Schema

Run the following command to generate the GraphQL schema based on the Rust code:

cargo run --bin generate-schema

Running

To run the GraphQL server locally, you need to setup a PosgreSQL database as described in the data crate README.md. Then, run the following command:

cargo run --bin graphql-server -- --postgres-password pw