Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 971 Bytes

README.md

File metadata and controls

40 lines (29 loc) · 971 Bytes

Examples for async-graphql

A git submodule that shows example async-graphql projects.

Directory structure

  • [poem] Examples for poem
  • [actix-web] Examples for actix-web
  • [warp] Examples for warp
  • [tide] Examples for tide
  • [rocket] Examples for rocket
  • [axum] Examples for axum
  • [loco] Examples for loco
  • [federation] Examples for Apollo Federation

Running Examples

To run the examples, clone the top-level repo, async-graphql and then issue the following commands:

git clone async-graphql/async-graphql
# in async-graphql repo, install needed dependencies
cargo build

# update this repo as a git submodule
git submodule update

To run the example axum-starwars:

# change into the example folder and run a relevant binary
cargo run --bin axum-starwars

To list all available binary targets:

cargo run --bin