Skip to content

camsjams/rust-actix-graphql-sqlx-postgresql

Repository files navigation

rust-actix-graphql-sqlx-postgresql

Using GraphQL with Rust and Apollo Federation

Image of rusty chain

Walkthrough

This repo and accompanying information was presented at RustLang Los Angeles February 2021 - see video

This talk covered:

  • Core concepts of GraphQL
  • Core concepts of GraphQL federation vs schema stitching
  • Rust
  • SQLx + PostgreSQL
  • async-graphql
  • actix
  • Apollo Federation with Node.js

Version

See Cargo.toml version

Platforms / Technologies

Servers

Optional - Setup Local PostGreSQL database

 $ ./scripts/docker/init-db.sh

Optional - Setup SQLx cli

 $ cargo install sqlx-cli

Run user microservice

 $ cd ./svc-user
 $ sqlx database create
 $ sqlx migrate run
 $ cargo run

Run skill microservice

 $ cd ./svc-skill
 $ sqlx migrate run
 $ cargo run

Run Gateway

 $ cd ./gateway
 $ npm install
 $ npm run dev

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published