Backend live on Cloudflare, app in a sub-agent
3:39Wrangler creates the database for me, and a second agent starts the Flutter app in parallel.
Transcript preview
the app code hasn't, started. It's just basically doing this database. So when I saw the structure, I was like, "Wait, this doesn't look like a Flutter code." Then when I went about the plan, I saw that, okay, One second. Yeah. So over here, it is describing that this will be the Flutter app, which is dash Flutter, and this will be the worker. So, the way Cloudflare works is they call them worker, and the worker will be basically including... So this is-- It's just a naming thing. It's nothing as such. But the point is the, the-- it includes all the database and, API is also it's trying to host there. it could be interesting. One second. Ah. So you see Wrangler, I have already done the CLI part. I have done the login part. So without me even having to ask it, it already logged in with my account, Cloudflare account. So now it will be able to create that database. So rather than me, having to go there, run the SQL command, make sure the table is created, I can just sit down here, and I'll be, just have the Wrangler installed. It will be able to do all of that. So you see, it's, first making sure everything is available there. I do not see the code for Magic Meals Flutter app. Can you start that in sub agent? So I actually used to start by creating a project before, but again, now it's fully AI, AI, like, AI is doing. So I feel little bit-- Because, there's a direct command, right? Just how there is a direct command to create a React.js app, there is a direct command to create a Flutter app. And, that's how I used to start always. one second. In a sub agent now in Fla-Wrangler, it has a API contract it needs. So kind of a back-end thing is done. we have a SQL database, all of that we understood, create index. Huh. So this is something which, again, we have some times I'm gonna quickly explain, but index is basically when it's doing some API calls on a regular basis, you don't want those calls to be, slow. You want them to be faster, right?…
The full lesson — video and transcript — is part of Vibe Coding.
Get Vibe Coding →