This lesson is part of Vibe Coding.

Unlock this course →Already bought it? Log in

Reading Claude's plan: database and API endpoints

10:15

The tables it will create, POST vs GET, and how to picture a database as a Google Sheet.

Transcript preview

Yeah. So there it is. Magic Meals: Photo to Macros Tracker. So it's a mobile app where a user logs in with an email OTP, photographs a plate of food and gets back ca-calories. Then see their history on a calendar, so tracking means something over time. the problem, manual calorie logging is the thing everyone quits. Searching a database for two rotis with na is not enough. So it's kind of describing the issues, so that it can kind of focus into that. V1 is the core loop, only login, scan, save, calendar, no daily targets, no manual editing. Again, later on you can add a lot of features as the users comes in. So now this is the decision part where, which is basically where the code will store. Then there is something, back-end what you're using. We are using Cloudflare here. So Cloudflare have, both options actually, R2 for saving, files and, D1, which is the data part. So it's like an SQL kind of database, so you can kind of store that data there. again, similar to what JSON was there, na, JSON but like Go-- Imagine just Google sheet. I mean, like, whenever you're imagining data, it's much-- the simplest form is Google sheet. Then for Vision we are using Claude Opus Five, structured JSON input. I have explained JSON. OTP we are using Apps Script. Now, it is suggesting, so because I told you, na, I have implemented for my own, so that's why it kind of go-got that. We'll get the script and we'll, rehost it. bundle ID. So this is very, not too important, but still because it will be added to your, URL, when you go on Play Store. So if I search for Magic Slides app, right? The-- It will be kind of included there. I can click on Android. So you see the .com.indianappguy.magicslides? That is what, it's asking here. Okay, that is the bundle ID, right? So, then it's asking the structure. So here's how it's planning. You don't have to understand major of it. You can kind of just skip. I'm just trying to tell you about main things so that you have an idea and you are able to understand. So just, this is the D1 schema, which is basically database.…

The full lesson — video and transcript — is part of Vibe Coding.

Get Vibe Coding →