Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a map of all services we are using. #56

Open
NunoSempere opened this issue Apr 12, 2022 · 3 comments
Open

Create a map of all services we are using. #56

NunoSempere opened this issue Apr 12, 2022 · 3 comments

Comments

@NunoSempere
Copy link
Collaborator

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?

@berekuk
Copy link
Collaborator

berekuk commented Apr 12, 2022

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

@berekuk
Copy link
Collaborator

berekuk commented Apr 12, 2022

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

Loading

@NunoSempere
Copy link
Collaborator Author

Nice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants