Module 9

Supabase architecture

Supabase enters EventMap as infrastructure for Postgres, Auth, API and RLS. This lesson prepares clients and env boundaries only.

Managed Postgres

EventMap will store account-based favorites in a managed relational database.

Auth

Future lessons can identify the current user before reading cloud favorites.

Auto REST API

Supabase exposes database tables through an API instead of becoming an ORM inside EventMap.

RLS

Row Level Security will keep user data scoped to the authenticated account.

Configuration status

Configured

URL readyPublishable key ready
NEXT_PUBLIC_SUPABASE_URLNEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY

Browser client

Client Components

`createSupabaseBrowserClient` is prepared for future client components such as login UI and user-facing cloud favorites.

Server client

Server boundaries

`createSupabaseServerClient` is prepared for server components, route handlers and future auth callback work.