Skip to Content
KarmaCircle Knowledge Base

How it fits together

The pieces behind KarmaCircle and how a click turns into saved data.

KarmaCircle is three small programs that share one database.

PieceWhat it doesBuilt with
WebsiteWhat people see and click in the browserReact
APIChecks every request and reads or saves dataNode.js and Express
WorkerDoes slow jobs in the background, like sending emailsGo
DatabaseKeeps all the dataPostgreSQL

The big picture

Who talks to whom. Hover a box to light up its connections. Drag to move around, use + and - to zoom.

What happens on a click

The browser asks the API, sending the sign-in cookie along.

The API checks the request: is the person signed in, allowed, and is the input valid?

The API reads or saves data in the database and answers.

Slow work is queued. If emails need sending, the API saves a note for the worker and wakes it up. See Background jobs.

Good to know

  • The website never touches the database. Everything goes through the API.
  • Images go straight from the browser to storage, never through the API.
  • Development and production each have their own database.

Your data

Each area lists its own data. The platform itself only adds the records it needs to stay safe and working. Everything in one place: Your data, in one place.

What we collect

DataWhenKept for
Request logs: time, address asked for, result, network addressEvery request to the APIVercel's standard log period
Request counters, by network address or account emailSign-in and other limited actionsUntil the time window ends, minutes to an hour
Background jobs, including the contents of emails waiting to go outWhen a change needs an email or a total7 days after done, 30 days if it failed
Error reports: what broke and where, never the request contentsWhen something crashes, if switched onSentry's standard period

Sign-in cookies and passwords are removed from the logs before they are written.

Why

  • Request logs help find out what went wrong when someone reports a problem.
  • Request counters stop people from guessing passwords or flooding the site.
  • Background jobs make sure an email is sent even if a service is briefly down.
  • Error reports tell the team about crashes straight away.

What we do with it

  • Only the KarmaCircle team can read logs, jobs and error reports.
  • Nothing here is sold or shared for advertising.
  • The outside services that host or receive data are listed in Your data, in one place.

How it moves

The safety records the platform keeps along the way. Drag to move around, use + and - to zoom.

On this page