Skip to content

Add login, quota dashboard and admin dashboard - #2

Merged
Cod3Uchiha merged 4 commits into
mainfrom
agent/auth-admin-quota
Aug 9, 2026
Merged

Add login, quota dashboard and admin dashboard#2
Cod3Uchiha merged 4 commits into
mainfrom
agent/auth-admin-quota

Conversation

@Cod3Uchiha

Copy link
Copy Markdown
Owner

What changed

  • added Supabase email/password sign-in and sign-up
  • kept the public site browsable without authentication
  • added a developer dashboard with daily quota usage and API-key management
  • added an admin dashboard UI only for dev@cod3uchiha.com
  • connected the dashboard to the existing cod3uchiha-api Supabase project

Quota model

Free accounts receive 15 successful API requests per day across all endpoints. Failed API responses are not stored as daily usage.

Security

Admin data is protected by a database RPC that independently checks the authenticated Supabase email, so the frontend visibility check is not the authorization boundary.

@Cod3Uchiha
Cod3Uchiha marked this pull request as ready for review August 9, 2026 06:01
@Cod3Uchiha
Cod3Uchiha merged commit 77cfc68 into main Aug 9, 2026
2 checks passed
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.

1 participant