chatwork / cqrs-es-example-js

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License:Apache License 2.0


Languages

Language:TypeScript 76.9%Language:Shell 11.8%Language:Makefile 4.8%Language:JavaScript 4.0%Language:Dockerfile 2.5%