Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 972 Bytes

README.md

File metadata and controls

34 lines (24 loc) · 972 Bytes

gql-rs

Rust

A basic GraphQL server for Rust.

Specs TBC...

Goals

  • Learn the following by building with:
    • The tide crate
    • The async-std crate
    • The async-graphql crate & creating mutations and queries
    • Diesel ORM & recap on relational databases
    • tracing crate

Prerequisites

  • Rust
  • Docker
  • Docker Compose

Database setup

Refer to https://diesel.rs/guides/getting-started/ for more information.

  • Run cargo install diesel_cli
  • Run make db-start which is basically docker-compose up -d
  • Run diesel setup
  • The database should now be ready to connect to.

Development