YouTube2Text

Build an Interior Designer AI App with Claude (FULL COURSE) — Transcript

by Codesistency · 19,922 words · 2,752 segments · language en · Watch on YouTube

Full transcript

  1. 0:00The mobile app that you see on the
  2. 0:01screen is making around $800,000
  3. 0:05every single month. And the crazy part
  4. 0:07is that it does something incredibly
  5. 0:10simple. You take a picture of your room,
  6. 0:12choose a design style, and AI completely
  7. 0:16redesigns it for you. Now, when you see
  8. 0:18an app like this making that much money,
  9. 0:21you might think building something
  10. 0:22similar would be extremely complicated.
  11. 0:25But you don't actually need to train
  12. 0:27your own AI models or have a huge
  13. 0:30development team. You can take an
  14. 0:32existing AI model, integrate it into a
  15. 0:35mobile app, and build a real product
  16. 0:38around it. So I thought, why don't we
  17. 0:40build our own version of HomeAI using
  18. 0:43cloud? And that's exactly what we're
  19. 0:45going to do in this video. We're going
  20. 0:47to build a fully functional mobile
  21. 0:49application using React Native and Expo.
  22. 0:52And I'll show you how to use cloud
  23. 0:55throughout the entire process. That
  24. 0:57covers planning the application,
  25. 0:59generating beautiful designs, building
  26. 1:02all the screens, setting up our back
  27. 1:04end, and integrating AI image generation
  28. 1:07so our application actually works. And
  29. 1:10on top of the application itself, I'm
  30. 1:12also going to show you how to build a
  31. 1:15beautiful landing page and the legal
  32. 1:17pages like the privacy policy and terms
  33. 1:20of service, which is something that you
  34. 1:22will need when you publish your app to
  35. 1:24the app store. And the best part is you
  36. 1:27don't need to be an experienced
  37. 1:28developer to follow along. I'm going to
  38. 1:30walk you through everything step by
  39. 1:32step. Once you understand this workflow,
  40. 1:35you should be able to take pretty much
  41. 1:37any app idea, turn it into a real mobile
  42. 1:40app, monetize it, and publish it to the
  43. 1:43app store. And by the way, this tutorial
  44. 1:45is coming from someone who has actually
  45. 1:47done this before. So, I've built and
  46. 1:50published my own AI powered application
  47. 1:52to the app store in just 14 days. And
  48. 1:55only 5 days after launching it, I got my
  49. 1:58very first paying customer. I even used
  50. 2:01AI influencers on Tik Tok and Instagram
  51. 2:04to market it and bring in real paying
  52. 2:07customers. So, in this video, I want to
  53. 2:09show you the same workflow that I used,
  54. 2:12but this time we are applying it to our
  55. 2:14own version of Home AI. And the goal
  56. 2:16isn't just to give you another app to
  57. 2:19copy and paste. I want you to understand
  58. 2:21how everything works together so you can
  59. 2:23use the same approach for your own
  60. 2:25projects. So, here is what we are
  61. 2:27building. You upload a picture of any
  62. 2:30room, whether that's bedroom, a kitchen,
  63. 2:33or a living room. You pick a design
  64. 2:36style and hit generate. Our application
  65. 2:39sends that image to an AI model and you
  66. 2:42get back a completely redesigned version
  67. 2:44of your room that you can compare with
  68. 2:46the original. From there, you can
  69. 2:48upscale it to HD or share it. So, that's
  70. 2:52the project. And there are a couple of
  71. 2:54tools that I want to show you throughout
  72. 2:56this tutorial. We're going to use cloud
  73. 2:58to generate most of our code. But with
  74. 3:00AI generated code, it's really easy to
  75. 3:03end up with thousands of lines without
  76. 3:05fully understanding what is happening
  77. 3:07behind the scenes. And we can't just
  78. 3:09blindly trust everything that AI
  79. 3:12generates. So I'm going to show you how
  80. 3:14to use Code Rabbit to automatically
  81. 3:16review our code, find potential issues,
  82. 3:19and make improvements as we go. For our
  83. 3:22back end, we're going to use Neon, which
  84. 3:24will handle the authentication, managing
  85. 3:27the users, and storing all of our app
  86. 3:30data. And since this is an AI image
  87. 3:32generation app, we will use image kit to
  88. 3:35upload, store, and optimize all those
  89. 3:38images. Okay, so as you can tell, we
  90. 3:40have millions of different things to
  91. 3:42learn from this tutorial. So with that
  92. 3:44being said, if you're ready, let's jump
  93. 3:46into it.
  94. 3:50All right. So, just before we start
  95. 3:51coding, let's go ahead and set up the
  96. 3:53tools that you're going to need to build
  97. 3:55a mobile application. So, first things
  98. 3:58first, you must have Node.js installed
  99. 4:00in your machine. If you don't have it
  100. 4:02already, go ahead and visit node.js.org,
  101. 4:06then press this button called download,
  102. 4:09then leave every option as is, then
  103. 4:12press this button. Now, in my case, I
  104. 4:14already have this installed, so I'm not
  105. 4:16going to install it again. But just be
  106. 4:18aware that all these options will be
  107. 4:21selected automatically. And it is smart
  108. 4:23enough to understand if you're on Mac,
  109. 4:26Windows, or Linux, or even this option.
  110. 4:29Um, so you should you shouldn't really
  111. 4:31change any of these options, but just
  112. 4:34install the installer itself. Then once
  113. 4:37you have it installed, just go ahead and
  114. 4:39set that up. That would be a couple of
  115. 4:41minutes. Then once you have NodeJS,
  116. 4:44you're ready to follow along with me.
  117. 4:47Um, one thing that I want to mention is
  118. 4:50that I'm using Mac, but if you're on
  119. 4:53Windows or Linux, that's completely
  120. 4:55fine. The entire process will be the
  121. 4:58same. Okay, so that's one thing. I'll
  122. 5:01just assume that you have NodeJS
  123. 5:02installed. Now, for the coding
  124. 5:05environment, I'll be using Visual Studio
  125. 5:07Code, which you can get it under the
  126. 5:09code.visisualstudio.com.
  127. 5:10visualstudio.com.
  128. 5:12It's completely free. Just press this
  129. 5:14button and have it installed. You can
  130. 5:17use anything else that you want. But if
  131. 5:20you want to have the same environment
  132. 5:21that I have, you know, you should get
  133. 5:24this one and I would highly highly
  134. 5:26recommend. This is how that look. I'm
  135. 5:28going to get into it in a second. Now,
  136. 5:30obviously, we're going to be using AI.
  137. 5:33In my case, I'll be using cloud
  138. 5:34specifically, but you can use really any
  139. 5:37other option that you want. Once again,
  140. 5:40the entire workflow will be the same.
  141. 5:43So, if you're using Codex, cloud,
  142. 5:45cursor, you know, it's it's the same
  143. 5:48process. Okay. Once again, I'll be using
  144. 5:50cloud. You can go with the $20 plan. In
  145. 5:53my case, I have the max plan, which is
  146. 5:56like $100, but you definitely don't need
  147. 5:58to go that high, especially if you're
  148. 6:01just testing this out for the first
  149. 6:03time. Now, you can use the free plan as
  150. 6:05well, but obviously that's not going to
  151. 6:07be enough if you would like to build a
  152. 6:09real project. And I think just paying
  153. 6:12$20 is one of the best investments that
  154. 6:15you could ever make. Like in my case, to
  155. 6:17be honest, I pay $100 to Cloud and
  156. 6:21another $100 to Codex and I'm using them
  157. 6:24every single day. Okay, so with that
  158. 6:26said, you would like to go into VS Code
  159. 6:29and actually just go ahead and visit
  160. 6:32your desktop, right? Create an empty
  161. 6:36folder right here. Then drag and drop it
  162. 6:39into VS Code. You can call it anything
  163. 6:41that you wish. In my case, I called this
  164. 6:44as home AI or home- AI. That's my folder
  165. 6:48name. I just dragged and dropped it
  166. 6:50right here. Okay, this will be the UI
  167. 6:53that you're going to get. Then from the
  168. 6:55extensions, you can install the cloud
  169. 6:58extensions. Sorry, the cloud extension.
  170. 7:00This is what I'm using. If you're using
  171. 7:02Codex, you can install that one as well.
  172. 7:07Like it's going to be this one. Install
  173. 7:09it and authenticate.
  174. 7:11So like just double press right here.
  175. 7:14Then you can see the cloud or CEX
  176. 7:16option.
  177. 7:18Just press one of them. And here you
  178. 7:21would like to say like log me in for the
  179. 7:23first time. This is what you're going to
  180. 7:25see. Um in my case I'm already logged in
  181. 7:27so I can just talk with cloud here. I'll
  182. 7:30just say hey just to show you that this
  183. 7:32actually works.
  184. 7:36Okay. So I can get the response back. Um
  185. 7:39that's the entire setup for the
  186. 7:41prerequisites and the environment. Now
  187. 7:44that we have this set it up, we can
  188. 7:46start planning our project. All right.
  189. 7:49So this is where we left. We tested out
  190. 7:51cloud if it is working or not. In my
  191. 7:53case, it is working and I'm going to
  192. 7:55assume that it is also working for you.
  193. 7:57Now we will create a new session and
  194. 8:00then close this previous one. Then we'll
  195. 8:02just get started with building our
  196. 8:04project. Now the number one mistake that
  197. 8:07beginners make is immediately jumping
  198. 8:10into clot and then just asking, hey, you
  199. 8:13know, build me this project for this
  200. 8:16purpose. But that's the problem. Um, you
  201. 8:20should first kind of like plan the
  202. 8:22entire thing, you know, your decisions,
  203. 8:24your text stack and so on so that AI
  204. 8:28doesn't really guess any of these
  205. 8:30features or, you know, the technologies
  206. 8:33that you would like to use. And there is
  207. 8:35a really good tool for this that is
  208. 8:37built into any kind of coding AI agent,
  209. 8:41which is the mode. So instead of going
  210. 8:43with the auto mode here, you can tell
  211. 8:45like we have bunch of different modes.
  212. 8:47You would like to select the plan mode.
  213. 8:49This is number one thing that you should
  214. 8:51do especially if you're just getting
  215. 8:53started with a project. And this plan
  216. 8:56mode is actually one of the first steps
  217. 8:59in our entire workflow. So this is the
  218. 9:02workflow that I used to build my own
  219. 9:04mobile application by the way. So this
  220. 9:07consists of couple of different steps
  221. 9:09where we first plan and describe our
  222. 9:11project. This includes things like you
  223. 9:14know defining the idea, the goals,
  224. 9:16features, you know screens or pages,
  225. 9:19user flow, text tag and so on. Now once
  226. 9:22you have the plan it is it's going to be
  227. 9:25really easy for you to generate the UI
  228. 9:28design because you'll just say hey cloud
  229. 9:30I have all these you know all this plan
  230. 9:34and pages or screens whatever you'd like
  231. 9:37to call it just go ahead and get me a UI
  232. 9:40design and I'm going to show you how you
  233. 9:42can get some reference images that are
  234. 9:44looking very nice and modern then kind
  235. 9:47of like turn it into code and then you
  236. 9:50know we will break it into features
  237. 9:52We're going to build one at a time. We
  238. 9:54will manually check them. Then we'll run
  239. 9:56an AI code review. Then, you know, if
  240. 9:59everything is completed,
  241. 10:02you know, the project is completed. If
  242. 10:04we have more features, then we're going
  243. 10:06to run this workflow multiple times
  244. 10:08until we have no more work left, right?
  245. 10:13Okay. So, we're going to get into this
  246. 10:15in detail, I promise. But first let's
  247. 10:18just get started with the very first
  248. 10:20step which is planning our project. And
  249. 10:24now to plan your application I have
  250. 10:26prepared a really good prompt that I'm
  251. 10:28using every single day and it is working
  252. 10:31really really nice. So I'm going to
  253. 10:33provide this link in the description. Go
  254. 10:35ahead and visit that if you want to like
  255. 10:38just pause the video and read the entire
  256. 10:40thing. I'm going to explain in simple
  257. 10:42terms but first let's copy the entire
  258. 10:44thing. Okay. So just copy it. And what
  259. 10:47this does is basically this is telling
  260. 10:50AI. I think by the way I deleted
  261. 10:52something here accidentally. Did I?
  262. 10:56Not really. Let me just kind of fix
  263. 10:58this. Okay. So what this says is like
  264. 11:01telling AI that interview me about this
  265. 11:04project that I'm about to describe. So
  266. 11:07it says, "Hey, you know, Claude, just go
  267. 11:10ahead and ask me bunch of different
  268. 11:13questions." Like anytime you have a
  269. 11:15question, just ask me, right? Don't
  270. 11:17guess anything. This is really important
  271. 11:20because you don't really want your AI
  272. 11:22agent to guess stuff, right? So you say,
  273. 11:25"Instead of guessing, just ask me,
  274. 11:27right? And then I'm going to answer." So
  275. 11:30just go ahead and copy. You're going to
  276. 11:31see what I mean in a second. You would
  277. 11:34like to copy this. Select the plan mode
  278. 11:36right
  279. 11:38and then paste this right here. Now at
  280. 11:40the end we say begin now by asking me
  281. 11:44your first batch of questions about the
  282. 11:47project that I'm about to describe. So
  283. 11:49here you would like to describe your
  284. 11:51project. Now what you can do is using a
  285. 11:54tool like whisper flow so that you can
  286. 11:57just talk to it instead of typing. So
  287. 11:59you can just dump everything in your
  288. 12:01mind into here in couple of seconds or
  289. 12:04like minutes. Here I'll just say
  290. 12:07something like, "Hey, I want to build a
  291. 12:10home AI clone, which is like an app
  292. 12:13where you take a photo of your room and
  293. 12:16then AI designs it."
  294. 12:19Okay, so that's the idea. But here for
  295. 12:22this tutorial, I have already prepared
  296. 12:24my prompt. I'm just going to paste it so
  297. 12:26that you can have it as an example.
  298. 12:29Okay, so off camera I have just pasted
  299. 12:31this in and let me just walk you through
  300. 12:33it. So here I say I want to build a
  301. 12:36mobile home designer app similar to home
  302. 12:39AI. The goal is to keep things simple
  303. 12:42for version one. I don't want to over
  304. 12:45complicate the project but I want to
  305. 12:47build something that actually works and
  306. 12:49looks professional. Now I think this is
  307. 12:52one of the most important things that
  308. 12:53you should do for the version one which
  309. 12:56is the initial release that you are
  310. 12:58doing. Just don't over complicate the
  311. 13:00project. Just build something simple and
  312. 13:03then push it to the users and see if
  313. 13:06people are actually interested in in
  314. 13:08this product. Right? If you start making
  315. 13:11money then you can always um make it
  316. 13:14more complicated with a better UI and so
  317. 13:17on. Okay. So here what I do is like
  318. 13:20explaining the main functionality. I'm
  319. 13:22not going to read it out loud but you
  320. 13:24can pause the video and read it. Like
  321. 13:26this is how I would describe my project,
  322. 13:28right?
  323. 13:30And then obviously I give the text tag
  324. 13:33so that it doesn't really guess any kind
  325. 13:35of random stuff. So here I say I'll be
  326. 13:38using Expo and React Native to build the
  327. 13:40application. If you don't know what that
  328. 13:42is, by the way, I'm going to walk you
  329. 13:44through it. Then we use neon for our
  330. 13:46entire back end you know for
  331. 13:48authentication database and so on. Then
  332. 13:51we'll be using image kit for image
  333. 13:52uploads storage optimization and
  334. 13:55transformations. Now this is really
  335. 13:57important because our project will be
  336. 14:00all about images right and then we have
  337. 14:03open AI where we can
  338. 14:06um sorry where we can send the images to
  339. 14:08open AAI so that AI can generate the
  340. 14:12designed image. Right. You're going to
  341. 14:14see how that work. And then here I say
  342. 14:17for now we are only in the planning
  343. 14:18phase. Just don't write the code yet.
  344. 14:21Right. Make sure you are in the plan
  345. 14:23mode. And I'm going to send this. Also
  346. 14:26for the effort you can go with high or
  347. 14:29like extra high. I think I'll just go
  348. 14:31with high.
  349. 14:33Uh but yeah, you can always um kind of
  350. 14:36like increase it, decrease it, or even
  351. 14:38go with the ultra ultra mode. Now what's
  352. 14:41going to happen is that
  353. 14:44um cloud will start asking us a bunch of
  354. 14:47different questions right and here we go
  355. 14:50we got the very first batch so we have
  356. 14:53four different questions that we need to
  357. 14:55answer. Once we answer them then claude
  358. 14:58will ask another four or you know three
  359. 15:00five whatever that is amount of
  360. 15:03questions and once we have all of them
  361. 15:05answered then we're going to get a plan.
  362. 15:08Now, usually what you would like to do,
  363. 15:10of course, read the question. Most of
  364. 15:12the time, your answer would be the
  365. 15:14recommended one, but there are some
  366. 15:17times where you would like to go with a
  367. 15:19different option, right? So, if you're
  368. 15:22building this as your actual project
  369. 15:24where you would like to publish it to
  370. 15:26the app store, then I would highly
  371. 15:28highly recommend you to read all these
  372. 15:31options rather than randomly selecting
  373. 15:34the first one. This is a tutorial. Most
  374. 15:36of the time, I'll just go with the
  375. 15:38recommended one. So, we don't really
  376. 15:39waste too much time reading all of this.
  377. 15:42But,
  378. 15:44you know, if I if I were you, I would
  379. 15:46obviously read all of them. And that's
  380. 15:48what I've done when I was building my
  381. 15:50own project as well, right? So, here I'm
  382. 15:52going to select email and password. You
  383. 15:55can go with Google and Apple as well.
  384. 15:57Let's actually go with three of them.
  385. 16:00Um, by the way, if you're building
  386. 16:02something um with authentication, like
  387. 16:05if you include Google or Discord,
  388. 16:07whatever, you have to have Apple as
  389. 16:10well. Otherwise, App Store will reject
  390. 16:13your application. This is something that
  391. 16:15you should keep in mind. Apple says if
  392. 16:17you if you're going to include any kind
  393. 16:19of social authenticator like Google, you
  394. 16:22know, you get you got the point. They
  395. 16:24say you have to have me as well, right?
  396. 16:28And then here I'll just say free quota
  397. 16:30for now or yeah for now let's just go
  398. 16:33with the free quota. And then it says
  399. 16:35what is the realistic destination for
  400. 16:38version one. Let's just say not only a
  401. 16:40YouTube tutorial but a real public
  402. 16:43release. Right.
  403. 16:46Okay. Because I just want to simulate as
  404. 16:49if we are building a real project rather
  405. 16:51than a YouTube demo. All right. So after
  406. 16:54a couple of seconds, I got the other
  407. 16:57batch, right? Again, I'll just go with
  408. 16:59the recommended options. I have already
  409. 17:02read them, by the way. Like these are
  410. 17:03the ones that I'd like to go with.
  411. 17:07Let's go ahead. For the styles, like you
  412. 17:09can go with four or eight. I'll just go
  413. 17:11with eight. Um
  414. 17:14I think yeah, I think I like this one.
  415. 17:16And then for the saving, let's just say
  416. 17:18autos save to history. Now there are
  417. 17:20some questions where you can select
  418. 17:22multiple options, right? Um for now
  419. 17:24we'll just say autos save it to history.
  420. 17:29Then we got the third batch. So you got
  421. 17:31the point from here on out. Like you can
  422. 17:34always pause the video and read it, but
  423. 17:36I'll just keep going, right? I'll be
  424. 17:38pretty fast here. I'll go with five
  425. 17:41generations per day per account instead
  426. 17:44of three. Um here for the platforms,
  427. 17:47let's go with the recommended one. I'll
  428. 17:50just go with the dark only for now. But
  429. 17:53anytime you want to change, obviously
  430. 17:55you can just go and update it in your
  431. 17:57plan. For now, let's just go with the
  432. 17:59dark mode only. And then I'm going to
  433. 18:01select this one for the image URLs. This
  434. 18:04is for the you know, let's say privacy.
  435. 18:08And then let's wait for the next batch.
  436. 18:11And then we got the DB access. I'll be
  437. 18:14going with the result or rem native went
  438. 18:17just for the styling. And by the way, if
  439. 18:20you're not like um let's say if you're
  440. 18:22not technical at all, these will look a
  441. 18:26little bit confusing to you. That's
  442. 18:27completely fine. Like just understand
  443. 18:30the workflow. I think you should be able
  444. 18:32to build any kind of project with this
  445. 18:35workflow. Like you get the plan mode
  446. 18:38prompt, then you explain your project.
  447. 18:41All you need to do is just going with
  448. 18:43the recommended options for the things
  449. 18:45that you don't actually understand like
  450. 18:48native went you don't know what that is
  451. 18:50that's completely fine but if you're
  452. 18:52already a developer you know what this
  453. 18:53means but you got the point now for the
  454. 18:56monitoring u I would usually go with the
  455. 18:59sentry without thinking even twice here
  456. 19:03for now I'll just say let's for now say
  457. 19:06other and I'll just say skip for
  458. 19:09this project. Let's just say at least
  459. 19:12for now.
  460. 19:15Um, by the way, if you don't know what
  461. 19:17sentry is, basically let's say you got
  462. 19:20an error in your application, right? One
  463. 19:23of your users got an error as the owner
  464. 19:26of the project, you get notified
  465. 19:28immediately. So, this is what we call
  466. 19:31the error tracking and monitoring. This
  467. 19:34is what I use in my actual mobile
  468. 19:36application which is live on the app
  469. 19:38store and it is really really useful.
  470. 19:41But for now I think I'll just keep it
  471. 19:42simple. Let's say skip skip it for this
  472. 19:46project. Maybe later in the video I can
  473. 19:48show you how to set that up. But then
  474. 19:50here it says um yeah we don't have any
  475. 19:54hard deadline but you know I built mine
  476. 19:58in less than two weeks and I was
  477. 20:00recording the entire thing that's why it
  478. 20:02took so long. I think if you just log in
  479. 20:05and build it all day every day you can
  480. 20:08just go even live in like 10 days. Um
  481. 20:11for now I'll just say no hard deadline.
  482. 20:14All right. So once you answered all
  483. 20:16these questions, what will happen is
  484. 20:18that cloud will write the entire plan.
  485. 20:21Here I'm going to shrink the left hand
  486. 20:22side. You can do it with controlB,
  487. 20:25right? You can toggle this with control
  488. 20:27or commandB. Uh but anyways, like we
  489. 20:31have the entire plan. What I would do is
  490. 20:33basically reading the entire thing
  491. 20:36pretty quickly and then just see if
  492. 20:38there is anything that I don't like. If
  493. 20:40you're not technical, you're not going
  494. 20:42to understand this part which is
  495. 20:43completely fine. You can just trust to
  496. 20:46AI like nowadays they're really really
  497. 20:49good. So I don't think that would be a
  498. 20:51problem. Then here you would just say
  499. 20:53accept this plan. Now if there is uh if
  500. 20:56there is anything that you don't really
  501. 20:58like obviously you can just go ahead and
  502. 21:00talk with Claude. But in my case I'll
  503. 21:02say I'm pretty happy with it. So I'm
  504. 21:04just say yes and use the auto mode.
  505. 21:11I think um what we can do I'm just going
  506. 21:14to actually pause this right um I'm
  507. 21:17going to yeah I was going to say I'm
  508. 21:19going to pause it but here it actually
  509. 21:22completed the entire process which is
  510. 21:24generating the plan I'll just say
  511. 21:28for now let's go ahead and set up an
  512. 21:31expo project using the expo command and
  513. 21:35you know just generate it under the
  514. 21:38current folder which is home-ai.
  515. 21:44Okay, so I'm going to run this in a
  516. 21:46second, but first let's go back into the
  517. 21:49Chrome and here I'll just search for
  518. 21:51expo.dev/d
  519. 21:54docs.
  520. 21:55Now from the documentation, let me try
  521. 21:57to zoom in. You're going to see that
  522. 21:59there is a command where it is going to
  523. 22:02generate a mobile application for you,
  524. 22:04right? So you can do it manually like
  525. 22:07copy it and then go into terminal. You
  526. 22:10can open this up with command J or
  527. 22:13control J. But here I'll just say you
  528. 22:16know set up expo project for me. I don't
  529. 22:18really need to do it manually.
  530. 22:22Okay. So I'm going to run this.
  531. 22:25Like once this is done, you're going to
  532. 22:27see that you will get a bunch of
  533. 22:29different files and folders which is
  534. 22:32setting up a mobile application for you.
  535. 22:35Now this is going to be a boilerplate
  536. 22:37which means it is just a template right
  537. 22:40just a template where you can update it.
  538. 22:43And actually we are going to delete most
  539. 22:44of them and build something from
  540. 22:46scratch. But just know that this is a
  541. 22:49template. It comes with every kind of
  542. 22:51tooling and you know any kind of
  543. 22:54configuration that is needed so that you
  544. 22:57don't really need to build it all from
  545. 22:59scratch and just only one code base is
  546. 23:03enough for you to publish it to both app
  547. 23:06store and Android. That's the beauty of
  548. 23:09expo in the first place. Right. And here
  549. 23:12I'll just go and visit expo.dev.
  550. 23:16Now, if you don't know already, this is
  551. 23:18the infrastructure where you can build a
  552. 23:21mobile app and publish it to the app
  553. 23:23store or play store. This is what I'm
  554. 23:26using for my own app as well. It's
  555. 23:28completely free to get started with. But
  556. 23:31obviously, if you would like to, you
  557. 23:33know, build something professional, then
  558. 23:35you can go with the $19 a month plan.
  559. 23:38But for this tutorial and for now, like
  560. 23:42absolutely, you don't need to go with
  561. 23:43the paid plan. This is only once you
  562. 23:46want to publish your app to the app
  563. 23:47store, right? And then you can take a
  564. 23:49look at the apps that are built with
  565. 23:51Expo like Replet, Kick, um, Phantom,
  566. 23:55like some of the best applications out
  567. 23:58there. Okay, so this is completely
  568. 24:00production ready. One of the most modern
  569. 24:03tools out there.
  570. 24:06Um, so yeah, with that said, let's go
  571. 24:08ahead and take a look at the codebase.
  572. 24:12cloud is done and we have our project.
  573. 24:14Now, we can run this app with our
  574. 24:17simulator, which is what I'll be doing
  575. 24:19pretty quickly. But you can also run
  576. 24:21this with like within your own device.
  577. 24:25If you have Android, you can run it
  578. 24:27within that. If you have an iPhone, you
  579. 24:29know, whatever you can run within your
  580. 24:31device. You might be asking how. Just go
  581. 24:34ahead, open up your terminal and then
  582. 24:36just say MPX Expo. So once you run MPX
  583. 24:40expo, you're going to get a QR code. Now
  584. 24:43from your phone, just go ahead and
  585. 24:45search for Expo right in App Store or
  586. 24:50sorry either in App Store or Play Store,
  587. 24:53install the Expo mobile application,
  588. 24:55right? Once you have installed it, then
  589. 24:58scan this QR code. This is what I'll be
  590. 25:01doing. Just give me a second and then
  591. 25:03I'm going to open up my camera and show
  592. 25:05you that it actually works. So let me
  593. 25:08kind of like um scan this from my phone.
  594. 25:11I'm doing it right now. So while this is
  595. 25:14getting loaded in my phone, you can also
  596. 25:16run it in the simulator. Right. First
  597. 25:19you need to install a simulator. Um if
  598. 25:22you're in Windows, you should get the
  599. 25:24Android emulator. Uh but yeah, it is the
  600. 25:28same idea. Basically, you will press I
  601. 25:30if you're in Mac, which stands for iOS,
  602. 25:34right? You might get a question like
  603. 25:36this. Just press enter. It will install
  604. 25:39the Xogo application. And then if you're
  605. 25:42in Android, press A. Okay, which means
  606. 25:46Android. Let me actually put them side
  607. 25:49by side.
  608. 25:53So here you can tell I have bunch of
  609. 25:55different applications, but here we have
  610. 25:58the Expo as well.
  611. 26:00It is going to run this template project
  612. 26:03within the simulator. And if you scan
  613. 26:06this QR code, you will get the same app
  614. 26:08in your actual phone, right? And here we
  615. 26:11go. Now we have two different tabs. And
  616. 26:15within this, we just have a an example
  617. 26:18UI.
  618. 26:20Now, obviously, we're going to delete
  619. 26:21everything that we have right here and
  620. 26:23change it with an app for the home AI,
  621. 26:27but this is the template that you get
  622. 26:30from Expo. Now if you scan this QR code
  623. 26:33in your phone and if it still doesn't
  624. 26:36open what you can do is stopping this
  625. 26:38with Ctrl C clear this and then just
  626. 26:42type MPX expo- dash tunnel.
  627. 26:49So just wait a little bit and then
  628. 26:51you're going to get a QR code. Then you
  629. 26:53can scan this again. This is what I'll
  630. 26:55be doing
  631. 26:56and then hopefully this time it should
  632. 26:58open. So here we go. In my phone, I have
  633. 27:02the app. It is running. Like right here,
  634. 27:05it is in the dark mode. And right here
  635. 27:07in the simulator, it is in the light
  636. 27:09mode. But let me kind of like change the
  637. 27:12mode pretty quickly. I can go from dark
  638. 27:15to light. And it is working properly.
  639. 27:18Like I can switch the tabs just like
  640. 27:21right here. Okay. Um, one more thing,
  641. 27:25just make sure that you have the same
  642. 27:28Wi-Fi in your mobile and in your laptop.
  643. 27:32Otherwise, I think you cannot run this
  644. 27:35application. One more thing here, if you
  645. 27:37want to reload this, you can just press
  646. 27:40Ctrl D. You're going to get the dev
  647. 27:44tools, right? Then you can just press
  648. 27:46the reload button. And then once again,
  649. 27:49you can press Ctrl D. Right here you
  650. 27:52have bunch of different options like
  651. 27:53something called tools button and it's
  652. 27:56going to show you this button. Right? So
  653. 27:58every time you can press this instead of
  654. 28:00pressing Ctrl D. But yeah, I'm going to
  655. 28:03leave this for you to explore. And if
  656. 28:06you want to open this up in your phone,
  657. 28:08what you need to do is this. Just take
  658. 28:10your phone right and then kind of like
  659. 28:13um shake it to the left and right. Um
  660. 28:16like you're going to get this. What do
  661. 28:19we call it? the dev tools. Okay, I think
  662. 28:22that's it for this entire section. At
  663. 28:25the very end, I'll just ask claude here.
  664. 28:28I'm going to say, so you have generated
  665. 28:31a plan. Please go ahead and save this
  666. 28:34under a file in my codebase. Just call
  667. 28:37it plan.md.
  668. 28:41And I'm going to make this all
  669. 28:42uppercased. Right? So, let's run this.
  670. 28:46We already had the plan, right? Well, I
  671. 28:50want to kind of like have it right here
  672. 28:52so that I can check it anytime that I
  673. 28:54want. As you can tell, let me maximize
  674. 28:57this. We have that previous plan. But
  675. 29:00now, anytime I want to see it, I can
  676. 29:02just come right here and visit this
  677. 29:04file. This is one of the things that I
  678. 29:06do and I would highly highly recommend
  679. 29:09as well. I'm going to leave this lesson
  680. 29:11right here. Let's pretty quickly
  681. 29:13summarize what we have done. We created
  682. 29:16sorry we just got a prompt that I
  683. 29:20already prepared. Then we just explained
  684. 29:22our project. Then depending on what we
  685. 29:25have explained we got bunch of different
  686. 29:27questions and once we answered them we
  687. 29:30got a plan. Now we are not going to
  688. 29:33guess anything from here on out or we
  689. 29:36will not AI to guess anything right?
  690. 29:38We'll just say follow the plan and build
  691. 29:41the project.
  692. 29:43Um, this is what we're going to do in
  693. 29:45the next section. Hopefully, we're going
  694. 29:47to get started with the UI design. So,
  695. 29:50I'll see you there.
  696. 29:52All right. So, now that we have our plan
  697. 29:55ready, it is time to get started with
  698. 29:57the UI design. And we are going to
  699. 29:59generate the UI design based off of the
  700. 30:02plan that we already have. Now, if you
  701. 30:05directly go into cloud and you just say,
  702. 30:07"Hey, built me a beautiful UI design."
  703. 30:10Unfortunately, you are not going to get
  704. 30:12something that is looking nice. Cloud
  705. 30:15will just give you something, you know,
  706. 30:18something that looks AI generated or you
  707. 30:21can ask it to Codex as well. You're
  708. 30:23going to get a similar response. So,
  709. 30:26there is a solution to fix this which is
  710. 30:29basically providing a reference. So,
  711. 30:32here what I'd like to do is creating a
  712. 30:35design folder, right? And then visiting
  713. 30:38something called Pinterest. I'm pretty
  714. 30:40sure you already know what this is. Just
  715. 30:42go ahead and create an account. It's
  716. 30:45completely free. Then just search for
  717. 30:47any kind of mobile app that you'd like
  718. 30:49to build. You can even just search for
  719. 30:52mobile app design. Okay, here in my
  720. 30:55case, I think I just searched for home
  721. 30:57AI, home design, mobile app. And then
  722. 31:01here are the results that I got.
  723. 31:04So here you can just scroll. There are
  724. 31:06millions of different results that you
  725. 31:09can take a look at. The one that I liked
  726. 31:11was this one. So, you can just press
  727. 31:14copy the image or really select anything
  728. 31:17that you want and then just go right
  729. 31:19here. Paste this in. Okay. I'm going to
  730. 31:21call this as something like app design
  731. 31:26reference, right?
  732. 31:28And then I'm going to attach this to my
  733. 31:31chat. Uh we can create a new session.
  734. 31:33Let's actually do it. You can just
  735. 31:36follow up from right here as well, but
  736. 31:38let's go with a clean slate. So here
  737. 31:40I'll just attach this. Let's say app
  738. 31:43design reference.png.
  739. 31:45And then here I will say now we already
  740. 31:49have the plan ready. Um now I want you
  741. 31:52to build the entire UI design for me.
  742. 31:56And don't build something random.
  743. 31:58Actually take a look at this design file
  744. 32:01that I attached. just uh get kind of
  745. 32:04like inspired by this. Use the same
  746. 32:07colors or like similar colors uh but
  747. 32:10like don't copy it 100%. Just get
  748. 32:13inspired by it and kind of like make
  749. 32:16sure that it is matches uh it is
  750. 32:19matching with what we have in our plan
  751. 32:22file.
  752. 32:25And here I'm going to attach the plan MD
  753. 32:28file as well. Now what I'd like to do is
  754. 32:31generally just building the entire UI
  755. 32:34design with fake data. Right? Once we
  756. 32:38have the UI design ready, I test out
  757. 32:40everything and then you know like if
  758. 32:43everything is working as expected, I
  759. 32:45just replace that fake data with the
  760. 32:48actual data. So I set up uh things like
  761. 32:50my database, you know, storage, um any
  762. 32:53kind of service that I need to use.
  763. 32:57This is what I'll say here. But I'm
  764. 32:58going to say for now I just want you to
  765. 33:01use a fake data. We are only building
  766. 33:03the UI and kind of like simulating as if
  767. 33:06everything is working um with the actual
  768. 33:10back end with the actual data as if we
  769. 33:12are in the real world but in the
  770. 33:15background actually have fake data once
  771. 33:17I have the UI design ready. Later I'm
  772. 33:20going to ask you to implement it with
  773. 33:22the real technologies.
  774. 33:25Okay. So this is my entire prompt. I
  775. 33:28would usually send this but actually I
  776. 33:31use something called hickfield. I think
  777. 33:33you already know that but let me just
  778. 33:35pretty quickly show you this. I'm going
  779. 33:37to say hick field.
  780. 33:40This is basically image and video
  781. 33:42generation tool. in the background they
  782. 33:44have bunch of different or or actually I
  783. 33:47would say like every single model that
  784. 33:49you can ever imagine like uh chat GPT
  785. 33:52image model Gemini I don't know like
  786. 33:55cling for video generation literally
  787. 33:58every single thing um I use their paid
  788. 34:00plan I think they don't have a free plan
  789. 34:03I don't think so you don't have to use
  790. 34:05this absolutely like you can generate
  791. 34:07the images with the chatbt subscription
  792. 34:10that you have or like from Gemini which
  793. 34:13free to get started with, right? You can
  794. 34:16use Nano Banana Pro like I'll just
  795. 34:18mention this just in case if you don't
  796. 34:20know. Just head over to Gemini and then
  797. 34:23use the Nano Banana Pro, right? Or Nano
  798. 34:27Banana 2. These models are really good.
  799. 34:31But what I did is using the Higsfield
  800. 34:34MCP because I have the subscription in
  801. 34:37this tool. Um, you can just add it if
  802. 34:40you wanted to. Then here [snorts] you
  803. 34:42can say something like if you need to
  804. 34:44generate any kind of images or videos
  805. 34:46just use the hickfield MCP. This is what
  806. 34:49I'll be doing. Like here maybe for the
  807. 34:52background I want to get this kind of a
  808. 34:55UI for the authentication screen right
  809. 34:57or maybe I want to get this background
  810. 34:59image. Instead of generating them in
  811. 35:02chat GPT I'll just say hey cloud use the
  812. 35:05hickfield MCP and generate those images
  813. 35:08for me. Now this is just much more
  814. 35:12convenient. Otherwise you can you know
  815. 35:15generate the same thing from chat GPT as
  816. 35:18I said but here I'm just going to say I
  817. 35:22already have the hickfield MCP set it
  818. 35:25up. So if you need to generate any kind
  819. 35:27of images or assets uh feel free to use
  820. 35:32the hickfield MCP.
  821. 35:36Okay. So, this is something that I use
  822. 35:37every single day, but it is paid. Um, I
  823. 35:40pay around I think $60, which is kind of
  824. 35:43expensive. Uh, not for everyone, right?
  825. 35:46Uh, but like if you cannot afford it.
  826. 35:48Once again, you can use the free models.
  827. 35:50Okay. And I'm going to put it on extra
  828. 35:53high maybe. Like usually I would put on
  829. 35:56extra high, but this is a tutorial. I
  830. 35:58don't really want to wait and waste too
  831. 36:01much time. I'll just put it on high. But
  832. 36:04if you're building your own project, I
  833. 36:06think you should go with extra high
  834. 36:08because for the UI design, you'd like to
  835. 36:10get a better result. Okay. And here
  836. 36:13finally, I'll just say don't use too
  837. 36:17much credits.
  838. 36:20And here I'll just say for image
  839. 36:23generation, use GPT2
  840. 36:26or GPT 2.5 model.
  841. 36:30And let's say for quality, for quality,
  842. 36:34go with 1K, not 4K or 2K.
  843. 36:39So if I want to generate an image, I'd
  844. 36:41like to use 1K, not these options
  845. 36:44because they spend too much credits,
  846. 36:46right? Okay. So with this, I'm going to
  847. 36:48go ahead and run that. Now, this will
  848. 36:51take obviously a couple of minutes,
  849. 36:53maybe like 20, 30, or 10, I don't know.
  850. 36:56Uh once this is done, I'll just be right
  851. 36:58back and then we're going to check the
  852. 37:00end result. Currently, this is how that
  853. 37:02look. But everything should be updated
  854. 37:04in a second or in a couple of minutes.
  855. 37:07Once it is ready, I'll just be right
  856. 37:09back. And actually, while Cloud is
  857. 37:11setting this up, we can also go ahead
  858. 37:13and set up the tools that we're going to
  859. 37:15be using later in the video. I'm going
  860. 37:18to provide the links in the description.
  861. 37:20They're going to give you free credits
  862. 37:21and free trials. So you don't really
  863. 37:23need to pay anything to get started
  864. 37:25with.
  865. 37:27So the first tool that we would like to
  866. 37:29set up is going to be Neon. Um this is
  867. 37:32the Postgres provider and the entire
  868. 37:34back end that we're going to be using.
  869. 37:36So this will provide things like you
  870. 37:38know authentication or database
  871. 37:41obviously the user management and you
  872. 37:44can even set up the AI functions. I'm
  873. 37:46going to show you how to set that up.
  874. 37:48just go ahead and get started with it. I
  875. 37:50already have an account, so I'm going to
  876. 37:52go ahead and log in.
  877. 37:55And once again, you don't really need to
  878. 37:57pay anything. Just go ahead and sign up
  879. 37:59with the link. Um, then I would say just
  880. 38:02sign up with your GitHub account. So
  881. 38:05here, I'll just log in and then we are
  882. 38:07going to create a project. Once you
  883. 38:10create the project, you get some
  884. 38:12environment variables. I'm going to
  885. 38:14explain what they are, but basically
  886. 38:16some secret keys so that we can connect
  887. 38:19to our projects. In [snorts] my case, I
  888. 38:21already have two different projects. If
  889. 38:24you don't have any, you can just press
  890. 38:26this button and let's actually create
  891. 38:28one from scratch. I'm going to call it
  892. 38:30as home AI. I will leave everything as
  893. 38:33default like the region, but you can
  894. 38:36update it obviously. Then let's just um
  895. 38:39kind of like enable some of these
  896. 38:41options for like object storage. We can
  897. 38:44say something like for the bucket name
  898. 38:46you can put anything but I'll just say I
  899. 38:49don't know let's just say uploads.
  900. 38:51[snorts]
  901. 38:53Then we can enable the functions AI
  902. 38:55gateway. Now they have the real time
  903. 38:57features as well which means you don't
  904. 39:00really need to reload your app. Anytime
  905. 39:02something updates, it'll immediately
  906. 39:05update in the UI. And let's get the
  907. 39:08authentication option as well. I'm going
  908. 39:10to create the project
  909. 39:13and then you're going to get a prompt
  910. 39:15where you can set this up in your
  911. 39:17project. Right? So I would say don't
  912. 39:19close this file or at least copy this
  913. 39:22prompt and save it somewhere so that
  914. 39:24once you get to that phase you'll just
  915. 39:27paste this prompt to clot and this
  916. 39:31project would be set it up in your
  917. 39:33codebase. Okay. So either don't close
  918. 39:36this or copy it and save it to somewhere
  919. 39:38like in your notes and then we will be
  920. 39:41using it in a couple of minutes. Um so
  921. 39:44with that said we can go to the project
  922. 39:47here. Here you can explore the
  923. 39:48dashboard. You have like overview, the
  924. 39:50integrations, monitoring, branches, um
  925. 39:54settings and so on. Here, let's just say
  926. 39:56we select the database. Right here, we
  927. 39:58can see the data that you are storing.
  928. 40:01And these are the things that I'm going
  929. 40:03to get into. For now, I don't really
  930. 40:05want to confuse you, but
  931. 40:09you know, the tables will be the place
  932. 40:11where you'll see all the data. Okay? So
  933. 40:14this will be things like maybe um users
  934. 40:17or like preferences, the generated um
  935. 40:22like how many credits users spend, what
  936. 40:24they have generated and so on, right? Um
  937. 40:28so yeah, that's neon setup. Super
  938. 40:30simple. Here we'll just press the
  939. 40:32connect and we are going to copy this
  940. 40:34environment variable. This is a secret.
  941. 40:37Don't share it with anyone else. Um but
  942. 40:40yeah, I'm going to walk you through it a
  943. 40:41bit later in the video. The next tool
  944. 40:44that we'll be using is going to be image
  945. 40:46kit. Again, I'll provide you the link in
  946. 40:48description. It's completely free to get
  947. 40:50started with. This is where we can
  948. 40:52optimize and deliver images and videos
  949. 40:55in real time. Like they have the entire
  950. 40:58platform which makes everything super
  951. 41:00simple and easy for us. Um, all we need
  952. 41:03to do is just using their APIs and using
  953. 41:06their documentation. Now thankfully with
  954. 41:09AI we don't really need to read 100
  955. 41:12lines of u you know 100 pages of
  956. 41:14documentation. We can just copy and
  957. 41:17paste and they have built a really good
  958. 41:19documentation. Let's just say we would
  959. 41:21like to go with React Native. Let me
  960. 41:24find it where that is. Um like anyways
  961. 41:27let's just go with React.
  962. 41:30Let's just say I want to set this up.
  963. 41:33Like back in the old days, you have to
  964. 41:35read most of this. But now you can just
  965. 41:37say copy for LLM and then paste it right
  966. 41:41here like in a separate session. If you
  967. 41:44just paste this in, um it is just going
  968. 41:47to set that up, right? And I'm going to
  969. 41:49show you a little bit later in the
  970. 41:50video. Go ahead and create an account. I
  971. 41:53already have, so I'll just log in. Once
  972. 41:56you're logged in, you will be in the
  973. 41:58dashboard where you can see all the
  974. 42:00SDKs. Here you can press it. you know,
  975. 42:02if you're building something for NexJS,
  976. 42:05Vue.js, Astro, really anything, um, you
  977. 42:09can take a look at their quick starts.
  978. 42:11Here we are using Expo. I'm going to get
  979. 42:13into that. Right here, they have React
  980. 42:15Native and we'll be using them. But
  981. 42:18other than this, you have the media
  982. 42:20library. Here you will see all the
  983. 42:23files, videos, assets that you store.
  984. 42:26Like in my case, these are coming from
  985. 42:28my past projects and tuto tutorials. But
  986. 42:31other than this, you also have some
  987. 42:34example images and videos that they
  988. 42:36provide. So here I have different
  989. 42:38folders and within this I store files.
  990. 42:44Like here you can tell these are the
  991. 42:45things that I stored in the past. And
  992. 42:48we're going to do some more in this
  993. 42:49video. Other than this, we have the
  994. 42:52developer options. I'm going to get into
  995. 42:54this a little bit later in the video. We
  996. 42:56have the image kit ID, URL, endpoint,
  997. 42:59you know, public key, private key. We'll
  998. 43:02be using them.
  999. 43:04Okay. So, these are the tools um that we
  1000. 43:07will need which is for the database and
  1001. 43:09for the image storage as well as the
  1002. 43:13image optimizations.
  1003. 43:15All right. So, after some time, here we
  1004. 43:16go. The application is ready. I just put
  1005. 43:19them side by side. The entire UI has
  1006. 43:21been generated. As you can tell, we even
  1007. 43:24have this beautiful um kind of like
  1008. 43:26effect where we have before and after.
  1009. 43:30This is like what you attach, right? And
  1010. 43:32then this is the designed end result by
  1011. 43:35AI now. Let's go ahead and try to log in
  1012. 43:38with one of these options. Obviously,
  1013. 43:40this is fake data like it is not
  1014. 43:42actually logging in because we are just
  1015. 43:45building the UI.
  1016. 43:48Um here we have three different tabs. We
  1017. 43:50have the profile, our past designs,
  1018. 43:54right? And then we have the create
  1019. 43:56screen. Now I think overall the colors
  1020. 43:59are looking pretty cool just like what
  1021. 44:02we have right here. Let me maximize it.
  1022. 44:05Um but like the texts are like pretty
  1023. 44:08small. This is one of the follow-ups
  1024. 44:11that I'm going to have. Other than this,
  1025. 44:13I think we can give it a go.
  1026. 44:17I'll just open up the library but I
  1027. 44:20think we need to have a photo so that we
  1028. 44:24can kind of like have an actual result
  1029. 44:28like we can attach one of them but none
  1030. 44:31of them are a
  1031. 44:33you know a room kitchen or that kind of
  1032. 44:36stuff. So it's not going to work for
  1033. 44:38now. Let's skip that. And here I'll just
  1034. 44:40say overall I like the colors and the
  1035. 44:44design but the texts are very very
  1036. 44:47small. I want you to just analyze my
  1037. 44:51design and then
  1038. 44:53you know upscale the text
  1039. 44:58or I'll just say upscale the font size.
  1040. 45:01Let's say
  1041. 45:04other than this I think.
  1042. 45:07Yeah, for now we'll just send this and
  1043. 45:08let's see what we're going to get back.
  1044. 45:11All right, so after a couple of minutes,
  1045. 45:13Claude has gone through every single
  1046. 45:15screen that I had. And here you can tell
  1047. 45:18before and after versions are right
  1048. 45:21here. And I think this looks clean. Now,
  1049. 45:23I don't really like this extra text. So,
  1050. 45:26what I'll be doing is taking a
  1051. 45:28screenshot. And I'm going to paste this
  1052. 45:30in. And then I'll say here where it says
  1053. 45:33snap a photo, pick a style and see your
  1054. 45:37space, I want you to remove that text.
  1055. 45:40Um, also make this headline or you know
  1056. 45:44the heading a bit larger.
  1057. 45:48So I'm going to run this. It should
  1058. 45:50update immediately.
  1059. 45:52All right. So here I have accidentally
  1060. 45:54paused the video, but here we go. It's
  1061. 45:56been updated. the extra text or that
  1062. 45:59description has been removed. Now, the
  1063. 46:02other followup that I'm going to have is
  1064. 46:05these logos, right? So, I'm going to
  1065. 46:07paste this in and let me show you what
  1066. 46:09I'll be doing. Like right here, I'll
  1067. 46:12just search for Google logo. I want to
  1068. 46:15use this kind of a logo, right?
  1069. 46:19So, I can take a screenshot or like copy
  1070. 46:21the image. I'm going to paste this in
  1071. 46:24and I will say I want you to make the
  1072. 46:27Apple and Google logos a little bit
  1073. 46:29larger. Um, also for both of them, use
  1074. 46:33the actual logos. Like for Google, use
  1075. 46:37this image that I attached. Make sure to
  1076. 46:40have a transparent background. And for
  1077. 46:42email, you can use an envelope icon on
  1078. 46:45the left. Make sure the logos are
  1079. 46:49aligned vertically.
  1080. 46:52Okay. So, I'm going to run this. Let's
  1081. 46:54see what we're going to get back. I
  1082. 46:56think after this I can search, sorry, I
  1083. 46:59can ask for the size to be a bit larger
  1084. 47:03because I think the logos are pretty
  1085. 47:06small right now.
  1086. 47:08Um, notice how I'm asking for follow-ups
  1087. 47:11one at a time because I think it is
  1088. 47:14easier to build one thing at a time for
  1089. 47:18agent rather than asking for every
  1090. 47:20single change. Okay, so this is what we
  1091. 47:23got. But I think I don't really like
  1092. 47:25this completely. What I'll be doing, I
  1093. 47:28think I don't need to take a screenshot,
  1094. 47:30but I'll just put it anyways. I'm gonna
  1095. 47:32say put the icons right next to the text
  1096. 47:37where it says continue with Apple,
  1097. 47:39Google or email. Just don't have this
  1098. 47:42much of space. Um, also make the text a
  1099. 47:47little bit larger. Not too much, but
  1100. 47:49just a tiny bit. Just make the headline
  1101. 47:53a little bit larger as well.
  1102. 47:58All right. So, here we go. So, it's been
  1103. 47:59updated and I'm happy with this end
  1104. 48:02result. Um, these follow-ups are always
  1105. 48:05up to you. You can ask for really
  1106. 48:07anything, but here I just tried to show
  1107. 48:10you that you should ask for one thing at
  1108. 48:12a time. And also, you can send
  1109. 48:15screenshots just to give a better
  1110. 48:18reference. Here I will ask for one more
  1111. 48:21thing, which is that this before and
  1112. 48:24after indicator is going infinitely.
  1113. 48:26I'll just say do it at the beginning for
  1114. 48:29like once or twice and then just stop.
  1115. 48:33So like I should be able to do it. I
  1116. 48:35don't really want to have it infinitely
  1117. 48:37going automatically.
  1118. 48:40For this before and after indicator only
  1119. 48:44run it at the beginning for like once or
  1120. 48:46twice um and then leave it for user to
  1121. 48:50play with it. I don't really want this
  1122. 48:53indicator to run infinitely to the right
  1123. 48:56and left.
  1124. 48:59Okay. So let's see if this will be
  1125. 49:01fixed. So I think it has been fixed. Now
  1126. 49:05it rerun the application. Let's see.
  1127. 49:09It run for two times and now it has
  1128. 49:12stopped. Okay. So this is what I'd like
  1129. 49:14to have. Um, from here on out, you can't
  1130. 49:17really ask for any kind of other
  1131. 49:19[snorts] modifications in the
  1132. 49:21application itself. You can take a look
  1133. 49:24at the other tabs. But here, I think I
  1134. 49:27will not waste any time. I just show you
  1135. 49:30the workflow where you can take a
  1136. 49:31screenshot, paste it right here, and
  1137. 49:34then ask for the followup. Um, yeah, I
  1138. 49:37think I will leave the UI design right
  1139. 49:39here. All right. So at this point we
  1140. 49:41have been talking to cloud for a while
  1141. 49:44and as you can see we have already
  1142. 49:46generated a crazy amount of code. We
  1143. 49:49have around 90 file changes and we
  1144. 49:51haven't even started building the actual
  1145. 49:54functionality yet. Now the problem with
  1146. 49:56AI generated code is that it is really
  1147. 49:59easy to generate hundreds or even
  1148. 50:02thousands of lines of code. But how do
  1149. 50:05we actually know if that code is good
  1150. 50:07enough to ship? like is it following the
  1151. 50:10best practices? Are there any bugs or
  1152. 50:13security issues? And if you're working
  1153. 50:16with a team, how do you know whether
  1154. 50:18your teammates would actually approve
  1155. 50:21these changes? And obviously, we don't
  1156. 50:24want to spend hours manually going
  1157. 50:26through every single one of these files.
  1158. 50:29So, this is where Code Rabbit comes in.
  1159. 50:32Code Rebbit is the governance layer for
  1160. 50:34Agentic software, enabling teams of
  1161. 50:37every size to trust the code they ship
  1162. 50:40while moving at Agentic speed. And by
  1163. 50:43the way, I'll leave a link in the
  1164. 50:45description where you can start with a
  1165. 50:4814-day free trial of the advanced plan.
  1166. 50:51Getting started is really simple and it
  1167. 50:53only takes two clicks to connect it to
  1168. 50:56your GitHub repository. And I'm going to
  1169. 50:58show you how to do that. And what we're
  1170. 51:01going to do is using the code rabbit
  1171. 51:04review which can review our pull
  1172. 51:06requests, understand the context of our
  1173. 51:09codebase and point out potential issues
  1174. 51:13before we merge our changes. Now to be
  1175. 51:16able to use it, first go ahead and
  1176. 51:18create an account with the link in
  1177. 51:20description. Then I'll show you how you
  1178. 51:22can create a GitHub repo and then
  1179. 51:24connect it in a second.
  1180. 51:27All right, so let's get started with
  1181. 51:29creating a GitHub repository. For this,
  1182. 51:32I will assume that you have a GitHub
  1183. 51:34account. And once you have and once
  1184. 51:36you're logged in, just press this button
  1185. 51:39and say new repository. Or we can visit
  1186. 51:42github.com/new.
  1187. 51:44Then let's give it a repository name.
  1188. 51:46You can't really give anything. I'll
  1189. 51:48just say home-ai.
  1190. 51:50And then I'll leave everything as is.
  1191. 51:52For now, I'm going to just make it
  1192. 51:54private. But at the time that you are
  1193. 51:56watching it's going to be public. Okay,
  1194. 51:59just before I publish this video I'm
  1195. 52:01going to make this to be public and then
  1196. 52:03I'm going to say create the repository.
  1197. 52:07So this will take couple of seconds and
  1198. 52:09then we're going to be in this UI. I'm
  1199. 52:11going to copy this and then I'll go back
  1200. 52:13into cloud. Now here I'll open up a new
  1201. 52:16session and then I'll say first let me
  1202. 52:20paste this in. I'm going to say I want
  1203. 52:23you to go ahead and push this codebase
  1204. 52:26to this repo that I attached. Now, for
  1205. 52:29all the current changes, which is 83
  1206. 52:32different lines of code or 83 files
  1207. 52:36changed, um don't really push it or
  1208. 52:39commit it now. I want you to just commit
  1209. 52:42the initial commit. Okay? So, just send
  1210. 52:45the initial commit to this repo. for all
  1211. 52:48these changes I will create a pull
  1212. 52:51request. So just leave that to me but
  1213. 52:54send the initial commit.
  1214. 52:58Okay. So probably I could have explained
  1215. 53:00this in shorter format but I think you
  1216. 53:04got the point. What I'm trying to do
  1217. 53:06here is that I will not commit these new
  1218. 53:09changes because I'm going to show you
  1219. 53:11how we can create a pull request and how
  1220. 53:14code rabbit can help us out. Right. Um,
  1221. 53:18for now, let's just send it and see what
  1222. 53:20we're going to get.
  1223. 53:22Hopefully CL will understand it. I'm
  1224. 53:25pretty sure it'll understand, but let's
  1225. 53:27just see.
  1226. 53:34Okay, so let's go back right here. If I
  1227. 53:37reload, I should have the initial
  1228. 53:39commit. Okay, here we go. The latest
  1229. 53:42changes are not here, which is fine. I
  1230. 53:45did this on purpose. Now we will create
  1231. 53:47a pull request and then we're going to
  1232. 53:50see code rabbit in action. Now before we
  1233. 53:53create the pull request you should visit
  1234. 53:55your dashboard and then press the scopes
  1235. 53:58right here. We are going to give access
  1236. 54:00to our repositories so that quadreit can
  1237. 54:03read our commits right the changes that
  1238. 54:06we have um so that it can give a
  1239. 54:10suggestion right or it can have like a
  1240. 54:12code review. Now in my case I have given
  1241. 54:16access to every single uh repo that I
  1242. 54:19have. But if you want to add
  1243. 54:21specifically or just like individually
  1244. 54:23you would add that button. Let me just
  1245. 54:26go back like right here I said give
  1246. 54:28access to all the repositories. But if
  1247. 54:31you want to give specific one then
  1248. 54:33obviously you would press this option
  1249. 54:36but I would recommend
  1250. 54:38that you would select all of them.
  1251. 54:40Right. I just say sync to repositories
  1252. 54:42so that uh you know anytime you create a
  1253. 54:45new project you don't really need to
  1254. 54:47visit this dashboard and then give
  1255. 54:49access manually. Okay, once you have it
  1256. 54:52now we can go ahead and create a pull
  1257. 54:55request. Now for this what I'll be doing
  1258. 54:57is pressing commandshiftp
  1259. 55:00which will open up the command pallet
  1260. 55:03and then I'm going to say um toggle this
  1261. 55:06status bar visibility and you can open
  1262. 55:09this up with command shiftp or control
  1263. 55:13shiftp. Okay.
  1264. 55:15Okay. Then right here I'm going to press
  1265. 55:18this button and then we will create a
  1266. 55:20new branch. Let's give it a name. You
  1267. 55:22can call it anything really. I'll just
  1268. 55:24say UI design because this is what we
  1269. 55:27have done. Um, now we created the branch
  1270. 55:30right here. We would like to go and
  1271. 55:33commit our changes. First, you would
  1272. 55:35like to press this button to stage all
  1273. 55:37the changes. Then you can add a commit
  1274. 55:40message. But let's just generate one
  1275. 55:42with the help of AI.
  1276. 55:47This will take couple of seconds. But
  1277. 55:49once it is ready, we'll just commit.
  1278. 55:51Here we go. and then you'll say publish
  1279. 55:54the branch. So this will basically push
  1280. 55:57this branch to GitHub. Okay, now let's
  1281. 56:00go ahead and take a look at it under the
  1282. 56:02repo. Like 3 seconds ago, we just got
  1283. 56:05the UI design branch. Let's compare and
  1284. 56:09create the pull request. Like here we
  1285. 56:11have almost like 10,000 lines of changes
  1286. 56:15in total. Like we have this amount of
  1287. 56:18additions, this amount of deletions and
  1288. 56:21like it's really impossible to go
  1289. 56:24through it in couple of minutes, right?
  1290. 56:26You have to literally just take couple
  1291. 56:29of hours if not days and read the entire
  1292. 56:32thing, see if everything is done
  1293. 56:34correctly. This is not really for
  1294. 56:35humans, right? We're going to create a
  1295. 56:38pull request where code rabbit can
  1296. 56:40literally go through it in a couple of
  1297. 56:43minutes and then just come up with a uh
  1298. 56:47what what do we call it like a code
  1299. 56:49review right it'll it'll tell us what we
  1300. 56:52are missing or what is uh the security
  1301. 56:56issues that we have if we are not
  1302. 56:58following any best practices and so on.
  1303. 57:01So this will take couple of seconds and
  1304. 57:04it should be ready right here. If you
  1305. 57:07have set it up bit successfully, this is
  1306. 57:10what you're going to see, right? So, it
  1307. 57:11is in the pending state. Um, so yeah,
  1308. 57:15I'll just wait for this to be completed.
  1309. 57:17Once it is done, I'll just be right
  1310. 57:19back. All right. So, after a couple of
  1311. 57:21minutes, the code rabbit is ready. Here
  1312. 57:23we go. We have a quick summary of the
  1313. 57:26changes like what we have added, what we
  1314. 57:28have deleted, and kind of like what we
  1315. 57:30have updated and so on. You can read it
  1316. 57:33if you're interested. But what I'm
  1317. 57:35interested in is the suggestions. So
  1318. 57:38here it is like it's going to tell you
  1319. 57:40if it is a major issue or like a minor
  1320. 57:43fix, right? And then you'll see the
  1321. 57:46explanation like where is this coming
  1322. 57:49from and then the solution. Now
  1323. 57:51thankfully this is just a prompt that
  1324. 57:53you can give it to cloud rather than you
  1325. 57:56know like copying and pasting or like
  1326. 57:58typing the code by hand. This is not a
  1327. 58:00thing anymore. You just copy the prompt
  1328. 58:03and give it to cloud. Obviously, you're
  1329. 58:05going to have bunch of different
  1330. 58:06suggestions. So, you can go ahead and
  1331. 58:09take a look at them individually where
  1332. 58:11you can copy the prompt, go back into
  1333. 58:13cloud. But there is a better option
  1334. 58:16where you can just get all the fixes in
  1335. 58:20one single prompt. Okay?
  1336. 58:23And you can find it at the very top of
  1337. 58:26the suggestions. This is what I'll be
  1338. 58:28doing. I'll just copy this and I'll go
  1339. 58:30into cloud in a second but let's just
  1340. 58:32scroll to the bottom and see if we have
  1341. 58:34any major issues. Looks like we have and
  1342. 58:37anytime you have a major issue it is
  1343. 58:40going to indicate that. Now in this
  1344. 58:42specific poll request we don't have any
  1345. 58:46um like security issues because we only
  1346. 58:48built the UI but later in the video I'm
  1347. 58:51going to show you that it'll actually
  1348. 58:53show us the security issues as well. for
  1349. 58:56now these are the things that are
  1350. 58:58related to functional correctness. I
  1351. 59:01don't know maybe syntax or the way that
  1352. 59:03we have written the functions and so on.
  1353. 59:06Okay.
  1354. 59:08So I'm going to go ahead and visit my
  1355. 59:11cloud instance and then I'm going to
  1356. 59:13paste this in. I don't even need to give
  1357. 59:16any explanation because rabbit has
  1358. 59:19already explained and I'm going to run
  1359. 59:21this. Just make sure that you are still
  1360. 59:23under the same branch. Okay, just follow
  1361. 59:26as I do. And then this will take a
  1362. 59:28couple of minutes or seconds for cloud
  1363. 59:31to complete it. Once it is done, we're
  1364. 59:33going to send this as a new commit. And
  1365. 59:37now while cloud is going over these
  1366. 59:39fixes, we can go back and right here
  1367. 59:42there is explain change, right? And this
  1368. 59:45is coming from code rabbit as you can
  1369. 59:47imagine like this is going to load the
  1370. 59:50entire dashboard where you can have all
  1371. 59:53the changes and everything has been
  1372. 59:55categorized. So instead of seeing all
  1373. 59:57that you know 83 different files it's
  1374. 1:00:01going to put them under specific
  1375. 1:00:03categories and it's going to put it um
  1376. 1:00:06in like organized way so you can see the
  1377. 1:00:08related files in the specific sections.
  1378. 1:00:12I'm going to leave it for you to explore
  1379. 1:00:14but you know you can go over that see
  1380. 1:00:17which file this is how many lines has
  1381. 1:00:19been added deleted or like if it has any
  1382. 1:00:22issues right here if it is major you
  1383. 1:00:25know minor uh how many files touched and
  1384. 1:00:29so on. Now also in the dashboard there
  1385. 1:00:31is this sidebar button that you can
  1386. 1:00:34press. Okay so it is right here and
  1387. 1:00:36right here we have the continue. You can
  1388. 1:00:39press that and you can ask anything
  1389. 1:00:41about this pull request to code rabbit.
  1390. 1:00:44So here I'm going to say something like
  1391. 1:00:47in this poll request do we have anything
  1392. 1:00:50related to chat messaging implemented or
  1393. 1:00:53like video calling?
  1394. 1:00:55So I know that the answer is no. But you
  1395. 1:00:58know let's say you're the team leader
  1396. 1:01:00and you would like to see if they have
  1397. 1:01:02included anything like this. Right? This
  1398. 1:01:04is just an example but you get the
  1399. 1:01:07point. You can literally ask anything
  1400. 1:01:09about this pull request and code rabbit
  1401. 1:01:12will go over it and then it'll say, you
  1402. 1:01:14know, it'll give you the answer. In my
  1403. 1:01:17case, it'll say no. But let's just wait
  1404. 1:01:19and double check.
  1405. 1:01:22Okay, so here you can tell it says this
  1406. 1:01:25pull request has no chat messaging and
  1407. 1:01:28no video calling implemented, which is
  1408. 1:01:31great. So I'm going to go back. You got
  1409. 1:01:33the point. I'll leave it for you to
  1410. 1:01:35explore this. This is really really
  1411. 1:01:37helpful because otherwise with the
  1412. 1:01:39GitHub's UI it would be almost like
  1413. 1:01:42impossible to go over these changes and
  1414. 1:01:45put it in that you know organized UI.
  1415. 1:01:49Now I'll go back into VS Code. Here we
  1416. 1:01:52go. We have all these files that have
  1417. 1:01:54been updated. We will just commit all of
  1418. 1:01:57them. Let's get a commit message.
  1419. 1:02:02I'll say commit and sync this up.
  1420. 1:02:05Now, previously we only had one commit.
  1421. 1:02:08Now it's going to be two. Notice how
  1422. 1:02:11it'll update. Here we go. Now we can
  1423. 1:02:14scroll to the bottom. Code Rabbit will
  1424. 1:02:16try to run another code review on these
  1425. 1:02:19changes. Like it'll be right here in a
  1426. 1:02:22couple of seconds. But I'm not going to
  1427. 1:02:24wait for it because we already run this
  1428. 1:02:27on top of code rabbit, right? So I'm
  1429. 1:02:30going to say merge pull request. Let's
  1430. 1:02:32confirm it.
  1431. 1:02:35It is done successfully. Now we can go
  1432. 1:02:37back and every single time like don't
  1433. 1:02:40forget to switch to the master. Okay, in
  1434. 1:02:44your case that could be main which is
  1435. 1:02:46also fine. Just press that. It is the
  1436. 1:02:48same thing. And then press this kind of
  1437. 1:02:51like reload thing. Um it'll basically
  1438. 1:02:55get the latest changes. Okay, it's going
  1439. 1:02:57to pull the latest changes that we had
  1440. 1:03:00right here with all the fixes and
  1441. 1:03:02everything. Now our project is up to
  1442. 1:03:05date. It is right here as expected.
  1443. 1:03:09Okay. So this is how we build the UI
  1444. 1:03:11design and how we run the code reviews
  1445. 1:03:15with code rabbit. In the upcoming
  1446. 1:03:17sections, I'm going to show you more
  1447. 1:03:19about that. Um but yeah, this is the
  1448. 1:03:21general workflow so far. And let me
  1449. 1:03:24actually go back to our diagrams and I
  1450. 1:03:27want to show you this thing. So we have
  1451. 1:03:30planned our project. We generated the UI
  1452. 1:03:33design based off of that. Then we are
  1453. 1:03:36going to build one feature at a time,
  1454. 1:03:38right? And we're going to selfch check
  1455. 1:03:40the things and I think we already done
  1456. 1:03:42this in a way that you know like I have
  1457. 1:03:45manually press these buttons and see if
  1458. 1:03:47it is working. Obviously this is fake
  1459. 1:03:50but we still kind of like manually
  1460. 1:03:53checked it. And then at the very end we
  1461. 1:03:55have run an AI code review check. If
  1462. 1:03:59this is done, we can save the progress
  1463. 1:04:01and then move on with the next feature.
  1464. 1:04:04Right now, in the section, in the next
  1465. 1:04:06section, we are going to run this again.
  1466. 1:04:08And then in the next section, you get
  1467. 1:04:10the idea. We're going to run it again
  1468. 1:04:12and again until we are done with this
  1469. 1:04:14project. Okay. So, with that, I'm going
  1470. 1:04:17to go ahead and leave this section right
  1471. 1:04:19here. And hopefully, I'll see you in the
  1472. 1:04:21next one. All right. So, now we have our
  1473. 1:04:24entire UI design ready. All we need to
  1474. 1:04:27do is replacing this fake data with the
  1475. 1:04:30actual data and logic and it's going to
  1476. 1:04:33be easier than you think. We will just
  1477. 1:04:36need to kind of like connect our back
  1478. 1:04:39end right and the tools that we would
  1479. 1:04:41need. So here I'll just directly jump
  1480. 1:04:44into cloud and I'm going to say let me
  1481. 1:04:46just first get the plan MD file. I'm
  1482. 1:04:50going to attach it.
  1483. 1:04:52Okay. Now I'll say now in my mobile
  1484. 1:04:56application I'm pretty happy with the UI
  1485. 1:04:59design but everything that I have right
  1486. 1:05:02now is just fake data. Everything is
  1487. 1:05:05hardcoded which is fine. But now it is
  1488. 1:05:08time to replace them with real data and
  1489. 1:05:12real back end with the logic. For this
  1490. 1:05:15you can take a look at my plan MD file.
  1491. 1:05:18Um go ahead and implement as much as you
  1492. 1:05:21can. Um if you need anything that uh if
  1493. 1:05:24you need anything that I need to do like
  1494. 1:05:26visiting a dashboard and getting an
  1495. 1:05:30environment variable, a key or any kind
  1496. 1:05:32of configuration just let me know.
  1497. 1:05:36All right. So this part is really really
  1498. 1:05:38important. You just say if I need to do
  1499. 1:05:41anything just let me know. Right? Don't
  1500. 1:05:43assume that I already done that. So here
  1501. 1:05:46we might need to visit the neon
  1502. 1:05:49dashboard or image kit dashboard to grab
  1503. 1:05:52some environment variables which is like
  1504. 1:05:54a secret right and then here I'll say
  1505. 1:05:58don't um don't make it long just like I
  1506. 1:06:02give me a concise list like step one get
  1507. 1:06:06this step two do this and explain like
  1508. 1:06:10where and how I would get them.
  1509. 1:06:13Okay, so I think that's my entire
  1510. 1:06:15prompt. I'll just go ahead and run it.
  1511. 1:06:18This will take some time obviously
  1512. 1:06:20because it'll need to set up all these
  1513. 1:06:22tools, read the plan MD, and then you
  1514. 1:06:25know come up with the working version of
  1515. 1:06:28our application. But let's just be
  1516. 1:06:30patient and wait. I'll be right back
  1517. 1:06:33once this is done. All right. So after
  1518. 1:06:36some time, cloud is done. And here it
  1519. 1:06:38says you need to go through these steps,
  1520. 1:06:40right? It says I have done everything
  1521. 1:06:43but these are the things that you need
  1522. 1:06:44to do. So the first things first it says
  1523. 1:06:47you need to set up neon and for this you
  1524. 1:06:49can get the database URL right now. If
  1525. 1:06:52you remember uh previously in the video
  1526. 1:06:55I said that we got a prompt that you
  1527. 1:06:58should copy and save because we are
  1528. 1:07:00going to be using it in the future. Now
  1529. 1:07:02this is that time here. I'll just go
  1530. 1:07:05ahead and run this prompt. So I have
  1531. 1:07:07copied it right and now I'm going to
  1532. 1:07:09paste it. As you can tell, this is going
  1533. 1:07:12to set up neon and it is going to
  1534. 1:07:15connect it to this project which is
  1535. 1:07:17homeai that we created. Right? So here
  1536. 1:07:20I'll go ahead and run it. Hopefully you
  1537. 1:07:22have this prompt as well because I've
  1538. 1:07:25told you that you should save it uh
  1539. 1:07:27multiple times. Right?
  1540. 1:07:30Okay. So I'm going to run this.
  1541. 1:07:31Hopefully it is going to kind of like
  1542. 1:07:34handle these options. If not, um, it is
  1543. 1:07:37going to give us a update, but like I'm
  1544. 1:07:41pretty sure it's going to set that up.
  1545. 1:07:44The other thing is that we need to get
  1546. 1:07:46an API key. Now, I'll be using OpenAI.
  1547. 1:07:49Um, but you can use really anything. You
  1548. 1:07:52can use some free options as well, but
  1549. 1:07:56basically we we need this API key
  1550. 1:07:58because
  1551. 1:08:00when our users wants to generate an
  1552. 1:08:03image, right? So they are going to
  1553. 1:08:05provide an empty room image and then
  1554. 1:08:08they're going to get something like
  1555. 1:08:09this, right? So we're going to have
  1556. 1:08:10before and after. To generate the after
  1557. 1:08:13image, we need some AI image models. Um,
  1558. 1:08:16in this case, I'll be using OpenAI. I
  1559. 1:08:19already have like maybe eight or $10
  1560. 1:08:22that I have uploaded, but you can upload
  1561. 1:08:25I think even like $5, right? And it's
  1562. 1:08:28going to last for a very very long time.
  1563. 1:08:31Um, right here, just go under the API
  1564. 1:08:33keys. By the way, you should visit
  1565. 1:08:36platformopenai.com,
  1566. 1:08:38right? And then right here, I'm going to
  1567. 1:08:40create a new secret. Let's just say home
  1568. 1:08:43AI. Yeah, home AI should be enough, but
  1569. 1:08:46I'll just say tutorial as well. I'll
  1570. 1:08:48leave it as default.
  1571. 1:08:51For the expiration date, let's just say
  1572. 1:08:541 month. And then I'm going to say
  1573. 1:08:56create the secret key. I'm going to copy
  1574. 1:08:59it. and then I'll go right here. Let's
  1575. 1:09:02see what cloud it tells us.
  1576. 1:09:10Okay. So, I think
  1577. 1:09:13I'm just looking. Do we have the env
  1578. 1:09:16file? Yeah, we have which is right here.
  1579. 1:09:21But it only includes things that are
  1580. 1:09:24related to neon, right?
  1581. 1:09:27We have EMV example as well. Okay. So we
  1582. 1:09:31have OpenAI API key. So just paste your
  1583. 1:09:34value right here. Right. Copy it and
  1584. 1:09:37then like you should not really have the
  1585. 1:09:39value right here in example file. Okay.
  1586. 1:09:42Just go under the EMV local and paste it
  1587. 1:09:45right here. So once again you should
  1588. 1:09:47have open AAI API key which is equal to
  1589. 1:09:51your value that you just copied from the
  1590. 1:09:54platform openai.com.
  1591. 1:09:56Okay. So just copy this value and then
  1592. 1:09:59put it right here.
  1593. 1:10:01Okay. So with that I think we can take a
  1594. 1:10:04look at the next step. So we can get the
  1595. 1:10:07recent
  1596. 1:10:08um API key. This is where you can send
  1597. 1:10:12emails. So I'm going to get the resend
  1598. 1:10:14API key in a second. But first let's set
  1599. 1:10:17up the image kit. So for this here it
  1600. 1:10:19says how we can get that but I already
  1601. 1:10:21know. So I'll just visit imagekit
  1602. 1:10:23dashboard. Scroll to the bottom. Press
  1603. 1:10:26the developer options and then here we
  1604. 1:10:28have the public key. So I'm going to
  1605. 1:10:30copy it. But first let's go into thev
  1606. 1:10:33example. I'm going to copy all of them
  1607. 1:10:36and then put it under the env.local.
  1608. 1:10:39Now, if you're confused about both of
  1609. 1:10:41these files, basically EML local is
  1610. 1:10:44where you put the actual values. The
  1611. 1:10:47example file tells you which keys you
  1612. 1:10:50should have under the EMV local. Okay.
  1613. 1:10:55Now, we're going to get the public key.
  1614. 1:10:57So, I'm going to copy it, paste it right
  1615. 1:11:00here. Save this file. We're going to get
  1616. 1:11:03the image kit URL endpoint,
  1617. 1:11:07which is right here. paste it. Then we
  1618. 1:11:09need to get the private key. Now,
  1619. 1:11:11anytime you want to get this, it will
  1620. 1:11:14send you a six-digit verification code.
  1621. 1:11:16Let me just go ahead and grab it from my
  1622. 1:11:19email. So, I just got the value. I've
  1623. 1:11:22copied it and paste it. Now, I can get
  1624. 1:11:24the private key. I'm going to go ahead
  1625. 1:11:26and paste it right here as well. And
  1626. 1:11:29then let's see if cloud is done.
  1627. 1:11:33I think it is still building, but let's
  1628. 1:11:35just see if we are missing anything
  1629. 1:11:37else.
  1630. 1:11:38here. I think it says like you should
  1631. 1:11:40get the Google keys as well. I'll just
  1632. 1:11:43say if you can do it like in development
  1633. 1:11:46maybe we would not need to get this but
  1634. 1:11:49other than this we just need to get the
  1635. 1:11:51recent API key. All right. So I put the
  1636. 1:11:54VS code in the simulator side by side.
  1637. 1:11:57So far I haven't really gotten the
  1638. 1:11:59resend API key. It is not mandatory for
  1639. 1:12:02now. Like just know that this is a way
  1640. 1:12:05for you to send emails automatically.
  1641. 1:12:08Let's say one of your users said um I
  1642. 1:12:10forgot my password. You need to send
  1643. 1:12:13them an email where they can verify and
  1644. 1:12:16create a new password. Right? And you
  1645. 1:12:18can send the email thanks to a tool like
  1646. 1:12:21resend. Right? So for now we don't
  1647. 1:12:24really have to add it. But other than
  1648. 1:12:27this um I think eventually you can add a
  1649. 1:12:30tool like this. Right? just before you
  1650. 1:12:32go live. Now here what I have done if I
  1651. 1:12:35scroll to the bottom off camera I said
  1652. 1:12:38for now we don't really want to use the
  1653. 1:12:40AI gateway instead just use my open AI
  1654. 1:12:43API key and then I said um let's use
  1655. 1:12:46image kit um also if I don't really need
  1656. 1:12:49to get the Google API keys I just let's
  1657. 1:12:52not get it right but I think we need to
  1658. 1:12:55get this even in development because
  1659. 1:12:58otherwise we cannot log to login with
  1660. 1:13:01Google
  1661. 1:13:03And for Apple, you can log in, but you
  1662. 1:13:06just need to sign in to your iCloud
  1663. 1:13:09account from right here to your Apple
  1664. 1:13:11account. I'm not going to do it in the
  1665. 1:13:13simulator, but it is working. Um, here
  1666. 1:13:16I'll just try to sign up with email
  1667. 1:13:19here. I'll go ahead and just put my
  1668. 1:13:21name. Let's say John. And then for the
  1669. 1:13:24email, I'm going to put this test email
  1670. 1:13:26that I have. I'm going to get the at
  1671. 1:13:29sign. Put it right here. Oops.
  1672. 1:13:32Let's say gmail.com.
  1673. 1:13:34And for the password, let's just put
  1674. 1:13:36something like
  1675. 1:13:38um I don't know. Let's just put eight
  1676. 1:13:40characters from 1 to 8.
  1677. 1:13:48Let's just see. It says
  1678. 1:13:52so what you can do is basically taking a
  1679. 1:13:55screenshot. This is completely fine if
  1680. 1:13:57you're getting errors like this is real
  1681. 1:13:59world programming. Not everything will
  1682. 1:14:01work magically in the first try. Right?
  1683. 1:14:04So I'm going to scroll to the bottom
  1684. 1:14:06here. I'm going to say this is the error
  1685. 1:14:09that I get when I try to sign up with
  1686. 1:14:11email and password. What is the issue?
  1687. 1:14:14Go ahead and fix it.
  1688. 1:14:18So after 5 minutes, looks like it has
  1689. 1:14:20been fixed. Let's go ahead and test this
  1690. 1:14:22out again. I'll just put this name.
  1691. 1:14:26Let's put the same email.
  1692. 1:14:30Let me get the add sign. For some
  1693. 1:14:32reason, I cannot make it like right
  1694. 1:14:34here. Um, I'm just going to copy it and
  1695. 1:14:37paste it.
  1696. 1:14:47Okay. So, looks like this time it has
  1697. 1:14:50actually worked out. Um here it says
  1698. 1:14:53this is your name that's the email.
  1699. 1:14:55Let's just double check by going to our
  1700. 1:14:58neon dashboard. Um under the overview
  1701. 1:15:02right select your project which is home
  1702. 1:15:04AAI and then right here we are going to
  1703. 1:15:06select the better oath. We should have
  1704. 1:15:09one user.
  1705. 1:15:12Um looks like we don't. Let me just
  1706. 1:15:15refresh. Okay. Let's take a look at the
  1707. 1:15:17database if we have it.
  1708. 1:15:21Um I'll go under the database maybe
  1709. 1:15:23under the tables.
  1710. 1:15:28So under the tables we have account um
  1711. 1:15:31designs we have verification we have
  1712. 1:15:34session and user. Okay. So looks like
  1713. 1:15:36user has been saved right here which is
  1714. 1:15:39fine here. Can tell that's the name that
  1715. 1:15:42I put that's the email if email is
  1716. 1:15:44verified or not. This is not verified. I
  1717. 1:15:47just only signed up. Right. and we are
  1718. 1:15:50logged in. To be able to make this true,
  1719. 1:15:53you should send a like six-digit code to
  1720. 1:15:56the email and then kind of like have
  1721. 1:15:58that process. But I'll just keep it
  1722. 1:16:00simple. Uh but just know that something
  1723. 1:16:02like this existed. Now I am back in VS
  1724. 1:16:06Code and I'm going to say now let's try
  1725. 1:16:08to set up the Google authentication.
  1726. 1:16:11Please let me know the steps that I need
  1727. 1:16:13to go through.
  1728. 1:16:17So here are the steps that we need to go
  1729. 1:16:19through. First go ahead and visit
  1730. 1:16:22console.cloud.google.com.
  1731. 1:16:25This is what you're going to see. And
  1732. 1:16:27then just say select a project. And from
  1733. 1:16:30here just press new project. Right? And
  1734. 1:16:33then let's give it a name. I'm going to
  1735. 1:16:35say home-ai.
  1736. 1:16:37And I'm going to say create.
  1737. 1:16:42Once this has been created, I'm going to
  1738. 1:16:43show you that by the way. Um, here it
  1739. 1:16:46says you need to set up the consent
  1740. 1:16:48screen. So, I'll go right here. Project
  1741. 1:16:51has been created. Let's say select this
  1742. 1:16:53project.
  1743. 1:16:57Home AI has been selected. Now, let's
  1744. 1:16:59say you're right here and you don't know
  1745. 1:17:01how to set up the consent screen, right?
  1746. 1:17:04What I do is usually I just take this
  1747. 1:17:07screenshot of where I am, right? Let me
  1748. 1:17:10just do it once again. I'm going to
  1749. 1:17:12maximize the screen
  1750. 1:17:14and then I just paste it into cloth like
  1751. 1:17:17here I say
  1752. 1:17:19this is what I see. I just created the
  1753. 1:17:22project which is the first step but now
  1754. 1:17:25I don't really know what to do. Can you
  1755. 1:17:27please tell me where to click and how to
  1756. 1:17:30proceed?
  1757. 1:17:32Like this is what I do all the time.
  1758. 1:17:34Like anytime I'm confused,
  1759. 1:17:37let's say I'm using the Google dashboard
  1760. 1:17:39for the first time and I don't know how
  1761. 1:17:41to use it, right? I just ask cloud to
  1762. 1:17:44walk me through it, which is completely
  1763. 1:17:46fine. So, I'm going to run this and then
  1764. 1:17:48I'll get the next steps. All right, so
  1765. 1:17:51here we go. It says you need to just
  1766. 1:17:53press this button, which is going to
  1767. 1:17:55take us to the consent screen, right?
  1768. 1:17:57So, I'm going to press this link and
  1769. 1:18:00then let's see what it says. It says
  1770. 1:18:02press the get started button which is
  1771. 1:18:05this one. I'm going to press and then
  1772. 1:18:08like you get the point. You'll just
  1773. 1:18:11follow these steps, right? I'll just do
  1774. 1:18:13it pretty quickly. So here I'll just put
  1775. 1:18:16the app information.
  1776. 1:18:18Here it says put the restyle as the app
  1777. 1:18:21name, but I'm just going to say home AI
  1778. 1:18:24just like this. And then we need to put
  1779. 1:18:26the user support email.
  1780. 1:18:31I'm going to put my email which is this
  1781. 1:18:34one. Let's say next.
  1782. 1:18:38It says get the external.
  1783. 1:18:43Again, put the email and we can finish.
  1784. 1:18:46Like that's the beauty of taking a
  1785. 1:18:48screenshot. Um
  1786. 1:18:51just make sure to include the URL as
  1787. 1:18:53well. This is what I have done and from
  1788. 1:18:56the URL since I have home AAI it just
  1789. 1:18:59give me the link directly taking me to
  1790. 1:19:02this home AI as my project right so
  1791. 1:19:06that's something to keep in mind and
  1792. 1:19:08then here it says add yourself as a test
  1793. 1:19:11user again it says presses
  1794. 1:19:19and I think we need to just add
  1795. 1:19:21ourselves as the test user
  1796. 1:19:24But do we need to add email?
  1797. 1:19:28Okay. So, we'll just add the email
  1798. 1:19:32address.
  1799. 1:19:36Let's save
  1800. 1:19:40and then we need to create the O client.
  1801. 1:19:47Okay. So, we're going to press the
  1802. 1:19:49create create client. Like I have gone
  1803. 1:19:51through this process so many times but
  1804. 1:19:54it's been very long time so I can't
  1805. 1:19:56really remember it exactly. I believe
  1806. 1:19:58this should be the web application is
  1807. 1:20:01it? Yes. And then let's say home AI
  1808. 1:20:07dev because we are in development.
  1809. 1:20:11And then
  1810. 1:20:14we'll go right here.
  1811. 1:20:18What do we need to add? something
  1812. 1:20:20localhost. I'm going to copy this and
  1813. 1:20:23then paste it.
  1814. 1:20:25Um, here it says
  1815. 1:20:33I think it should end with this. Is it?
  1816. 1:20:38I'm going to copy it again. Let's take a
  1817. 1:20:40screenshot. But what it says actually
  1818. 1:20:43invalid origin must not contain a path
  1819. 1:20:46or end west. Did I put it in the wrong?
  1820. 1:20:50Yeah, I think I put it in the wrong
  1821. 1:20:51place. Um, JavaScript origins should be
  1822. 1:20:54empty. So, I'm going to delete it from
  1823. 1:20:56here, but it should be under the
  1824. 1:20:58redirect URIs. Uh, I'm going to paste it
  1825. 1:21:01once again. Let me copy it.
  1826. 1:21:05Okay, now I think I can say create it.
  1827. 1:21:08Let's see if we need to do anything
  1828. 1:21:10else.
  1829. 1:21:12Yeah, I'm just going to copy it.
  1830. 1:21:17we can get the client secret.
  1831. 1:21:21Let's add it under the
  1832. 1:21:24enmv.local.
  1833. 1:21:25So, first I'm going to paste the key.
  1834. 1:21:29Sorry, I'm going to paste the value and
  1835. 1:21:31then here I'm going to get the keys.
  1836. 1:21:34That was the client ID. Let's cut it.
  1837. 1:21:36Put it right here. Then we're going to
  1838. 1:21:38get the secret.
  1839. 1:21:41Wait, this is client ID. I'm sorry. This
  1840. 1:21:44is client ID. I'm going to just copy it
  1841. 1:21:46and paste it.
  1842. 1:21:49And then this is the secret. I'm going
  1843. 1:21:50to copy it.
  1844. 1:21:52Paste it right here.
  1845. 1:21:55Okay, I think that's the entire thing.
  1846. 1:21:58I'll just say I have done everything and
  1847. 1:22:01added the environment variables under
  1848. 1:22:04the MV.local.
  1849. 1:22:07Let's run it. And then here I'm going to
  1850. 1:22:09say okay. I think there is nothing else
  1851. 1:22:12that we need to do. The authentication
  1852. 1:22:15for Google should work out. So here it
  1853. 1:22:18says now everything should work out.
  1854. 1:22:20Just go ahead and try to log in with
  1855. 1:22:22Google. Let's actually do it. I'm going
  1856. 1:22:25to say continue
  1857. 1:22:30and then I'm going to select this.
  1858. 1:22:35Now in this simulator I have already
  1859. 1:22:37used this account that's why it can't
  1860. 1:22:39remember it. But if you haven't used any
  1861. 1:22:41accounts, then you need to put your
  1862. 1:22:43email and password. Then it should work
  1863. 1:22:45out. But looks like this has been
  1864. 1:22:49failed. I think that's because this was
  1865. 1:22:52not the email address that I put right
  1866. 1:22:54here. Right. Um here I tried to add a
  1867. 1:22:58user, but it is this email which is not
  1868. 1:23:01matching with what I have. So maybe we
  1869. 1:23:04should try to log in with this email,
  1870. 1:23:08right?
  1871. 1:23:10But I'll just double check and I'm going
  1872. 1:23:12to ask it to cloud.
  1873. 1:23:16So I got this error. And is it because
  1874. 1:23:19the audience email address that I give
  1875. 1:23:23is not the same that I tried to log in?
  1876. 1:23:25Could it be because of this?
  1877. 1:23:29So here looks like that's not the issue.
  1878. 1:23:32It says you already have an account with
  1879. 1:23:34that email. Right. So I'm just going to
  1880. 1:23:36go ahead and log in. Then I'm going to
  1881. 1:23:38delete this account. Let me get the at
  1882. 1:23:41sign
  1883. 1:23:43because I have already signed up with
  1884. 1:23:45this account. Right. Um here I'll try to
  1885. 1:23:47log in pretty quickly.
  1886. 1:23:54Let's just say delete the account.
  1887. 1:23:56Hopefully this should work out.
  1888. 1:23:59This is going to delete my account.
  1889. 1:24:01Right. Let's actually test this out. I'm
  1890. 1:24:04going to reload. Hopefully, this account
  1891. 1:24:07should be gone. Okay, now we can go
  1892. 1:24:09ahead and try to log in.
  1893. 1:24:19Okay, it didn't even ask me because that
  1894. 1:24:22was the only email that I have. Now, it
  1895. 1:24:25gets my actual name and surname from my
  1896. 1:24:28Google account, right? Previously, it
  1897. 1:24:30was John. But now if I go like right
  1898. 1:24:33here, if I reload, I have this and it
  1899. 1:24:36says email verified because we are
  1900. 1:24:39logged in with Google.
  1901. 1:24:41Our image is coming from Google as well.
  1902. 1:24:46Okay. So everything is working as
  1903. 1:24:48expected. So you get the idea. In the
  1904. 1:24:50same way, you can go ahead and set up
  1905. 1:24:52any other authentication
  1906. 1:24:55provider that you wish. Now I think
  1907. 1:24:58that's it for the authentication. We
  1908. 1:25:01already tested out. Now maybe it is time
  1909. 1:25:03to test out the actual image generation.
  1910. 1:25:07For this, I'm going to go ahead and get
  1911. 1:25:09some images and put it in my photos.
  1912. 1:25:12Right. So, let's go and show you how we
  1913. 1:25:15can do it. Right here in the Safari, I'm
  1914. 1:25:18going to search for something like empty
  1915. 1:25:21room image.
  1916. 1:25:25And then I'm going to get one of them.
  1917. 1:25:27So, let's just press and say save to
  1918. 1:25:30photos.
  1919. 1:25:32It is right here. Now, we can go back.
  1920. 1:25:35Now, you can take a photo, but this is a
  1921. 1:25:37simulator, so it doesn't have the
  1922. 1:25:39camera. Um, this is not going to work in
  1923. 1:25:42the simulator, but it should work out in
  1924. 1:25:44your phone. For now, I'm going to just
  1925. 1:25:46select a library option. Let's get this
  1926. 1:25:49photo.
  1927. 1:25:50Let's say this is the living room. Um, I
  1928. 1:25:54want to go with a luxury style and let's
  1929. 1:25:58say generate the design. So, we have a
  1930. 1:26:01beautiful loading screen, but looks like
  1931. 1:26:04this has failed. Um,
  1932. 1:26:07like my connection is actually working.
  1933. 1:26:09I'm going to take a screenshot and I'll
  1934. 1:26:12try it once again. If it fails, I'll
  1935. 1:26:15just paste it into cloud. My connection
  1936. 1:26:18is actually working but I don't know why
  1937. 1:26:22I'm getting this error. I also have my
  1938. 1:26:25open AI key. Just go ahead and check
  1939. 1:26:28what is missing.
  1940. 1:26:31By the way, this is the error that I get
  1941. 1:26:33when I try to generate an a design.
  1942. 1:26:38Okay. So, I'm going to send this and
  1943. 1:26:40let's see what would be the solution.
  1944. 1:26:43All right. So, looks like cloud has
  1945. 1:26:45fixed it. I'll go ahead and test this
  1946. 1:26:47out. And if you're interested, you can
  1947. 1:26:49read the solution. I'm just going to go
  1948. 1:26:51ahead and press the library. I can get
  1949. 1:26:54the same photo. Let's say living room
  1950. 1:26:57and then luxury.
  1951. 1:27:00We are in the loading state. Hopefully,
  1952. 1:27:03after a couple of seconds, we should get
  1953. 1:27:05the result. So, here we go. As soon as
  1954. 1:27:08it's been generated, it took me to the
  1955. 1:27:11screen where I can see the before and
  1956. 1:27:13after version. And I think it looks
  1957. 1:27:16absolutely beautiful. Um, notice how it
  1958. 1:27:18is exact same room, right? Like the uh
  1959. 1:27:22the wall, the ceiling, everything is the
  1960. 1:27:25same, but it it has styled it in a
  1961. 1:27:28completely different way. Okay, I really
  1962. 1:27:30like this. It works as expected. Let's
  1963. 1:27:33just do it one more time. I'm going to
  1964. 1:27:36use a different style this time. Let's
  1965. 1:27:38say minimalist.
  1966. 1:27:41Let's see if we're going to get the
  1967. 1:27:43minimalist style. If we get it, that
  1968. 1:27:46means everything has been set it up
  1969. 1:27:48correctly and we are not just getting
  1970. 1:27:50random outputs.
  1971. 1:27:54So, this takes around 10 to 15 seconds
  1972. 1:27:57depending on the image generation model
  1973. 1:28:01as well as the internet connection. But
  1974. 1:28:03let's just see.
  1975. 1:28:05Here we go.
  1976. 1:28:08This is what we got.
  1977. 1:28:10I think it looks pretty clean and it is
  1978. 1:28:12minimalist, right? So I can say try
  1979. 1:28:15another style. I'm not going to try, but
  1980. 1:28:19um notice how this also decremented by
  1981. 1:28:22two. In total, we have five. Um if you
  1982. 1:28:25would like to take it to the next step,
  1983. 1:28:27you would add a pay wall once the user
  1984. 1:28:30hits zero generations left. Um here
  1985. 1:28:33under the my designs, I can see that I
  1986. 1:28:37have only these two. All the other ones
  1987. 1:28:39have been deleted because they were fake
  1988. 1:28:42data. Okay. So I think overall I'm
  1989. 1:28:45pretty happy with how this look and how
  1990. 1:28:48that work. Obviously we can add much
  1991. 1:28:50more uh like much more details and
  1992. 1:28:53features into this. But as I said for
  1993. 1:28:56the version one you would like to keep
  1994. 1:28:58it as simple as possible. That's exactly
  1995. 1:29:01what I have done with my mobile
  1996. 1:29:03application. Now, I mention this all the
  1997. 1:29:05time, but I think it's really important
  1998. 1:29:07to know. Um, basically, you take the
  1999. 1:29:10image of your food and it calculates the
  2000. 1:29:14calories, right? That was the only thing
  2001. 1:29:16that I included at the beginning,
  2002. 1:29:18nothing else. Um, and like I just
  2003. 1:29:21started getting some payments or like
  2004. 1:29:24subscriptions that I'm like, okay,
  2005. 1:29:26people like this app, now I need to
  2006. 1:29:28improve it. And I think that should be
  2007. 1:29:30your approach as well.
  2008. 1:29:33Now, with that said, I would like to
  2009. 1:29:35definitely improve the profile screen
  2010. 1:29:38here. We would like to add more links
  2011. 1:29:40and so on. But for now, I think um I'm
  2012. 1:29:44happy with how this section looks,
  2013. 1:29:47right? Uh I'm going to go ahead and
  2014. 1:29:49commit my changes. First off, I will
  2015. 1:29:51close all these and then I will create a
  2016. 1:29:55new branch because I'd like to send a
  2017. 1:29:57pull request and then just check if we
  2018. 1:30:00have any kind of security issues or like
  2019. 1:30:03any kind of problems. Um, code rabbit
  2020. 1:30:06will tell us for the branch name. I'll
  2021. 1:30:09just say I don't know maybe backend
  2022. 1:30:15implementation.
  2023. 1:30:18Not the best name, but let's just come
  2024. 1:30:20up with something else. I'll just say
  2025. 1:30:23app logic.
  2026. 1:30:26Okay, so the branch has been created.
  2027. 1:30:28I'll go ahead and stage everything.
  2028. 1:30:34And then let's get a commit message.
  2029. 1:30:41Let's commit. Publish the branch. We'll
  2030. 1:30:44go into the source code as usual.
  2031. 1:30:48So, I'm going to say slashhomeai.
  2032. 1:30:52Let's get the pull request. You can take
  2033. 1:30:55a look at the details. We have like
  2034. 1:30:57almost 20,000 lines of changes.
  2035. 1:31:02I'm going to create the pull request and
  2036. 1:31:04then I'll just wait for Code Rabbit to
  2037. 1:31:06give me a review. Once I get that, I'll
  2038. 1:31:10just be right back. All right. So after
  2039. 1:31:12a couple of minutes as usual we got the
  2040. 1:31:14quick summary by code rabbit telling us
  2041. 1:31:17what we have added what we have deleted
  2042. 1:31:20and so on and then the most important
  2043. 1:31:22part are the fixes. Now as usual you can
  2044. 1:31:26take a look at them in detail and get
  2045. 1:31:28the fixes one by one but I have shown
  2046. 1:31:31you that you can get all the fixes in
  2047. 1:31:34one prompt. This is what I'll be doing
  2048. 1:31:36and I'll actually go into cloud right
  2049. 1:31:40here and I'm going to paste it. So I'm
  2050. 1:31:43going to leave this to implement and
  2051. 1:31:46then we can take a look at the
  2052. 1:31:47solutions. Now right here we have some
  2053. 1:31:50major problems, some minor issues. Let's
  2054. 1:31:53just see. We actually have couple of
  2055. 1:31:56different major issues and then we have
  2056. 1:31:59security
  2057. 1:32:00problems as well or I would say issues
  2058. 1:32:03and we can fix them obviously with that
  2059. 1:32:06prompt. Now this is part of the code
  2060. 1:32:08rabbit secure which specifically checks
  2061. 1:32:12for the security issues right so there
  2062. 1:32:15are millions of different types of
  2063. 1:32:17attacks if you're not technical you
  2064. 1:32:19might not ever heard of them but like
  2065. 1:32:22there are things like CSRF attack or XSS
  2066. 1:32:27attack like there are bunch of different
  2067. 1:32:29attacks that I don't even know
  2068. 1:32:32but Code Rabbit is um aware of every
  2069. 1:32:36single one of them and it's going to
  2070. 1:32:38check every single one of them one by
  2071. 1:32:40one so that you know you don't really
  2072. 1:32:42have any of them in your codebase like
  2073. 1:32:45here it tells what is the issue um what
  2074. 1:32:49you need to do before handling it with
  2075. 1:32:51the email right so it says like escape
  2076. 1:32:54user name before inserting it into the
  2077. 1:32:58reset email html obviously this is kind
  2078. 1:33:01of like it could be a vulnerability and
  2079. 1:33:05then here it gives you the suggested fix
  2080. 1:33:08as well as the prompt to fix it. Okay,
  2081. 1:33:11so as usual, you can take a look at the
  2082. 1:33:14explain change as well.
  2083. 1:33:19Let's just wait for this to be loaded.
  2084. 1:33:21You can take a look at all the changes
  2085. 1:33:23like all the issues that you have.
  2086. 1:33:25Again, this has been categorized and
  2087. 1:33:28kind of like organized. You can go ahead
  2088. 1:33:31with the continue and ask any kind of
  2089. 1:33:33issues that you have or like questions
  2090. 1:33:36it would answer.
  2091. 1:33:38But right here, I think I'll go back
  2092. 1:33:40into cloud. Once this is done, I'm going
  2093. 1:33:43to commit them and then hopefully we're
  2094. 1:33:46going to close this pull request. All
  2095. 1:33:49right. So, these are all the changes
  2096. 1:33:50that we got. I'll go ahead and stage
  2097. 1:33:54them,
  2098. 1:33:55get a commit message, and then we're
  2099. 1:33:57going to commit it.
  2100. 1:34:00Let's sync this up.
  2101. 1:34:02And then right here, we should have two
  2102. 1:34:05commits.
  2103. 1:34:07We only had one. This should be two.
  2104. 1:34:09Now, let's scroll to the bottom. And
  2105. 1:34:11then we can just
  2106. 1:34:14um merge the pull request. Okay. So,
  2107. 1:34:17I'll just press this. Let's confirm it.
  2108. 1:34:21Once this is done successfully, just
  2109. 1:34:23don't forget to going back, switching it
  2110. 1:34:26to the master, and then getting the
  2111. 1:34:29latest changes.
  2112. 1:34:32Okay, so with this, I think we are
  2113. 1:34:34completely done with this section as
  2114. 1:34:36well. In the next one, we can kind of
  2115. 1:34:39like improve this app a little bit more
  2116. 1:34:41by updating our profile screen. So, I'll
  2117. 1:34:44see you there. All right. So, as I said,
  2118. 1:34:47now it is time to improve the profile
  2119. 1:34:49screen a little bit more. So, I'm going
  2120. 1:34:51to go ahead and just say now the profile
  2121. 1:34:54screen looks pretty cool, but I want you
  2122. 1:34:56to add more options like instead of only
  2123. 1:34:59having privacy policy right below to it
  2124. 1:35:02also have the terms of services link.
  2125. 1:35:05And other than this, just add couple of
  2126. 1:35:08more um kind of like settings or like
  2127. 1:35:11preferences, the usual things that every
  2128. 1:35:15mobile app would have.
  2129. 1:35:18Okay. So, I'm going to go ahead and run
  2130. 1:35:20this. Let's see what we're going to get
  2131. 1:35:21back. It is really important for you to
  2132. 1:35:24add the privacy policy and terms of
  2133. 1:35:26services. And when users press them, it
  2134. 1:35:30should take them to the to the actual
  2135. 1:35:33page, right? And we're going to build
  2136. 1:35:35that page. But for now, let's just um
  2137. 1:35:38have the test UI like example.com, but
  2138. 1:35:42we're going to have our legal pages. and
  2139. 1:35:45then we're going to link it right here.
  2140. 1:35:47So after a couple of seconds, here we
  2141. 1:35:49go. It's been implemented and as you can
  2142. 1:35:51tell now we have more links on the
  2143. 1:35:54profile screen. So we have things like
  2144. 1:35:56notifications which will take you to the
  2145. 1:35:58actual notifications page. Um you can
  2146. 1:36:01definitely change the implementation but
  2147. 1:36:03I'm happy with it for now. We have the
  2148. 1:36:06support where we can also share the
  2149. 1:36:09style or like restyle which is the name
  2150. 1:36:11of our application. It should be home
  2151. 1:36:13AI, but that's fine. We have the illegal
  2152. 1:36:16pages links and then sign out as well as
  2153. 1:36:19the delete account. Now, you might want
  2154. 1:36:21to delete this feature, but that's
  2155. 1:36:23really risky because if you have
  2156. 1:36:25authentication, then you must have the
  2157. 1:36:28delete account feature, right? If you
  2158. 1:36:30don't have this, Apple will reject your
  2159. 1:36:32application. So, like this is not a
  2160. 1:36:35optional feature. It is a mustave. I was
  2161. 1:36:38very surprised to hear it. But if you
  2162. 1:36:40think about it, it actually makes sense
  2163. 1:36:42because if you store your users data
  2164. 1:36:46anytime, they should be able to request
  2165. 1:36:48for deletion, right?
  2166. 1:36:52Okay. So, I think that's it for the
  2167. 1:36:54profile screen. Now, there is one thing
  2168. 1:36:56that I'd like to mention which is going
  2169. 1:36:57to be under the designs tab, which is
  2170. 1:37:01this one. So right now on this screen we
  2171. 1:37:04load the full-size images just to show
  2172. 1:37:08some small thumbnails which is not
  2173. 1:37:10really optimal right this is slow and it
  2174. 1:37:13burns mobile data but with the help of
  2175. 1:37:16image kit we can fix this with a few URL
  2176. 1:37:19parameters instead of image processing
  2177. 1:37:22code so it's going to be super simple
  2178. 1:37:24like imagine in the in the URL you will
  2179. 1:37:28have your image URL right let's just say
  2180. 1:37:32image.com or something, right? And then
  2181. 1:37:34you would have a parameter like um V or
  2182. 1:37:39W400 which says like width of 400,
  2183. 1:37:43right? Or something like F auto. Like
  2184. 1:37:46you're going to see what I mean. Let's
  2185. 1:37:48just go and visit the image kit
  2186. 1:37:49documentation and you can read the
  2187. 1:37:52entire thing or just take a look at it
  2188. 1:37:54pretty quickly. You don't really need to
  2189. 1:37:56go like all over that. Um I just want to
  2190. 1:37:59show you an example like here you have
  2191. 1:38:01different parameters right
  2192. 1:38:04so here like originally quality is 100
  2193. 1:38:08but it is fine if you just decrement it
  2194. 1:38:10by 20 there is even no like almost no
  2195. 1:38:13change but it's going to save you a lot
  2196. 1:38:14of data um here we have like cube which
  2197. 1:38:17stands for quality notice how you just
  2198. 1:38:20add it in the URL as a parameter now we
  2199. 1:38:23don't really need to read all of this or
  2200. 1:38:25implement it by yourself you can copy
  2201. 1:38:27this entire
  2202. 1:38:28documentation, right? And then right
  2203. 1:38:31here, we're going to paste this in. And
  2204. 1:38:33then at the very end, I'm just going to
  2205. 1:38:35have a prompt that I prepared and you
  2206. 1:38:38can take a look at it. So here, I just
  2207. 1:38:41say add image kit image optimization to
  2208. 1:38:44the app, right? And you can pause the
  2209. 1:38:46video and read it, but this is super
  2210. 1:38:48simple. I just say like go ahead and
  2211. 1:38:50implement it um on this screen. Okay, so
  2212. 1:38:53I'm going to go ahead and run this.
  2213. 1:38:56This will also add like a tiny blurred
  2214. 1:38:59placeholder so each of these cards fades
  2215. 1:39:02in smoothly instead of like popping. Um,
  2216. 1:39:07let's just wait for this to be done.
  2217. 1:39:09Once it is done, I'll just be right
  2218. 1:39:10back. All right, so looks like it is
  2219. 1:39:13done. And here it says, "Now this grid
  2220. 1:39:15loads optimized thumbnails with a tiny
  2221. 1:39:18blurred preview showing until each one
  2222. 1:39:21arrives." So let's go ahead and take a
  2223. 1:39:23look at it. As you can tell, we have
  2224. 1:39:26this beautifully um animated like how do
  2225. 1:39:30we call it beautiful animation right and
  2226. 1:39:32now it might look the same as before but
  2227. 1:39:36we we are saving so much um data okay
  2228. 1:39:40now other than this let's try to add the
  2229. 1:39:42overlays so users want to share their
  2230. 1:39:45redesign right and a plain image doesn't
  2231. 1:39:48really say what it is so let me just
  2232. 1:39:50show you Image kit has overlays so you
  2233. 1:39:54can literally add these types of
  2234. 1:39:55overlays and I'm pretty sure that you
  2235. 1:39:57have seen it in every kind of app or
  2236. 1:40:00like website especially in like
  2237. 1:40:02e-commerce stores they put their own
  2238. 1:40:05name or even in like real estate
  2239. 1:40:07websites so that you know like they have
  2240. 1:40:09their own mark and this is how we can do
  2241. 1:40:12it with image kit like let me show you
  2242. 1:40:14the URL you have the URL endpoint base
  2243. 1:40:17image and then the image layer right
  2244. 1:40:22um I'll just go ahead and kind of like
  2245. 1:40:24take the entire documentation. You can
  2246. 1:40:26take a look at it. Like there are so
  2247. 1:40:28many other examples, but I'll just keep
  2248. 1:40:30it simple. I will paste it right here.
  2249. 1:40:34Um what it says. Let me see.
  2250. 1:40:38I think this is like too long. Um
  2251. 1:40:44I'm going to copy it for LLM.
  2252. 1:40:48Okay. So, I think it doesn't allow me to
  2253. 1:40:50copy and paste. So instead, I'm just
  2254. 1:40:52going to copy the URL. I'm going to
  2255. 1:40:54paste this in and then I'll say this is
  2256. 1:40:57the overlays documentation for image
  2257. 1:41:00kit. Please go over that.
  2258. 1:41:03And then again, I have a prompt that I
  2259. 1:41:06prepared. It is super simple like I'm
  2260. 1:41:08just doing this for the sake of tutorial
  2261. 1:41:10otherwise I would just talk. Uh but this
  2262. 1:41:14is the entire thing. You can pause the
  2263. 1:41:15video and take a look at it. So I'm
  2264. 1:41:18going to run and let's see what we're
  2265. 1:41:19going to get back. So cloud is done with
  2266. 1:41:22it. I just said how do I see this in
  2267. 1:41:24action? It says go under any of these
  2268. 1:41:27designs and then press the share button.
  2269. 1:41:31It says copy the link and then go ahead
  2270. 1:41:33open this up in Safari. Right. I'm going
  2271. 1:41:36to go ahead and paste this in.
  2272. 1:41:40So as you can tell it is the exact same
  2273. 1:41:42image but we have our application logo.
  2274. 1:41:46So this has been added thanks to image
  2275. 1:41:48kit overlay. All right. So, I'll just go
  2276. 1:41:51back to my application.
  2277. 1:41:53One thing that I'll do is upscaling the
  2278. 1:41:56images. This is again thanks to image
  2279. 1:41:59kit. Like I just want to show you these
  2280. 1:42:01features because they're really really
  2281. 1:42:03cool and very very easy to implement.
  2282. 1:42:06Like you can literally just upscale an
  2283. 1:42:08image. So here you can tell um this is
  2284. 1:42:12the like original image and you can
  2285. 1:42:14upscale it, right? It's like much more
  2286. 1:42:16cleaner. I'm going to go ahead and just
  2287. 1:42:19provide you the prompt.
  2288. 1:42:22Okay. So, you can pause the video, take
  2289. 1:42:23a look at it. I'll just go ahead and run
  2290. 1:42:26this.
  2291. 1:42:28So, looks like this has also been
  2292. 1:42:30completed. Let's go ahead and take a
  2293. 1:42:31look at it. In one of these pages, like
  2294. 1:42:34we have the HD option, right? Once you
  2295. 1:42:37press that, it's going to take some time
  2296. 1:42:39until I image kit can prepare it.
  2297. 1:42:42Usually, it shouldn't take this long.
  2298. 1:42:44Let me just go ahead and reload it.
  2299. 1:42:48like it should be faster. Maybe we
  2300. 1:42:51should just reload our application and
  2301. 1:42:53test this out. I'm going to say HD. And
  2302. 1:42:56here we go. Now, I don't know if you can
  2303. 1:42:58see the difference, but on the after
  2304. 1:43:00image, there is a difference.
  2305. 1:43:03Okay. So, with that, I think I'm going
  2306. 1:43:06to leave this lesson right here. Now,
  2307. 1:43:09usually I would create a new branch and
  2308. 1:43:11then send a pull request, but I have
  2309. 1:43:14already shown this multiple times so you
  2310. 1:43:16know how that work. So, I'm just going
  2311. 1:43:18to keep it simple and then basically
  2312. 1:43:21stage and commit everything to the
  2313. 1:43:23master branch. Okay. So, I'm going to
  2314. 1:43:25get the commit message.
  2315. 1:43:30I'll say commit and sync this up. This
  2316. 1:43:33will basically push everything to the
  2317. 1:43:35master branch.
  2318. 1:43:38Okay. So, with that said, I think I'm
  2319. 1:43:40going to leave this lesson right here.
  2320. 1:43:42And in the next one, we're going to get
  2321. 1:43:43started with the legal pages, which are
  2322. 1:43:46privacy policy and terms of service. So,
  2323. 1:43:49I'm going to see you there. All right.
  2324. 1:43:51So, now we have a fully functional
  2325. 1:43:54mobile application, but we are missing
  2326. 1:43:56one of the most important thing, which
  2327. 1:43:58is the legal pages. If you don't have
  2328. 1:44:01the legal pages, your application will
  2329. 1:44:03get rejected by Apple, right? So we'd
  2330. 1:44:06like to build these pages, deploy them
  2331. 1:44:09and put the URL actually right here. So
  2332. 1:44:12when we press one of these links,
  2333. 1:44:14instead of visiting example.com, we
  2334. 1:44:17should visit the actual privacy policy.
  2335. 1:44:20So for this, let's first build a legal
  2336. 1:44:22sorry first let's build a landing page,
  2337. 1:44:25right? And then we're going to attach
  2338. 1:44:27these pages into that. If you don't know
  2339. 1:44:30what I mean, you're just going to see it
  2340. 1:44:31in the next 5 minutes.
  2341. 1:44:33>> [snorts]
  2342. 1:44:33>> So, first
  2343. 1:44:35let's go ahead and just find a design
  2344. 1:44:37that we can use. By the way, these are
  2345. 1:44:40the prompts that I'm going to get into
  2346. 1:44:41in a couple of minutes. Okay. So, for
  2347. 1:44:43now, I visited Pinterest and then I
  2348. 1:44:46searched for something like website
  2349. 1:44:48design and something related to home
  2350. 1:44:51because this is what my application is
  2351. 1:44:53all about. There are millions of
  2352. 1:44:56different designs. The one that I liked
  2353. 1:44:58is this one. So, I'm going to take this
  2354. 1:45:00image, right? I'm going to copy it.
  2355. 1:45:03Let's go under the design. I'm going to
  2356. 1:45:05paste it. And here I will call it
  2357. 1:45:07something like um landing page
  2358. 1:45:11reference.png.
  2359. 1:45:13Let's open up a cloud session. And then
  2360. 1:45:16here I'm going to say
  2361. 1:45:18now we have built the entire mobile
  2362. 1:45:20application. It is time to get started
  2363. 1:45:23with a landing page. For the UI design,
  2364. 1:45:27I want you to get inspired by this
  2365. 1:45:29image. So here I'm just going to pause
  2366. 1:45:32and then attach this file.
  2367. 1:45:39I don't really want you to copy it 100%
  2368. 1:45:42but just get inspired by it.
  2369. 1:45:46Okay. Now before I send this, what I'll
  2370. 1:45:48be doing is this. There is a website
  2371. 1:45:51called the shots.so.
  2372. 1:45:53So you can get these types of beautiful
  2373. 1:45:55mockups, right? You can have like
  2374. 1:45:58variation of three, one, or even two.
  2375. 1:46:01Let's just get started with the
  2376. 1:46:04two option like I think I'm going to go
  2377. 1:46:07with maybe.
  2378. 1:46:10Yeah, I'll go with this one. So, what
  2379. 1:46:12you would like to do, let me just
  2380. 1:46:13actually say start over. This is what
  2381. 1:46:15you're going to see when you visit
  2382. 1:46:17shots.so.
  2383. 1:46:18So, from here, go ahead and select
  2384. 1:46:21iPhone 17 or whatever you would like to
  2385. 1:46:24select. Then for the background, let's
  2386. 1:46:27just go right here.
  2387. 1:46:30Um, okay, I'll just pause here. Go under
  2388. 1:46:34the shadow also. Make it none. Okay, it
  2389. 1:46:36is very important. Just put it as none.
  2390. 1:46:39Then go under the frame transparent
  2391. 1:46:41background. Then you would like to kind
  2392. 1:46:44of like zoom in as much as possible
  2393. 1:46:46because you would like to get rid of
  2394. 1:46:48these extra spaces. Okay, so just go
  2395. 1:46:50ahead and zoom in. Now let's just put
  2396. 1:46:52our authentication screen. I'm going to
  2397. 1:46:55get the option of two, by the way. So,
  2398. 1:46:57I'm going to get this one, right? Let's
  2399. 1:47:00zoom in once again.
  2400. 1:47:03So, you would like to go as much as
  2401. 1:47:05possible until like whatever you want,
  2402. 1:47:07but what I'd like to do is just leave as
  2403. 1:47:10minimal space as possible. Okay,
  2404. 1:47:14just like that. Now, I'm going to get
  2405. 1:47:16the screenshot from my simulator. Let's
  2406. 1:47:19go ahead and get one from right here.
  2407. 1:47:23Wait, I think I've been recording this.
  2408. 1:47:25I'll just say delete.
  2409. 1:47:28If you press this, this will take the
  2410. 1:47:30screenshot. I'm going to copy it to
  2411. 1:47:32clipboard and then paste it right here.
  2412. 1:47:35Here you go. And then let's get one from
  2413. 1:47:38the authentication screen.
  2414. 1:47:42So, let me just put it in the middle.
  2415. 1:47:44Take the screenshot um like this.
  2416. 1:47:48Copy it and then Ctrl +V. Okay, here we
  2417. 1:47:52go. I think it looks pretty clean. Maybe
  2418. 1:47:56I can go with a different layout. Maybe
  2419. 1:47:58like this one. Yeah, I think I'll go
  2420. 1:48:00with this one.
  2421. 1:48:02And then I'll just say export the image.
  2422. 1:48:04Make sure that you put this on none.
  2423. 1:48:06Okay. And then we'll just say export.
  2424. 1:48:10I'm going to copy this image as well and
  2425. 1:48:13just put it in VS Code right here. And
  2426. 1:48:17let's just say
  2427. 1:48:19frame one. We can call it anything, but
  2428. 1:48:21I'll just say frame one. And let's get
  2429. 1:48:24another one.
  2430. 1:48:27Maybe like this one. I'll just zoom in
  2431. 1:48:30again. And let's get one more
  2432. 1:48:32screenshot.
  2433. 1:48:34I'm going to log in.
  2434. 1:48:40Like if you're wondering, by the way, we
  2435. 1:48:42are going to put these
  2436. 1:48:44um we're going to put these screenshots
  2437. 1:48:47to our landing page. And I don't know
  2438. 1:48:49why this has failed. Let's just see it
  2439. 1:48:52once again.
  2440. 1:49:02Okay. So, I think this is just trying to
  2441. 1:49:04sign us up, which is not really fine.
  2442. 1:49:07You could follow up. You already know
  2443. 1:49:09how to fix this. But let me just try to
  2444. 1:49:12just go with this option. But I think I
  2445. 1:49:14cannot log in, right? Um, let me just
  2446. 1:49:17try to login with this account and then
  2447. 1:49:19come back. All right. So, in the
  2448. 1:49:21background, I just talk with cloud
  2449. 1:49:23pretty quickly and it fixed it. Like, as
  2450. 1:49:25you can tell, I'm logged in. You can do
  2451. 1:49:27the same thing or, you know, the same
  2452. 1:49:29thing for any kind of issues really.
  2453. 1:49:31Here, I'm going to take a screenshot
  2454. 1:49:33once again, copy it to the clipboard.
  2455. 1:49:36Let's go back. Um, right here, I'm going
  2456. 1:49:39to paste this in. Here we go. I'm going
  2457. 1:49:42to get this image.
  2458. 1:49:44Let's export it. And then I'll put it
  2459. 1:49:46right here under the design. Let's just
  2460. 1:49:49say this is the frame two.
  2461. 1:49:55Now you can get more of these. Um you
  2462. 1:49:58just get the idea, right? You can get
  2463. 1:50:00either the one, second or third option.
  2464. 1:50:03Right here I'll go ahead and say
  2465. 1:50:07here I have prepared two different
  2466. 1:50:10images. I want you to use them in the
  2467. 1:50:12landing page. And I'm going to attach
  2468. 1:50:15them. Let's say frame one and frame two.
  2469. 1:50:21Okay. So with this, let's just go ahead
  2470. 1:50:23and say one more thing. I want you to
  2471. 1:50:26keep the colors and the theme just like
  2472. 1:50:28in the mobile app. Um it could be in the
  2473. 1:50:32light mode or dark mode, but just make
  2474. 1:50:34sure that it is matching with our our
  2475. 1:50:37application.
  2476. 1:50:40Now just one more thing here. I'm going
  2477. 1:50:41to say create a folder called legal and
  2478. 1:50:45then build everything into that. This
  2479. 1:50:47could be a simple index.html file and
  2480. 1:50:51like some CSS files and then also in the
  2481. 1:50:54footer and yeah in the footer it just
  2482. 1:50:57have the privacy policy and terms of
  2483. 1:51:00services link when we press them take us
  2484. 1:51:03to those pages. For now just put a very
  2485. 1:51:06simple draft content. I'm going to
  2486. 1:51:09update it later at some point.
  2487. 1:51:13Okay, so that's my entire prompt. You
  2488. 1:51:15can take a look at it. I think it is
  2489. 1:51:18looking pretty clean. We explained
  2490. 1:51:19everything. It should create a folder
  2491. 1:51:22called legal and then build that HTML
  2492. 1:51:25file. Once it is done, I'll just be
  2493. 1:51:27right back. All right. So, here we go.
  2494. 1:51:29We got the legal folder. Within this we
  2495. 1:51:32have these images and then we have three
  2496. 1:51:35different files or like four files but
  2497. 1:51:38three of them are HTML and one style.
  2498. 1:51:42You can right click to it and then just
  2499. 1:51:44say open with live server.
  2500. 1:51:48Now if you cannot see this option by the
  2501. 1:51:50way that means you don't have this
  2502. 1:51:51extension called live server right just
  2503. 1:51:55go ahead and install it. It is this one
  2504. 1:51:58right? Just install that and then you
  2505. 1:52:00should be able to get this option just
  2506. 1:52:02like what I do. And then here we go. Now
  2507. 1:52:05we got that frame. I think it looks
  2508. 1:52:08pretty clean. Like we have eight
  2509. 1:52:10different styles, right? Like modern,
  2510. 1:52:13minimalist. You get the idea. We have
  2511. 1:52:16the before after just like in our mobile
  2512. 1:52:18phone.
  2513. 1:52:20We have this beautiful image. Like
  2514. 1:52:22overall I think everything looks pretty
  2515. 1:52:24clean. Even this detail, I liked it. Um
  2516. 1:52:27if you press the privacy policy it'll
  2517. 1:52:30take you to right here then same thing
  2518. 1:52:32for terms of services
  2519. 1:52:35but now as you can imagine the content
  2520. 1:52:38of these files are really important
  2521. 1:52:41right that's why I have prepared these
  2522. 1:52:43prompts so I'm going to copy this one
  2523. 1:52:46and you can find the link in the
  2524. 1:52:47description so we have for terms of
  2525. 1:52:50services and then the privacy policy
  2526. 1:52:53this will basically tell AI to read the
  2527. 1:52:56entire codebase and act like a
  2528. 1:52:59professional kind of like lawyer or
  2529. 1:53:01something. So it would give us a legal
  2530. 1:53:03page that would be accepted by Apple. I
  2531. 1:53:06have already used this in my actual
  2532. 1:53:08mobile phone and it has never it it has
  2533. 1:53:11never got rejected. Sorry. Um it just
  2534. 1:53:14works in the very first try. Okay. So
  2535. 1:53:16I'm going to go ahead and just maybe
  2536. 1:53:19yeah I'll just paste it right here. And
  2537. 1:53:21at the very end I'll say
  2538. 1:53:24um you know just update the terms of
  2539. 1:53:27services file content with with the new
  2540. 1:53:30one.
  2541. 1:53:33Okay. So I'm going to run this once it
  2542. 1:53:35is done. We'll do the same thing for
  2543. 1:53:37this one.
  2544. 1:53:39So I'm going to copy it and then I'll
  2545. 1:53:41even paste it right here. I'll say now
  2546. 1:53:44do the same thing for the privacy policy
  2547. 1:53:47page
  2548. 1:53:49and I'm going to run it once this is
  2549. 1:53:51done. All right. So here we go. It is
  2550. 1:53:53ready for the terms of services page.
  2551. 1:53:56Now as you can imagine there will be
  2552. 1:53:58some placeholder values like the
  2553. 1:54:00effective date, last updated date. Um
  2554. 1:54:04let me just scroll to the bottom. There
  2555. 1:54:06will be also things like company of
  2556. 1:54:07legal name, postal address and support
  2557. 1:54:11email. Now this is very normal as you
  2558. 1:54:14can imagine AI cannot really guess what
  2559. 1:54:16is your legal company name right or the
  2560. 1:54:20postal address. So you should provide
  2561. 1:54:22these values. Other than this, you don't
  2562. 1:54:24really need to update anything else.
  2563. 1:54:26Just go ahead and ask to AI like what
  2564. 1:54:29placeholder values that you would need
  2565. 1:54:31from me and then you will provide and
  2566. 1:54:33then it is going to fill that in. Right?
  2567. 1:54:35So I'm going to do the same thing for
  2568. 1:54:37the privacy policy page. And then once
  2569. 1:54:40we have that page as well, we can go
  2570. 1:54:42ahead and deploy this. Right?
  2571. 1:54:45So, we're going to put this
  2572. 1:54:47into an actual URL rather than running
  2573. 1:54:50it locally in our machine. So, it should
  2574. 1:54:53be live on the internet. All right. So,
  2575. 1:54:56looks like this is also ready. I'll just
  2576. 1:54:58go back.
  2577. 1:55:00Let's scroll to the bottom and see. Here
  2578. 1:55:03we go. It's ready. Again, you have
  2579. 1:55:05couple of different fields that you need
  2580. 1:55:07to fill in, but other than this, I think
  2581. 1:55:09we are ready. Now, here I'd like to have
  2582. 1:55:12a couple of different tiny touches. So,
  2583. 1:55:16here instead of just saying get the app,
  2584. 1:55:18we could have two different buttons or
  2585. 1:55:20like here we can have two different
  2586. 1:55:22buttons saying download for iOS and here
  2587. 1:55:25for Android. Right. I'm going to take a
  2588. 1:55:28screenshot right here. I'm going to say
  2589. 1:55:33so everything looks pretty cool but I
  2590. 1:55:35want you to have both the app store like
  2591. 1:55:39download for iOS and for Android.
  2592. 1:55:42Currently we don't really have it for
  2593. 1:55:44play store. I want you to use that logo
  2594. 1:55:46and put a nice button and kind of like
  2595. 1:55:49included in the UI.
  2596. 1:55:53Okay, so here is the end result. I think
  2597. 1:55:55this looks way more cleaner than what we
  2598. 1:55:58had previously. Now obviously you can
  2599. 1:56:01improve the UI much more than this right
  2600. 1:56:04you can just take more references or
  2601. 1:56:07like just explain what you'd like to
  2602. 1:56:09have with cloud um you can animate some
  2603. 1:56:12of them like literally we could have
  2604. 1:56:14some videos um let's actually do it like
  2605. 1:56:17if you are interested I can show you
  2606. 1:56:19that so here I'm going to say now I want
  2607. 1:56:22you to have some kind of animated video
  2608. 1:56:25or like just animate one of these things
  2609. 1:56:28in the UI Y for this you can use
  2610. 1:56:31Hicksfield MCP.
  2611. 1:56:34So here I'll just pause. Obviously if
  2612. 1:56:36you want to animate an image you'd like
  2613. 1:56:39to use an AI tool. In this case I'll use
  2614. 1:56:42Hickfield. As I said before this is
  2615. 1:56:44paid. You don't have to use it but it's
  2616. 1:56:46really really convenient. That's why I'm
  2617. 1:56:48using it in the first place. I'm going
  2618. 1:56:50to say you can use the Clink 3.0 to zero
  2619. 1:56:54model and let's say
  2620. 1:56:57like maybe 180p quality and I'm [snorts]
  2621. 1:57:01going to say maximum 10 seconds so it
  2622. 1:57:05doesn't spend too much credits. Um okay
  2623. 1:57:08so I'm going to go ahead and run this.
  2624. 1:57:10Let's see what we're going to get back.
  2625. 1:57:12All right. So after some time looks like
  2626. 1:57:14it's been generated and here you can
  2627. 1:57:16tell like I'll just scroll to the top.
  2628. 1:57:18It is using hickfield and it is just
  2629. 1:57:21waiting for the generation. Once it is
  2630. 1:57:23done it just puts it on the UI. So right
  2631. 1:57:26here if I scroll to the bottom as you
  2632. 1:57:29can tell like I have the video it goes
  2633. 1:57:32from the before to the after version.
  2634. 1:57:35Initially I couldn't see it so I just
  2635. 1:57:37said um where is it? I couldn't find it
  2636. 1:57:39but like it says here it is at the
  2637. 1:57:41bottom. Okay. So this is how you can
  2638. 1:57:44generate videos.
  2639. 1:57:47Um I'll be going and trying to deploying
  2640. 1:57:50this to the internet. Now for this there
  2641. 1:57:53are a bunch of different options. I'll
  2642. 1:57:54be using Cloudflare which is completely
  2643. 1:57:57free and it is really really easy to
  2644. 1:57:59deploy. I already have an account. If
  2645. 1:58:02you don't have just go ahead and create
  2646. 1:58:04one then sign up with your like GitHub
  2647. 1:58:07account right here. I'm just going to
  2648. 1:58:09say now I want you to deploy the landing
  2649. 1:58:13page to to Cloudflare. And for this I
  2650. 1:58:16already have the CLI tool. But you know
  2651. 1:58:19if you need anything else just go ahead
  2652. 1:58:21and install it.
  2653. 1:58:24Okay. So CLI tool means just a tool
  2654. 1:58:27where you can deploy stuff from the
  2655. 1:58:30terminal and you can install it as well
  2656. 1:58:32just like what I do. Say if I don't have
  2657. 1:58:35the CLI tool for Cloudflare just go
  2658. 1:58:38ahead and install it. And then here I'm
  2659. 1:58:40going to say once you have deployed the
  2660. 1:58:42app give me the URL also under the
  2661. 1:58:45profile screen link them to the privacy
  2662. 1:58:49policy and terms of services links.
  2663. 1:58:52So I'm going to run this. Once it is
  2664. 1:58:55ready it will actually link them to
  2665. 1:58:58right here and I'm going to show you how
  2666. 1:59:00that work. All right. So looks like it's
  2667. 1:59:02been deployed. I'm going to go ahead and
  2668. 1:59:04press the link right here. It is live.
  2669. 1:59:07Then we have the privacy policy and the
  2670. 1:59:10terms of services. Let's just press one
  2671. 1:59:12of these links here. You can tell it
  2672. 1:59:14actually opens up the deployed page. I'm
  2673. 1:59:17going to do the same thing for the terms
  2674. 1:59:19of service. It is right here. As you can
  2675. 1:59:22tell, we can go back home and it is also
  2676. 1:59:26responsive, which means it also works
  2677. 1:59:28nicely on the mobile.
  2678. 1:59:31All right. So, this is how you build the
  2679. 1:59:33legal pages. Once again, it is really
  2680. 1:59:36really important for you to build them
  2681. 1:59:39because if you don't build the illegal
  2682. 1:59:41pages, your application will get
  2683. 1:59:43rejected because let me tell you like in
  2684. 1:59:46the app store like there is something
  2685. 1:59:49called app store connect right let's
  2686. 1:59:51just search for it app store connect
  2687. 1:59:54this is the dashboard where you can
  2688. 1:59:55deploy your project and when you put
  2689. 1:59:58your application details they ask for
  2690. 2:00:00you to add the privacy policy link right
  2691. 2:00:04and then also also the same link for
  2692. 2:00:06terms of services. So you definitely
  2693. 2:00:09need the these URLs and include them in
  2694. 2:00:13those uh text inputs, right?
  2695. 2:00:17Then one more thing like they ask for
  2696. 2:00:19you to put the support email. I think we
  2697. 2:00:22already have it. It should be at the
  2698. 2:00:25very bottom. You need to create a
  2699. 2:00:27support email. You can add your own as
  2700. 2:00:30well. That's what I have done. I just
  2701. 2:00:32put my actual email right here. It is um
  2702. 2:00:36it is fine. It is getting accepted
  2703. 2:00:38without any issues. So yeah, with that I
  2704. 2:00:41think we are pretty much done with the
  2705. 2:00:43entire application. Like we have gone
  2706. 2:00:45through this entire workflow step by
  2707. 2:00:47step. Let's just pretty quickly remember
  2708. 2:00:49what we have done in the last 2 hours.
  2709. 2:00:52Like we have built a plan, right? We
  2710. 2:00:55described our entire project and based
  2711. 2:00:57off of that plan we generated the UI
  2712. 2:01:00design. For this we have used the you
  2713. 2:01:03know Pinterest to get some beautiful
  2714. 2:01:06designs. Then with that reference we are
  2715. 2:01:08able to get something like this which
  2716. 2:01:11looks pretty clean right and then after
  2717. 2:01:14the design we break it into different
  2718. 2:01:16features like authentication I don't
  2719. 2:01:19know let like let's say the profile
  2720. 2:01:21screen the actual implementation and so
  2721. 2:01:24on and then we build one at a time. Now
  2722. 2:01:27anytime we build something first we
  2723. 2:01:30check it manually then we run an AI code
  2724. 2:01:33review. So for this we have used code
  2725. 2:01:36rabbit
  2726. 2:01:37and then anytime we got a suggestion we
  2727. 2:01:40just fix them. Then we see if there is
  2728. 2:01:42any more features if not we just
  2729. 2:01:45committed that and close the pull
  2730. 2:01:47request. And then if we had more
  2731. 2:01:49features we have gone through this
  2732. 2:01:51multiple times right I think we have run
  2733. 2:01:54this like four or five times in total
  2734. 2:01:57and now we are right here. There is not
  2735. 2:02:00more features to implement. So, we would
  2736. 2:02:02like to just mark this project as
  2737. 2:02:05completed. Obviously, you can add much
  2738. 2:02:07more features on top of this, but I
  2739. 2:02:10think this is a really good starter
  2740. 2:02:13point for you to have. Feel free to use
  2741. 2:02:15the source code in any way that you
  2742. 2:02:18want. It is completely free and I'm
  2743. 2:02:20going to leave it in the description.
  2744. 2:02:22So, with that, I'll go ahead and commit
  2745. 2:02:24these changes as well. you can create a
  2746. 2:02:27new branch and you know go through that
  2747. 2:02:30process but I'll just have it under the
  2748. 2:02:32master.
  2749. 2:02:37Okay. So with that I think I'm going to
  2750. 2:02:39leave this tutorial right here. Thanks
  2751. 2:02:41for watching and hopefully I'll see you
  2752. 2:02:43in the next one.

About this transcript

This page contains the full transcript of Build an Interior Designer AI App with Claude (FULL COURSE) by Codesistency, generated from the public captions YouTube serves with the video. The transcript has 19,922 words across 2,752 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.

What you can do with it

Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.

Free YouTube transcript tool

YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.