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
158 Stars 9 Forks Other 141 Commits 17 Opened issues

Services available

!
?

Need anything else?

Contributors list

# 8,002
rust-libr...
jinja2
template-...
Django
awesome-interview-questions 37.1K rust-library top 100
# 11,124
rust-lang
enum
Rust
Shell
xi-editor 18.5K rust-lang top 100
# 160,493
Rust
nushell 8.9K Shell top 10
# 208,379
Rust
yew 14.1K Rust top 1000
# 32,725
cryptogra...
Rust
Security
Perl
diesel 6.2K cryptography top 100

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.