Home

Awesome

Rust + Hasura Rust

This is an example of a Rust server that functions as a remote schema for Hasura.

It demonstrates:

You can learn more about this stack from this talk.

Package Manager

Cargo

Setup

Start

Environment Variables

KeyExample
PORT8000
HASURA_ENDPOINThttp://127.0.0.1:8080/v1/graphql
ADMIN_SECRETfoo
JWT_SECRET{"type":"HS256","key":"3QQ6FD+o0+c7tzQQVfjpMkNDi2yARAAKzQQk8O2IKoxQQ4nF7EdAh8s3TwpHwrdQQ6R"}