P-03 / nutriscan
Photograph a nutrition label and its macros land as validated rows in an 11-table Postgres schema. Per-user isolation is enforced by row-level security rather than application code, ES256 JWTs are verified server-side via JWKS, and a Gemini-to-fallback model chain with timeouts keeps the endpoint up when a provider degrades. Every uploaded image is sniffed, decoded under a pixel cap and re-encoded before it reaches storage or the model, and the model's answer is schema-checked before it reaches the log. Abuse is blocked at a middleware rather than merely alerted, a hijacked session on a delete spree is frozen on two layers, and trigger-fed recycle-bin rows make every deletion recoverable for 30 days.
FastAPI
Neon
Gemini
Groq
React