metaforecast icon indicating copy to clipboard operation
metaforecast copied to clipboard

Create a map of all services we are using.

Open NunoSempere opened this issue 3 years ago • 3 comments

This pull request introduces Terraform, and argues for using Terraform cloud, but mentions that this would imply adding yet another service.

I would feel more comfortable adding a new service with a map of how these services fit together. Here is an example from a small previous project:

setup

Thoughts?

NunoSempere avatar Apr 12 '22 15:04 NunoSempere

Yep, I'd like to try mermaid for this, which github markdown supports.

berekuk avatar Apr 12 '22 21:04 berekuk

Ok, first draft...

flowchart TD

U>User] -- Request website page --> N[Next.js]

subgraph DigitalOcean
  DB[(PostgresQL database)]
end

subgraph Vercel
  N --> G[GraphQL API]
end

subgraph Algolia
  A[(Algolia index)]
end

G --> A
G --> DB

subgraph Heroku
  HS>Heroku Scheduler] --> B[Backend code on Heroku]
  B --> DB
  B --> A
end

B -- Fetch forecasts --> platforms

subgraph platforms [Forecasting platforms]
  Metaculus
  GJOpen
  Polymarket
  ...etc.
end

berekuk avatar Apr 12 '22 21:04 berekuk

Nice

NunoSempere avatar Apr 12 '22 22:04 NunoSempere