Imported from MichealYang1001/sober-admin (
AGENTS.md). Install upstream withnpx skills add MichealYang1001/sober-admin. Copyright stays with the author.
Project Context
- This repository is the
sober-adminmanagement frontend. - The shared backend is the
sober-apirepository at/Users/michaelyang/sober-api. - The student-facing frontend is the
sober-clubrepository at/Users/michaelyang/sober-club. - Both
sober-adminandsober-clubuse APIs and user data provided bysober-api. - Local frontend API requests use
NEXT_PUBLIC_SOBER_API_BASE_URLand default tohttp://localhost:5002. - The Render PostgreSQL connection URL is stored locally in
.env.localasSOBER_RENDER_DATABASE_URL; its source is/Users/michaelyang/sober-club/.env.local. - Never print, expose, commit, or rename the database URL with a
NEXT_PUBLIC_prefix. Use it only for authorized direct database maintenance. - When changing API integrations or shared user fields, check the matching routes and schemas in
sober-apiand the affected usage in both frontend repositories.