THE SHORT ANSWER

Ascend serves public pages from Cloudflare and stores private workspace records in Supabase Postgres. Google sign-in uses Supabase’s PKCE flow. Database membership rules control record access; explicit commands validate writes and preserve version history. Research runs separately with predefined public topics.

Four boundaries that matter

The deployed application’s responsibilities
LayerResponsibility
Public HTMLHomepage, blog guides, source links and crawlable navigation.
Browser workspaceForms, session handling, permission-aware controls and exact-cent proposal calculations.
Supabase PostgresWorkspace membership, authorized reads, validated writes and version history.
Cloudflare WorkerResearch API, caching, refresh limits and health metadata.

Blog articles are generated at build time from versioned source. Readers can access them without JavaScript. Private records are never embedded into blog HTML or a public cache.

Enforce access where the data lives

Owners manage membership, editors change records and viewers can read and export. The interface reflects those roles, but the database also enforces them. Supabase’s row-level security documentation explains how database policies and grants work together. Source: Supabase RLS.

Record updates include the version the editor loaded. A stale edit receives a conflict instead of overwriting a teammate’s work. Workspace creation, record counts and invitations have explicit limits. Account switching clears private local working data.

Google’s provider credentials stay in Supabase. The public browser key is not an administrative database credential. Authorization relies on the signed session and database rules, rather than hiding the browser key.

Keep research outside the customer record

The research API accepts predefined topics, uses a cache and bounds refresh requests. Customer names and record contents are not added to those queries. Research links remain evidence to evaluate, not automatic approval of a supplier.

Operational logs contain routes, status, duration and request identifiers. The health endpoint reports Worker availability and explicitly does not prove database health.

What is still outside the product

The marketplace’s rankings and commercial terms remain examples. Live payment settlement, supplier verification, automated introductions and the admin portal are not implemented. Production mail delivery and a tested backup-restoration process still require operational setup.

This architecture is an account of current implementation, not a certification, uptime guarantee or completed security audit. The repository keeps tests and release limitations beside the code. Read the production-readiness record.

Sources & scope

  1. Supabase · Row-level security
  2. Ascend · Source and release notes

Published by Ascend with AI-assisted research, writing and implementation. Examples are hypothetical unless explicitly identified. Source links support the statements beside them; they do not validate simulated marketplace performance. Editorial standards.

Put the idea to work.

Open Ascend