https://github.com/jimmymckegger/headlesssharp
CA2
https://github.com/jimmymckegger/headlesssharp
blazor csharp headless
Last synced: 2 months ago
JSON representation
CA2
- Host: GitHub
- URL: https://github.com/jimmymckegger/headlesssharp
- Owner: JimmyMcKegger
- Created: 2024-12-02T23:49:03.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-09T05:48:55.000Z (over 1 year ago)
- Last Synced: 2025-04-03T04:41:36.561Z (about 1 year ago)
- Topics: blazor, csharp, headless
- Language: HTML
- Homepage:
- Size: 285 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CA2
## Design Patterns
This is a headless website setup using a singleton pattern around the Storefront API
and the Observer Pattern was used by the blazor components that need to subscribe to updates.
Notes from Resources used:
- For getting started with GraphQL in dotnet https://devblogs.microsoft.com/dotnet/why-and-how-to-execute-graph-ql-queries-in-dotnet/
- Shopify's Storefront API https://shopify.dev/docs/api/storefront
- setting up graphql client https://blog.logrocket.com/integrating-graphql-blazor-application/
- improving singleton https://refactoring.guru/design-patterns/singleton/csharp/example#:~:text=Singleton%20is%20a%20creational%20design,the%20modularity%20of%20your%20code
- remove ignored files https://stackoverflow.com/questions/2347335/how-could-i-ignore-bin-and-obj-folders-from-git-repository
- using JObjects https://dev.to/iamrule/how-to-c-using-the-jobject-class-47e2