Badge Interview Week 3
← Back to Week 3 / ← Course Index
Objective
Interview on creating and listing items with Supabase.
Requirements
- Live session with a TA or instructor.
- Run your server locally or show the deployed endpoint.
- Show POST /items inserting a row using the Supabase client (env vars only, no secrets in code).
- Show GET /items returning rows including the newly inserted item.
- Explain where the Supabase client is initialized and which environment variables are required.
- Insert another item and verify it appears in the GET /items response.
- Show the exact env vars you use (for example SUPABASE_URL and a server key) and how they are loaded.
- Trigger and handle an insert error (missing field or bad type) and return a clear JSON error.
Submission
Git repo link. Include a README with run steps and the env var names required.
Rubric (20 pts)
- POST inserts through Supabase 0-5
- GET lists through Supabase 0-5
- Project runs from README 0-5
- Code organization 0-5