camsjams/rust-actix-graphql-sqlx-postgresql

rust-actix-graphql-sqlx-postgresql

Using GraphQL with Rust and Apollo Federation

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

  • Rust
  • Cargo
  • Actix
  • GraphQL
  • Apollo GraphQL
  • Node.js

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

Information - Updated Jul 30, 2022

Stars: 40
Forks: 8
Issues: 0

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

Rust + Hasura Rust server that functions as a Hasura

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

Newport Engine is a modular 2D and 3D game engine built in Rust for Rust

It is designed to be easily extendable and easy to use

Newport Engine is a modular 2D and 3D game engine built in Rust for Rust

liboqs-rust: Rust bindings for liboqs

Qyantum Safe liboqs rust bindings

liboqs-rust: Rust bindings for liboqs

msgflo-rust: Rust participant support for MsgFlo

Flowhub visual programming IDE

msgflo-rust: Rust participant support for MsgFlo
Actix

1.2K

How to be a full stack Rust Developer

Read Rust the Rust blog posts at Steadylearner

How to be a full stack Rust Developer

Rust library translation (rust-src/rust-std/stdlib/rustlib translation)

This is the place to translate Having a documentation in your native language is essential if you don't speak English, and still enjoyable even if...

Rust library translation (rust-src/rust-std/stdlib/rustlib translation)

False Positive for rust-lang/rust#83583

The deprecation lint proc_macro_derive_resolution_fallback is intended to catch proc macro generated code that refers to items from parent modules that should not be in scope:

False Positive for rust-lang/rust#83583

xbuild is a build tool for rust and rust/flutter projects with support for cross compiling...

xbuild is a build tool for rust and rust/flutter projects with support for cross compiling and

xbuild is a build tool for rust and rust/flutter projects with support for cross compiling...

Rust: setup Rust with rustup

wabt: --sysroot value in the Makefiles when using a different target localtion for wasi-sdk)

Rust: setup Rust with rustup

How to be a full stack Rust Developer

Read Rust the Rust blog posts at Steadylearner

How to be a full stack Rust Developer

Snake game developed in Rust using rust-sdl2 crate

Snake game developed in Rust using

Snake game developed in Rust using rust-sdl2 crate

This is a game engine for rust in rust

I'm building it as a learning experience to try and better understand rust and what goes into making a game engine

This is a game engine for rust in rust
Facebook Instagram Twitter GitHub Dribbble
Privacy