https://github.com/jeremylikness/starrepo
A .NET 6.0 ASP.NET Core hosts Blazor WebAssembly app demonstrating client and server GraphQL with HotChocolate.
https://github.com/jeremylikness/starrepo
Last synced: about 1 month ago
JSON representation
A .NET 6.0 ASP.NET Core hosts Blazor WebAssembly app demonstrating client and server GraphQL with HotChocolate.
- Host: GitHub
- URL: https://github.com/jeremylikness/starrepo
- Owner: JeremyLikness
- License: mit
- Created: 2022-02-03T17:06:50.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-10T22:54:20.000Z (over 3 years ago)
- Last Synced: 2025-03-24T20:21:34.334Z (about 2 months ago)
- Language: C#
- Size: 4.37 MB
- Stars: 7
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# StarRepo
This repository demonstrates how to use GraphQL in an ASP.NET Core server with a .NET client (in this example, Blazor WASM). It uses [HotChocolate](https://chillicream.com/docs/hotchocolate) and [StrawberryShake](https://chillicream.com/docs/strawberryshake).
I built this example for the [Tulsa .NET User Group](https://www.meetup.com/TulsaDevelopers-net/events/283643087/).
It includes examples of queries, type extensions, resolvers, mutations, and subscriptions.
> 💡 __TIP__ The project is only partially implemented. You can expand it as a learning exercise by adding these missing features: delete capabilities, "add telescope", target maintenance, and adding new observations.
## Quickstart
1. Clone the repo: `git clone https://github.com/JeremyLikness/StarRepo`
2. Compile and runThe app is built to automatically create and seed the data.
> ⚠️ __WARNING__ The app "as is" uses a Windows-specific API to generate thumbnails. You can see a compiler supression comment that wraps use of `System.Common.Drawing` that is not supported on other platforms. You can remove the code and reference to compile and run on other platforms.
Thanks,
[@JeremyLikness](https://twitter.com/JeremyLikness)