Skip to content

A basic GraphQL server for Rust. CRUD with use of async-graphql, tide, diesel & more.

Notifications You must be signed in to change notification settings

mukundbhudia/gql-rs

Repository files navigation

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

About

A basic GraphQL server for Rust. CRUD with use of async-graphql, tide, diesel & more.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published