Go to file
Matt dc0198dcad
Build and Push Docker Image / build (push) Successful in 1m54s Details
Add comprehensive table grants for authenticated role
RLS policies define WHAT rows can be accessed, but GRANT statements
control WHETHER a table can be accessed at all. This was causing 403
errors when authenticated users tried to access tables.

Added grants for:
- Core tables: members, membership_statuses, membership_types
- Dues: dues_payments (SELECT)
- Events: events, event_types, event_rsvps (full CRUD), event_rsvps_public
- Documents: documents, document_categories, document_folders
- Settings: app_settings (SELECT for public settings)
- Email: email_logs (SELECT for own logs)
- Preferences: user_notification_preferences (SELECT, INSERT, UPDATE)
- Views: members_with_dues, events_with_counts

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 15:40:47 +01:00
.gitea/workflows Use placeholder JWT tokens for build (real keys injected at runtime) 2026-01-25 02:38:39 +01:00
.github/workflows Use placeholder JWT tokens for build (real keys injected at runtime) 2026-01-25 02:38:39 +01:00
deploy Add comprehensive table grants for authenticated role 2026-01-26 15:40:47 +01:00
nginx Initial production deployment setup 2026-01-25 02:19:49 +01:00
scripts Add script to update kong.yml with production API keys 2026-01-26 10:03:40 +01:00
src Use dynamic env vars for Supabase config 2026-01-26 15:25:41 +01:00
static Initial production deployment setup 2026-01-25 02:19:49 +01:00
supabase Add database init script for Supabase schemas and roles 2026-01-26 09:51:21 +01:00
.dockerignore Initial production deployment setup 2026-01-25 02:19:49 +01:00
.env.example Initial production deployment setup 2026-01-25 02:19:49 +01:00
.env.production.example Use pre-built image from registry instead of local build 2026-01-25 03:02:02 +01:00
.gitignore Add production env template 2026-01-25 02:42:45 +01:00
.npmrc Initial production deployment setup 2026-01-25 02:19:49 +01:00
ARCHITECTURE.md Initial production deployment setup 2026-01-25 02:19:49 +01:00
DEPLOYMENT.md Initial production deployment setup 2026-01-25 02:19:49 +01:00
Dockerfile Initial production deployment setup 2026-01-25 02:19:49 +01:00
README.md Initial production deployment setup 2026-01-25 02:19:49 +01:00
build.log Initial production deployment setup 2026-01-25 02:19:49 +01:00
components.json Initial production deployment setup 2026-01-25 02:19:49 +01:00
deploy.sh Add Kong config generator for production API keys 2026-01-25 03:16:00 +01:00
dev-output.txt Initial production deployment setup 2026-01-25 02:19:49 +01:00
dev.log Initial production deployment setup 2026-01-25 02:19:49 +01:00
docker-compose.nginx.yml Add initial admin setup page and favicon support 2026-01-26 09:36:25 +01:00
docker-compose.prod.yml Initial production deployment setup 2026-01-25 02:19:49 +01:00
docker-compose.yml Add database init script for Supabase schemas and roles 2026-01-26 09:51:21 +01:00
npm.log Initial production deployment setup 2026-01-25 02:19:49 +01:00
package-lock.json Initial production deployment setup 2026-01-25 02:19:49 +01:00
package.json Initial production deployment setup 2026-01-25 02:19:49 +01:00
postcss.config.js Initial production deployment setup 2026-01-25 02:19:49 +01:00
svelte.config.js Initial production deployment setup 2026-01-25 02:19:49 +01:00
tsconfig.json Initial production deployment setup 2026-01-25 02:19:49 +01:00
vite.config.ts Initial production deployment setup 2026-01-25 02:19:49 +01:00

README.md

sv

Everything you need to build a Svelte project, powered by sv.

Creating a project

If you're seeing this, you've probably already done this step. Congrats!

# create a new project in the current directory
npx sv create

# create a new project in my-app
npx sv create my-app

Developing

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.