← Projects // current // infrastructure

> demian.app

The base domain origin and the identity authority behind every subdomain app.

Objectives

Qualities

Technical details

A single Go service that loads its content once and serves it by exact URL path.

  • internal/site holds the in-memory content cache and routing; internal/app holds the contact, login, profile, inbox, limits and storefront handlers; internal/catalog, internal/payments, internal/store, internal/mailer and internal/hashing carry the rest.
  • The identity handoff stores a one-time code bound to an app and its fixed return URL. The app exchanges it over loopback at 127.0.0.1:8083 with its app token; codes are single-use and expire after 60 seconds.
  • The storefront works in invoice mode, or through the internal PayPal relay when configured; /calendar.ics exposes a read-only subscription feed.

Open project