Skip to content

An example of CQRS/Event Sourcing and GraphQL implemented in TypeScript.

License

Notifications You must be signed in to change notification settings

chatwork/cqrs-es-example-js

 
 

Repository files navigation

cqrs-es-example-js

CI Renovate License License

Overview

This is an example of CQRS/Event Sourcing and GraphQL implemented in TypeScript.

This project uses j5ik2o/event-store-adapter-js for Event Sourcing.

Please refer to here for implementation examples in other languages.

日本語

Feature

  • Write API Server(GraphQL)
  • Read API Server(GraphQL)
  • Read Model Updater on Local
  • Docker Compose Support
  • Read Model Updater on AWS Lambda
  • Deployment to AWS

Component Composition

  • Write API Server
  • Read Model Updater
    • Lambda to build read models based on journals
    • Locally, run code that emulates Lambda behavior (local-rmu)
  • Read API Server
    • API is implemented by GraphQL (Query)

Stack

This OSS repository mainly utilizes the following technology stack.

System Architecture Diagram

Development Environment

Local Environment

Links

About

An example of CQRS/Event Sourcing and GraphQL implemented in TypeScript.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 76.9%
  • Shell 11.8%
  • Makefile 4.8%
  • JavaScript 4.0%
  • Dockerfile 2.5%