Own product · Food diary
A private-by-design app, built alone from database to production
- Sector
- Consumer app, my own product
- My role
- Everything: product, architecture, backend, frontend and operations
- Result
- Each diary stays private because the database enforces it, not just the screen, and the AI saves time without saving anything on its own. Live at ilnami.com, in Spanish and English.
Context
Review apps answer the question “what do strangers think of this place?”. Ilnami answers a different one: what did I order here, and would I go back? It is a private food diary on your own map: the place, the date, the dishes and your verdict.
A diary like this is personal data. It shows where you go and what you like. So privacy had to be a property of the architecture, not a setting that a user can forget.
Responsibility
What was mine
- Product definition and scope
- Data model and security model
- AI integration and its limits
- Frontend, PWA and maps
- Deployment, monitoring and consent
What was not mine
- The platforms underneath — Supabase, Vercel, OpenAI and Mapbox — which I chose and configured but do not operate
Decisions
- 1
Authorisation inside the database, with PostgreSQL row-level security
Why: Every query is filtered to the owner of the row or to the circle it was shared with. A bug in the application cannot show one person's diary to another.
Rejected alternative: Permission checks only in application code.
- 2
No public profiles, no public reviews; private circles by invitation
Why: Sharing is always an explicit act. The product never needs to expose anyone in order to grow.
Rejected alternative: A public feed of reviews as a growth channel.
- 3
AI that assists and never decides
Why: OpenAI Vision reads menus, labels and receipts and suggests the place, the date and the dishes. The user reviews everything before saving, manual entry always works, and quotas per plan keep costs under control.
Rejected alternative: Saving whatever the model extracts.
- 4
Stored data stays in the EU
Why: Supabase in Frankfurt and Vercel in fra1: the database and the app run in the EU. Only the images a user chooses to scan are sent to OpenAI for suggestions.
Rejected alternative: Default US regions.
- 5
Monitoring without personal data
Why: Sentry runs without personal data, analytics only load with consent, and a strict Content Security Policy limits what the browser can load.
Rejected alternative: Default SDK settings that collect more than needed.
Simplified architecture
Implementation
Next.js 16 as a PWA on Vercel, with Supabase for authentication and PostgreSQL. PostGIS stores the places and Mapbox draws each user's private map.
Users can export all their data as JSON at any time.
The site is ready for AI agents too: llms.txt, llms-full.txt, an Agent Skills index and a blog that is also published as Markdown.
Result
- Online and open at ilnami.com, in Spanish and English.
- Privacy enforced by the database, not only by the interface.
- AI that saves time without ever writing data on its own.
- The database and the app hosted in the EU, with analytics only after consent.
Stack
- Next.js 16
- Supabase
- PostgreSQL RLS
- PostGIS
- Mapbox
- OpenAI Vision
- PWA
- Sentry
- Vercel
I take on work I can do well and sustain. If your project is not a good fit, I will tell you and point you somewhere better.
Let's talk