Free YouTube Transcribe

Video transcript

How to Build a Full-Stack Web App with AI (Full Tutorial with TRAE SOLO)

MiladiCode · 3,367 words · 16 min read

Want to search this transcript, jump the video from any line, or download it as TXT, SRT, or VTT?

Open in the transcript tool

Full transcript

Introduction

0:00What if you could take an idea and turn

0:02it into a fully working web application

0:04in minutes? Not just a design, but a

0:06real product with a front end, a back

0:09end, authentication, and even

0:11deployment. In this video, we're going

0:13to build a full application from start

0:15to finish using the Trey Solo agent.

0:17We'll start with a simple design

0:19inspiration and turn it into a complete

0:21SAS style application step-by-step.

0:24You'll see how it plans the entire

0:25project, generates the code, solves real

0:28issues, and builds production-ready

0:30features like user authentication. But

0:31here's the difference. You're not just

0:33watching AI generate code, you're

0:35actually working alongside it like a

0:37real development partner. So, if you

0:39want to build faster, smarter, and with

0:41far less friction, let's dive in.

0:51>> [bell]

0:54>> All right, guys. To get started, all you

0:56need to do is click the first link in

0:57the description below this video. That

1:00link will take you directly to Trey's

Getting Access to TRAE SOLO

1:02official website. Now, Trey has recently

1:04updated their Solo AI, and I have to

1:07say, the moment you start using the new

1:08Solo and give it your first task, you'll

1:11immediately realize that this is one of

1:12the most advanced AI models in the web

1:15development space right now. At the

1:17moment, the new Solo is in beta, and the

1:19best part is that you can use it

1:21completely free during this period. So,

1:24let's go ahead and explore it together.

1:26Now, to get early access, you'll need to

1:28enter an invite code. To get your invite

1:30code, you'll just need to follow a few

1:32simple steps. For that, head over to

1:34Trey's official Twitter account. I've

1:35included the link in the description

1:36below this video. From there, you can

1:38access the invite code. Just copy the

1:41code, paste it into the field here, and

1:43claim your access.

1:46Next, the platform will ask whether you

1:48want to continue using Solo on the web

1:51or download the desktop version.

1:53If you're using a Mac device, you can go

1:55ahead and download the desktop version

1:57of the new Solo for a more native

1:59experience. However, at the time I'm

2:01recording this video, the desktop

2:02version is not yet available for

2:03Windows. By the time you're watching

2:05this, they may have already released it.

2:08So, feel free to check and download it

2:10if it's available. For now, I'm going to

2:11continue with the web version. And don't

2:14worry, the interface and overall

2:16workflow are essentially the same, so

2:18you'll be able to follow along even if

2:20you're using the desktop app. Now, once

2:22you enter the platform, you'll notice

2:24that by default, it opens in something

2:26called MTC mode. This mode is designed

2:29to help you structure your work. For

2:31example, handling research, analyzing

2:33data, creating content, or reading web

2:35resources, all in a more organized and

2:38modular way. Think of MTC as your

2:40control center, where you break down

2:42your work into tasks and let the AI

2:44assist you step-by-step. Before we jump

2:47into the Solo code mode, let me quickly

Skills Feature (Game Changer)

2:49show you one of Trey's most powerful

2:51features, skills. Now, in most AI tools,

2:53you have to repeat the same instructions

2:55for every project, your structure,

2:57naming, and workflow. But with skills,

3:00you can save all of that as reusable

3:02building blocks. As you can see here,

3:03Trey offers a marketplace of skills,

3:05from front-end design to back-end

3:07workflows and automation. You can

3:09install them, combine them, and reuse

3:11them anytime. So, instead of repeating

3:14yourself, you just apply a skill, and

3:15the AI already knows exactly how you

3:17want things done. This makes your

3:19workflow faster, more consistent, and

3:22much more efficient. All right, now

3:24let's move on to the Solo code mode and

3:25use it to build a complete full-stack

3:27website from scratch. Now, to switch

TRAE SOLO Code Mode Overview

3:30from MTC mode to Solo mode, head over to

3:32the top left corner and click on this

3:34toggle, and there we go. So, what

3:36exactly is the Solo code mode? Think of

3:39it as your personal AI developer.

3:41Instead of just organizing tasks like

3:43MTC, Solo is designed to actually

3:45execute them. It can write code,

3:47understand your project structure, debug

3:49issues, and even help you build complete

3:51applications from start to finish. As

3:54you can see on the screen, it's focused

3:55on development workflows, things like

3:57application development, project

3:59understanding, automation tools, and

4:01even creative coding tasks. The idea is

4:04simple. You give it a goal, and Solo

4:06code figures out how to get there. And

4:08that's exactly what we're going to test

4:10in this video. Now, the first step is to

4:12create a new project. Go ahead and

4:14choose one of these two options, give

4:16your project a name, and then click on

4:18the create button.

4:19And just like that, we're ready to run

4:21our first task. In this tutorial, we're

Project Overview & Design Inspiration

4:23going to build a modern SAS style

4:25full-stack web application. Not just a

4:28simple landing page, but a real

4:30functional app with both front-end and

4:32back-end features. Now, when building

4:35applications with AI, one of the biggest

4:37challenges is coming up with a strong

4:38design idea or inspiration. For that,

4:41you can explore platforms like UI8 or

4:43Dribbble, where you'll find thousands of

4:45modern UI concepts. For example, I found

4:47this design right here. It has a

4:49cinematic, futuristic feel with a dark

4:51background, high-contrast visuals, and

4:54bold typography. Now, I'm going to use

4:56this design as the starting point for

4:58our project. So, first, I'll go ahead

5:00and upload the screenshot right here.

5:02Then, I'll enter my prompt and ask Solo

5:04to recreate the design. I'll say,

5:06"Recreate this exact landing page design

5:09with the same layout, spacing,

5:11typography, and element positions.

5:13Replace the brand name with my own, and

5:16update some of the text elements." And

5:18finally, I'll refine it by saying,

5:19"Remove the background image completely

5:21and use a pure black as the background.

5:24Keep all the elements, styles,

5:25gradients, and details exactly the

5:27same." And that's it. Now, I'll hit the

5:30send button, and let's see how the Solo

5:32code performs. Now, it gets to work. And

5:34as you can see, the first file it starts

PRD File & AI Planning Explained

5:36generating is the PRD.md file, which

5:39stands for project requirements

5:40document. This is actually a very

5:42important step. The PRD is where the AI

5:45breaks down your request and turns it

5:46into a clear, structured plan. It's not

5:48just writing code right away. It's first

5:50making sure it fully understands what

5:52we're trying to build. If we take a

5:54quick look here, you can see how

5:55detailed this is. It defines the product

5:58overview, the core features, the layout

6:01structure, and even the design style,

6:03including typography, colors, and UI

6:06elements.

6:07So, basically, the Solo agent is

6:09thinking like a real developer or

6:11product manager, planning everything

6:13before starting the actual development.

6:15And this is powerful because it ensures

6:18that the final result is accurate,

6:20consistent, and aligned with our

6:21original vision. All right, now let's

6:23give our agent a moment to complete the

6:25task.

6:28And there we go. It's done generating.

6:30And right here, we can see all the

6:32outputs created by the Solo agent. At

6:34the top, we have a live preview link,

6:36which opens our app directly on a local

6:38server, so we can instantly see the

6:39result in the browser. Below that, we

6:42have the PRD file, which outlines the

6:44full project requirements and shows how

6:46the AI understood our request. We also

6:48have an architecture file, where the

6:49agent defines the overall structure of

6:51the application, including how different

6:54parts of the system are organized and

6:56connected. And finally, we can see the

6:58list of files that were created or

6:59updated along with the exact changes

7:01made. So, this gives us full

7:03transparency into what the AI is doing

7:05behind the scenes. As you can see, it

7:07automatically opens the app in its

7:08built-in browser, and it has recreated

7:10the design almost exactly as we

7:12requested. However, there's one issue.

7:15This large headline text is not

7:17responsive across different screen

7:18sizes. So, to fix that, I'll give the

7:21Solo agent another task. I'll simply

7:23say, "Make sure the design is responsive

7:25on tablet devices and all screen sizes."

7:29Then I hit the send button,

7:31and within seconds, the agent updates

7:33the layout for us.

7:35Now, as you can see, the large text is

7:37fully responsive, but we still have

7:39another small issue. There are multiple

7:41small text elements in the hero section,

7:43and some of them, like this one here,

Using Selector Tool for UI Fixes

7:45are overlapping with the main headline.

7:47To fix this, Trey provides a very useful

7:50tool called the selector. By enabling

7:51it, we can directly target any specific

7:54element on the screen and apply precise

7:56changes exactly where we need them.

8:00And just like that, the layout looks

8:02much cleaner and more polished. Now, to

8:04take this design to the next level, I'm

Adding AI Video Background (VEED.IO)

8:06going to add a video background. For

8:08that, I'll use AI to animate an image

8:10based on the same design style we found

8:12on Dribbble. And to create that

8:14animation, I'll be using V.IO. Now, go

8:17ahead and open the second link in the

8:18description below and create your Veed

8:20account. Once you're logged into your

8:22dashboard, select the AI Playground

8:24option.

8:25At the bottom, click on AI models to

8:27choose your model.

8:29I'll go with the Google VO3.1 model,

8:31which is currently one of the most

8:33advanced options available.

8:35Next, upload the image that you want to

8:37animate.

8:39As soon as you upload it, the AI will

8:41automatically generate an animation

8:43prompt for you. You can either use that

8:45prompt or customize it with your own

8:48idea.

8:49Then, simply click on the generate

8:51button. After a few seconds, your video

8:53will be fully animated and ready to use.

8:57Perfect. Let's download it and add it to

8:59our project.

9:01Now, to upload the video into our

Uploading Assets to Project

9:03project folder, head over to the left

9:05panel. Here, you can see your project

9:07files along with the active chat. Open

9:09the file management section, where all

9:11your files and folders are listed. Next,

9:14select the public folder. Click on the

9:17three-dot menu and upload your video

9:19file from your computer.

9:21If the file doesn't land in the correct

9:22folder, no problem. Just drag and drop

9:25it directly into the public folder.

9:27And there we go. Now that the video is

9:29inside our project, let's use it as the

9:31background for our hero section. To do

9:33that, right-click on the video file and

9:35add it to the chat. Also, make sure to

9:36copy its file path.

9:39Then, ask the Solo agent to use this

9:41video as a full-screen hero background

9:43with autoplay, loop, muted, no controls,

9:46object-fit cover, fixed positioning, and

9:49full responsiveness across all screen

9:50sizes. Paste the file path at the end of

9:53the prompt, hit send.

9:56And after just a few seconds, there we

9:58go.

9:59As you can see, the Solo agent has

10:01successfully applied the video as a full

10:03screen background to our hero section.

10:06It looks great, but it's a little too

10:08bright. So, let's quickly adjust the

10:10opacity to around 70%.

10:14Perfect. That looks much better. Now,

10:16it's time to give our Solo agent a more

10:18advanced task. Let's ask it to build the

10:20rest of the pages for our website. I'll

10:22go ahead and enter a prompt like this.

10:24Use the attached image as a strict

10:26design reference and extend my website

10:29by creating the remaining sections.

10:31Follow the exact same visual style,

10:33layout logic, and typography system.

10:35Build a complete landing page structure

10:37with all the necessary sections.

10:39I also have another screenshot with

10:41additional sections from a design I

10:43found on Dribbble, so I'll upload that

10:45as well and hit send. Now, here's

10:47something important. You don't have to

10:49wait for the Solo agent to finish one

Running Multiple Tasks at the Same Time

10:50task before starting another. You can

10:52actually run multiple tasks directly

10:55within Solo at the same time. And on top

10:57of that, while Solo is working, you can

10:59even switch to MTC mode and start a

11:01completely separate task in parallel.

11:03So, you're not limited to a single

11:04workflow.

11:05Uh you can multitask seamlessly across

11:07both Solo and MTC without any

11:09interruptions. For example, I'll ask, "I

11:12want to integrate my Superbase project

11:14and progressively build the back end.

11:15How can I do that?" As soon as I hit

11:17send, it instantly responds with a

11:19step-by-step guide. So, yes, you can

11:22multitask between Solo and MTC and the

11:24AI will handle everything smoothly

11:26without delays.

11:28Now,

11:29the Solo agent has finished generating

11:30the rest of the design and it even

11:32provides a localhost link for preview.

11:35Let's take a look.

11:37As you can see, we now have a beautiful

11:39scrolling experience.

11:42What's really impressive is that the AI

11:44even generated a unique face image, even

11:46though the reference screenshot was

11:48completely different. It adapted the

11:50design intelligently to achieve a better

11:53overall result.

11:55The rest of the layout looks very

11:57advanced and polished. There's just a

11:58small alignment issue with this text

12:00here, but that's easy to fix. And

12:02interestingly, it also added animations

12:05to some elements, even though we didn't

12:07explicitly ask for them. That's actually

12:09pretty impressive. Let's also check how

12:11it looks on a desktop screen.

12:15And as you can see, it looks even better

12:17on larger screens.

12:19So now, let's say our front end is

12:20complete and it's time to move on to

12:22building the back end for our

Integrating Backend with Supabase

12:23application. Now, if you're a beginner

12:25and not familiar with Superbase or back

12:27end development, don't worry at all. The

12:29Solo agent makes this process incredibly

12:31simple. All you need to do is type

12:33something like, "Next, I need to

12:35integrate Superbase to enable user

12:37authentication in my app." Then hit the

12:39send button and let's see the response.

12:43All right, as you can see, the agent

12:45says, "I've integrated Superbase

12:47authentication into your application.

12:49Here's a summary of what was done." And

12:51this is where things get really

12:52powerful. It automatically installs all

12:55the required dependencies, sets up the

12:57Superbase client, and even updates the

12:59front end. For example, it adds a login

13:01option directly into our interface. On

13:03top of that, it creates a .env.example

13:06file with all the necessary

13:07configuration fields. And right below

13:10that, it clearly explains the next steps

13:12we need to follow. It says, "To connect

13:15authentication to your Superbase

13:16project, create a new file called

13:18.env.local in the root directory and add

13:21your credentials." Perfect. Let's do

13:24that. Now, in the web version of Solo,

13:26there isn't a direct option to create a

13:27new file. So, instead, we can simply use

13:30the .env.example file. Just right click

13:32on it, rename it to .env.local,

13:35and that's it. Now, the final step is to

13:37create your Superbase project. Copy your

13:39Superbase URL and Superbase anon key and

13:43paste them into your .env.local file. If

13:46you've never used Superbase before,

13:47don't worry. It's actually very simple

13:49and I'll walk you through everything

13:50step-by-step. First, head over to

13:52Superbase and create your account. Once

13:54you log in for the first time, Superbase

13:56will ask you to create your first

13:58organization. Just give it a name,

14:01choose the type, select a plan, and

14:03click create. Now, inside that

14:05organization, you can create your

14:06project. Go ahead and enter a project

14:08name, set a database password, choose

14:11your preferred region, and then click on

14:13create new project. All right, once

14:15that's done, everything is ready for us

14:17to connect Superbase to our app. To do

14:19that, click on the connect button at the

14:20top.

14:22In the panel that opens, look for the

14:23connect your app section. Here, you'll

14:26see the exact values we need for our

14:27.env.local

14:29file. First, copy the project URL.

14:32Then, go back to the Solo agent and ask

14:34it to update your .env.local file. You

14:37can say something like, "Here is my

14:39Superbase URL." and paste the value.

14:46Next, go back to Superbase and copy your

14:49anon public key.

14:52Return to Solo again, paste the key.

14:55That's it. Now, just hit the send button

14:57and your application will be fully

14:59connected to Superbase.

15:01All right, now that we've connected our

15:03Superbase project, let's move on to the

Enabling User Authentication

15:05final step, enabling full user

15:07authentication in our app.

15:09I'll go ahead and tell the Solo agent,

15:11"Now that my Superbase project is fully

15:13connected, enable the user

15:15authentication features."

15:17Then I hit the send button and there we

15:19go. The agent completes the task and it

15:22also gives us an important tip. By

15:23default, Superbase enables email

15:25confirmation. This means that when a

15:27user signs up, they'll be asked to

15:29verify their email before logging in. If

15:31you prefer, you can disable this

15:33feature. To do that, go back to your

15:35Superbase dashboard.

15:37From the left panel, open the

15:38authentication section, then navigate to

15:41sign in and providers.

15:43Scroll down and you'll see an option

15:45called confirm your email.

15:47Simply disable it and save your changes.

15:50And that's it. Everything is now fully

15:51set up. Let's test it. I'll click on the

15:53login button.

15:54Since I don't have an account yet, I'll

15:56go ahead and create one by entering an

15:58email and a password.

16:01Now, I'll try logging in.

16:03And there we go. Everything works

16:05perfectly.

16:06To confirm, if we go back to Superbase

16:09and open the authentication section, we

16:10can see the details of the user account

16:12we just created, which means everything

16:14is fully connected between our app and

16:16Superbase. So guys, as you can see, the

16:18Solo agent can handle almost everything

16:20for you and make the entire process

16:22incredibly simple. Even when it comes to

16:25back end features, the AI takes care of

16:27everything behind the scenes. You don't

16:29need to worry about setting up

16:30databases, structuring your app, or

16:33connecting the front end with the back

16:34end. It handles all of that

16:36automatically, including user

16:37authentication, workflows, and data

16:40handling.

16:41All right, now let's say your website is

Deploying to Netlify

16:43complete and you want to deploy it using

16:45a platform like Netlify to make it live

16:47for everyone to see. The good news is,

16:49the Solo agent makes this process

16:51incredibly easy. All you need to do is

16:54say, "I want to deploy my app on

16:56Netlify."

16:57Within seconds, the agent prepares

16:59everything for you and walks you through

17:01the process step-by-step. For example,

17:03it automatically creates a netlify.toml

17:06configuration file.

17:08This file tells Netlify exactly how to

17:10build your project using commands like

17:12npm run build, and it also handles

17:15routing and redirects for you.

17:18Then it gives you a couple of deployment

17:19options. The easiest one is to simply

17:22upload your project. To do that, click

17:24on the three dots here and download your

17:26entire project as a zip file.

17:29Once that's done, head over to Netlify

17:30and create your account. After you land

17:32on the dashboard, go to the right side

17:35and create a new project.

17:37You'll see a panel where you can upload

17:38your files. Now, just extract your

17:41project zip file, open the folder, and

17:43drag and drop the dist folder, the one

17:45generated by the Solo agent, directly

17:47into that panel.

17:49And that's it. Netlify will

17:51automatically process those files and

17:53deploy your app. And as you can see,

17:55your website is now live and ready for

17:57the real world.

18:00That's it. We've officially built and

18:02deployed a full stack web application

18:04using the Solo agent. From designing the

18:06UI to generating the full front end, to

18:09setting up the back end, authentication,

18:11and even deploying the app, everything

18:14was handled with simple prompts. This

18:16really shows how powerful AI has become

18:19when it comes to building real world

18:20applications. Now, instead of spending

18:23hours on setup and configuration, you

18:25can focus on your ideas and bring them

18:27to life much faster.

18:29If you found this video helpful, make

18:31sure to like the video and subscribe to

18:32the channel for more content like this.

18:35And let me know in the comments, what

18:37would you build using this tool? Thanks

18:40for watching and I'll see you in the

18:41next one.

More from MiladiCode

Recently added transcripts

Browse the whole transcript library

This transcript was generated from the captions YouTube publishes for this video. Get the transcript of any YouTube video atfreeyoutubetranscribe.com, free, unlimited, no sign-up.