https://github.com/stenbror/graphql_dotnet_example
Just a simple test of C# / .net GraphQL Server
https://github.com/stenbror/graphql_dotnet_example
Last synced: about 2 months ago
JSON representation
Just a simple test of C# / .net GraphQL Server
- Host: GitHub
- URL: https://github.com/stenbror/graphql_dotnet_example
- Owner: stenbror
- Created: 2023-01-11T14:39:21.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-01-19T17:41:20.000Z (over 3 years ago)
- Last Synced: 2025-03-11T20:19:19.343Z (over 1 year ago)
- Language: C#
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Build and run
dotnet build
dotnet run
## URL For playground
http://localhost:5246/GraphQL/
## GraphQL query example
query example1
{
books {
title
author {
name
}
}
}
## GraphQL mutation example
mutation example2
{
addBook(input: { book: { title: "Cool Book 2023", author: { name: "Richard Magnor Stenbro"}} }) {
book {
title
author {
name
}
}
}
}