visualjerk / arkham-hq

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Arkham HQ

Personal playground project for:

  • learning more about AWS / SST
  • testing a micro service / micro frontend architecture

Architecture

We assume multiple teams develop Arkham HQ, each team owning one bounded context. Our architecture supports this through loose coupling by pushing up dependencies as high as possible, following this basic rule:

UI Link > HTTP Request > Shared Cookie > Shared Code

Infrastructure

The initial infrastructure draft used EC2 instances for hosting Next.js apps. As these need permanently running Nat Gateways, which are charged on an hourly basis, it turned out to be a quite expensive solution.

We moved to running Next.js in Lambda Functions with the help of SST and OpenNext.

About


Languages

Language:TypeScript 97.7%Language:JavaScript 1.6%Language:CSS 0.4%Language:HTML 0.3%