Need help with wundergraph?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

weiznich
172 Stars 10 Forks Other 141 Commits 19 Opened issues

Services available

!
?

Need anything else?

Contributors list

# 18,206
Rust
tokio-r...
SQLite
query-b...
108 commits
# 125,570
Haskell
Shell
webwork...
elm
8 commits
# 50,193
Rust
Shell
wasm-bi...
fronten...
4 commits
# 31,948
Rust
rust-la...
React
React N...
2 commits
# 241,466
Rust
ls
Vim
Neovim
2 commits
# 9,574
Rust
Symfony
curl
Gin
1 commit

Wundergraph

Wundergraph provides a platform to easily expose your database through a GraphQL interface.

Build Status

Example

For a full example application see the example project

#[macro_use] extern crate diesel;
use wundergraph::prelude::*;

table! { heros { id -> Integer, name -> Text, hair_color -> Nullable, species -> Integer, } }

table! { species { id -> Integer, name -> Text, } }

#[derive(Clone, Debug, Identifiable, WundergraphEntity)] #[table_name = "heros"] pub struct Hero { id: i32, name: String, hair_color: Option, species: HasOne, }

#[derive(Clone, Debug, Identifiable, WundergraphEntity)] #[table_name = "species"] pub struct Species { id: i32, name: String, heros: HasMany, }

wundergraph::query_object!{ Query { Hero, Species, } }

Building

Depending on your backend choice you need to install a native library.

libpq
is required for the postgresql feature,
libsqlite3
for the sqlite feature.

License

Licensed under either of these:

  • Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
  • MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)

Contributing

Unless you explicitly state otherwise, any contribution you intentionally submit for inclusion in the work, as defined in the Apache-2.0 license, shall be dual-licensed as above, without any additional terms or conditions.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.