schema_version: 1 elements: web: type: frontend label: Web App sublabel: React brand: react description: > Page editor, viewer and search box in the browser; talks only to the API. api: type: backend label: Wiki API sublabel: REST description: > Pages, search, attachments and access checks; the only writer of the database. diagram: 0500-building-blocks/wiki-api.archify db: type: database label: Database sublabel: PostgreSQL brand: postgresql description: > Pages, revisions, users and the full-text index; the source of truth. backup-job: type: backend label: Backup job sublabel: nightly description: > Dumps the database at 02:00 and writes it to the backup bucket; keeps 30 days.