Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 962 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 962 Bytes

Webhooks C#

Running Instructions:

  1. Copy config.json.example to config.json
  2. Edit the config, adding your GraphQL token, and changing the graphql endpoint if needed.
  • For example, if you are testing this against the demo environment, change that graphQLEndpoint to: https://demo.xledger.net/graphql
  1. Initialize the sqlite database by running this command:
dotnet run -- db:migrate config.json
  1. Start synchronizing your projects by running this command:
dotnet run -- projects:sync config.json

Project Goals

  • Demonstrate best practices for syncing with webhooks without losing/missing data
  • Be runnable on platforms where .NET 7 is able to run, like windows, mac, linux (not all distros)

Project Non-goals

  • Demonstrate latest Microsoft technology (e.g., ASP.NET, Entity Framework)
  • Demonstrate other advanced techniques (e.g., metaprogramming, code generation, etc)