Crates.io | sudograph |
lib.rs | sudograph |
version | 0.4.3 |
source | src |
created_at | 2021-03-13 21:13:24.287628 |
updated_at | 2021-08-01 04:03:10.779932 |
description | GraphQL database for the Internet Computer |
homepage | https://sudograph.org |
repository | |
max_upload_size | |
id | 368488 |
size | 4,546,326 |
Sudograph is a GraphQL database for the Internet Computer (IC).
Its goal is to become the simplest way to develop applications for the IC. Developers start by defining a GraphQL schema using the GraphQL SDL. Once the schema is defined, it can be included within a canister and deployed to the IC. An entire relational database is generated from the schema, with GraphQL queries and mutations enabling a variety of CRUD operations, including advanced querying over relational data.
Sudograph should be considered somewhere between alpha and beta software.
For full documentation, see The Sudograph Book, which is hosted entirely on the IC by the way.
mkdir my-new-project
cd my-new-project
npx sudograph
dfx start --background
dfx deploy
Once deployed, you can visit the following canisters from a Chromium browser:
If the above didn't work, try The Sudograph Book.
The following are very likely to be implemented by Sudograph in the short to medium term future:
@auth(role: OWNER)
for individual fieldsThe following may or may not be implemented by Sudograph, but they seem like good ideas:
Sudograph was inspired by many previous projects: