Centralized authentication service for mklv.tech apps using Supabase Auth.
- Deno (version in
.deno-version) - Atlas CLI for database schema management
- Docker (for Atlas dev container)
# macOS
brew install ariga/tap/atlas
# Or via curl
curl -sSf https://atlasgo.sh | shThe database schema is defined in db/schema.hcl. To view or apply changes:
# View what would change (fetches DATABASE_URL from Secret Manager)
deno task db:diff
# Apply schema changes
deno task db:apply
# Or provide DATABASE_URL explicitly
DATABASE_URL="postgres://..." deno task db:diffThe wrapper script uses --schema login to limit Atlas to the app's schema,
avoiding conflicts with Supabase system tables.
# Fetch secrets (requires gcloud auth)
eval $(deno task secrets)
# Run with hot reload
deno task devdeno task test # Unit tests
deno task test:all # All tests