TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

GraphQL-enabled event sourcing engine

89 pointsby yrashkabout 9 years ago

3 comments

derekdahmerabout 9 years ago
I didn&#x27;t know what event sourcing was, but Martin Fowler&#x27;s article did a pretty good job explaining it:<p><a href="http:&#x2F;&#x2F;martinfowler.com&#x2F;eaaDev&#x2F;EventSourcing.html" rel="nofollow">http:&#x2F;&#x2F;martinfowler.com&#x2F;eaaDev&#x2F;EventSourcing.html</a>
评论 #11465705 未加载
评论 #11467428 未加载
评论 #11465102 未加载
tenshi47about 9 years ago
Recently I created a small example of a GraphQL server (built with <a href="http:&#x2F;&#x2F;sangria-graphql.org" rel="nofollow">http:&#x2F;&#x2F;sangria-graphql.org</a>) which is based on event-sourcing and CQRS:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;OlegIlyenko&#x2F;sangria-subscriptions-example" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;OlegIlyenko&#x2F;sangria-subscriptions-example</a><p>It does not use any event-sourcing library or anything like this, so it may be more approachable for people who are learning even-sourcing and GraphQL.<p>Interesting aspect of this project is that it uses GraphQL subscriptions to expose and stream the events (with Server-sent Events).
pdkl95about 9 years ago
<p><pre><code> &lt;body&gt; &lt;div id=&quot;app&quot;&gt;&lt;&#x2F;div&gt; &lt;script src=&quot;&#x2F;js&#x2F;bundle.js&quot;&gt;&lt;&#x2F;script&gt; &lt;&#x2F;body&gt; </code></pre> Web pages work better when they contain more than an empty &lt;div&gt;.