Skip to content

[SETUP] Proof of concept - #2

Merged
NoobCrewDelux merged 11 commits into
mainfrom
chore/firebase-hosting
Nov 18, 2026
Merged

NoobCrewDelux merged 11 commits into
mainfrom
chore/firebase-hosting

Conversation

@NoobCrewDelux

Copy link
Copy Markdown
Collaborator

this:
image

NoobCrewDelux and others added 11 commits October 16, 2026 03:13
…graph

- pre-commit: lint-staged (eslint --fix, prettier) then regenerates kb/assets/dependency-graph.svg
- commit-msg: commitlint enforcing kb/commit_guidelines.md types
- pnpm scripts: lint:fix, format, format:check, typecheck, graph
- setup guide switched to pnpm and the org repo; graph shown in README
Prepares the repo for the planned layout (apps/, services/, packages/).
Repo-wide tooling (prettier, husky, lint-staged, commitlint, graph) stays
at the root; the site and its eslint/vite/tsconfig move to apps/web.
Root pnpm scripts forward to the web app.
The website no longer reads or writes Supabase tables, storage or edge functions directly. A Spring Boot API (apps/api) is now the only thing that touches data. The browser keeps Supabase only for logging in.

- Every request is checked against the Supabase JWT and the caller's role in the database; anything not explicitly allowed is denied
- RSVP, payment, upload and audit-restore rules are enforced on the server
- Bank transfer screenshots are stored under random names and only streamed to admins
- Public admin sign-up is removed in favour of invitations
- Migrations close the leaked data, add the api_app role, and revoke browser access to every table
- Docker Compose runs Postgres, migrations, fake seed data and the API locally
Brings in the apps/web move, pnpm workspace, prettier, eslint,
commitlint and dependency graph tooling. Conflicts resolved by
keeping the Java API data layer from 2034f20 (signup.ts and
AdminSignup.tsx stay deleted) and pointing firebase hosting at
apps/web/dist.
Ports Gh05stt/devsuoa#155 and #156 (2b1c066, 84d07c9) into apps/web:
per-year exec photos under public/team/execs/<year>/, team.json,
teamController and the year-selectable Team page.
Creates the event-images, event-payments and Links buckets with
production's settings (skipped where Supabase Storage isn't installed),
and restores production's on_auth_user_created trigger, which the
baseline missed because it lives on auth.users.
npm run dev now brings up the Docker database and API before Vite.
dev:web runs the website alone and dev:stop stops the containers.
Also ignores personal .claude/ settings.
on_auth_user_created now makes a plain 'user' profile for every seeded
auth user, so the seed's do-nothing insert left nobody an admin and the
API's admin tests got 403s. Update the existing rows instead.
@NoobCrewDelux
NoobCrewDelux merged commit ea65c84 into main Nov 18, 2026
4 checks passed
@NoobCrewDelux

Copy link
Copy Markdown
Collaborator Author

This is a working backup of the java api. It may be used for reference if you find it

@NoobCrewDelux
NoobCrewDelux deleted the chore/firebase-hosting branch November 24, 2026 23:19
@NoobCrewDelux NoobCrewDelux changed the title Proof of concept [SETUP] Proof of concept Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants