Vibe code a whole website
Key Takeaways
Gemini CLI generates code for a web app using AI, demonstrating a Kanban-style customer tracker
Full Transcript
All right, Christian. So far, we've made this default page using Gemini to jazz it up. But we want to make a web app that actually does something. Right >> now, we'll start making that website I showed in the first video, my customers. [music] When you and I recorded this screencast, I hadn't actually built anything yet. All I had was an idea. But with [music] Gemini, a well- definfined vision can take you a long way. So, here was my roughly sketched [music] vision for the web app. >> Right. I recognize the con on board >> and I wanted the ability to move them between columns. I also knew I wanted the app to show more details on a customer when their card [music] is clicked. Something like this. Finally, the keystone functionality we'll eventually add [music] is the ability to create an invoice. Well, what are we waiting for? Let's turn vision into reality. Should we jump back to the Google Cloud Console? >> Yep. I'll go to CloudShell and then click the open editor button. >> Okay. So last time we created everything in the my customers folder using Firebase. Then we used Gemini to create new code in the index.html [music] file, >> right? And here's what that page looks like. >> It's great that Gemini was able to make that, but [music] it doesn't really do anything. It's all form and no function >> exactly. So let's change that. Jumping back to CloudShell, [music] the tilda means that I'm in my home folder. I'll use the change directory command to go to the my customers folder. If I do the ls or [music] list command, I can view its contents. >> Okay, I remember these commands from last time. [music] I have a feeling you're about to do something cool. >> I'll let you be the judge, but yeah, I think it's pretty cool. Because we're in CloudShell, [music] I can just type Gemini and voila, we're running Gemini CLI. >> Okay, visually it's interesting, but what's the difference between using Gemini in the command line and going to the web app, gemini.google.com? Let's ask Gemini. Hi Gemini, please tell me about yourself. What are your capabilities? [music] How are you different from the Gemini web app? It says it's a CLI agent, so it's not just a chatbot. It can read and write files, run shell commands, [music] and interact with our development environment. Very cool. So we don't have to constantly go between CloudShell and the Gemini web app. This agent can do stuff for us directly in our project, [music] almost like our own personal software engineer. Exactly. And the key to getting the most out of it is using effective guidance in our prompt. This is the prompt that I created, which should get us going. >> Wow, that is one heck of a prompt. It is pretty long. We'll dig into it in the self-guided lessons, and by [music] the end of this course, you'll know how to make your own prompt like this. But simply put, I told the Gemini web app what I wanted to build and crucially, who it was for, and it helped me create this prompt. Shall we give it a try? >> Sure. So, we'll copy this whole prompt and paste it into the Gemini field in CloudShell. >> Yep. It's as [music] easy as that. Once I paste it in, and it does its thing for a bit, it asks for permission [music] to edit our index.html file. I'll press one to allow once. >> And it's also asking permission to create new files. >> Yes. And it asks me several more times. I'll continue to say allow once. I could press two for allow always, but I like to keep tabs on what it's doing. When it finishes, we have to do one thing manually before we [music] can test or deploy our web app. >> I guess that's only fair since Gemini just churned out hundreds of lines of code for us. So, it's saying we have to configure Firebase a bit more. >> Yep. So, again, we'll explain this in detail in the lessons and labs, but basically, Gemini created a file that links our application to the Firebase toolkit. We just need to fill in some placeholder code so it actually works. I'll go to firebase.google.com to get the replacement code I need. >> And you're blurring out the API key because they're generally [music] private and shouldn't be broadly shared. >> Yeah, you shouldn't share API keys online. So now that the [music] correct info is present, I'll deploy the application. Okay, so do we type that in the Gemini field? Well, to keep it clean, I'm going to open a new terminal [music] tab again. Whenever that tilda appears alone, we know we're in the home folder. So, I'll change directories to the my [music] customer folder and type Firebase deploy. Moment of truth. Let's click the link. And [music] look at that. We've got a website. All right. Just like your sketch. We've got three columns, an add customer button. So, what are we waiting for? Let's add some customers. Let's save that for the [music] next video because there will be some problems that need fixing. Of course there will be. Stay tuned.
Original Description
Stop copy-pasting code from a chatbot and start using an AI agent.
We introduce the Gemini CLI, a tool that lives inside your terminal and writes code directly into your files. Watch how one well-crafted "mega-prompt" transforms a basic page into a complex Kanban-style customer tracker instantly.
Check out the full course for interactive demos and labs → https://goo.gle/3ZuHX9g
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from Google Cloud · Google Cloud · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Top 3 ways organizations are adjusting their cloud strategies to prepare for economic uncertainty
Google Cloud
Google Cloud Retail Search and Browse Console deep dive
Google Cloud
Google Cloud Backup and DR - How to mount, clone or restore a VMware VM
Google Cloud
Google Cloud Backup and DR - VMware vSphere Backup Overview
Google Cloud
Google Cloud Backup and DR - Creating backup Plans for VMware VM backups
Google Cloud
Google Cloud Backup and DR - Compute Engine Instance Backups and Sole Tenant Nodes
Google Cloud
Google Cloud Backup and DR - Managing Service Accounts
Google Cloud
Let’s solve for what’s next
Google Cloud
Google Cloud Executive Briefing Center | Cloud Space | Silicon Valley
Google Cloud
Tinyclues with Google Cloud offers CRM Intelligence to maximize conversions
Google Cloud
Aible partners with Google Cloud helping customers build predictive models within minutes
Google Cloud
TELUS streamlines big data ingestion with help from Google Cloud and Accenture
Google Cloud
Getting started with Apigee API Management
Google Cloud
Google Cloud Retail Search
Google Cloud
Building your first API proxy with Apigee
Google Cloud
Brands and agencies develop dynamic video ads with Connected-Stories NEXT and Google Cloud
Google Cloud
Redefining the transportation industry
Google Cloud
Google Cloud Project Katalyst
Google Cloud
Israel's Family Court: Creating more compelling experiences for its citizens
Google Cloud
Tausight partners with Google Cloud to help healthcare industry protect PHI activity & take action
Google Cloud
Google Cloud Retail Browse
Google Cloud
Verifying API keys and debugging your API proxy flow
Google Cloud
Getting started with Apigee API Management
Google Cloud
Adding policies to your APIs
Google Cloud
Google Cloud Backup and DR - Configuring Google Cloud VMware Engine to work with Backup and DR
Google Cloud
Topaz Subsea Cable
Google Cloud
Episode 29: Building a culture of data literacy with Latin America’s biggest ecommerce platform
Google Cloud
Weshalb Datananalysten die Sparringspartner von Produktmanagern sein sollten
Google Cloud
Warum und wie METRO eine Machine Learning-Pipeline implementiert hat
Google Cloud
Wie nutzt METRO Data Science, um geschäftliche Herausforderungen zu meistern?
Google Cloud
Google Cloud in Qatar. Let's get solving.
Google Cloud
Google Cloud for Qatar
Google Cloud
Doha has a new Google Cloud region
Google Cloud
The new Google Cloud region in Qatar
Google Cloud
Build, tune, and deploy foundation models with Vertex AI
Google Cloud
Generative AI on Google Cloud
Google Cloud
Who will be coming to Google Cloud Day Tel Aviv? #Shorts
Google Cloud
Protect your organization at the edge
Google Cloud
Google Cloud Backup and DR Alert Notifications setup
Google Cloud
Build, tune, and deploy foundation models with Generative AI Support in Vertex AI
Google Cloud
Where the Internet Lives: Data center on the prairie
Google Cloud
Which developer program are you joining?
Google Cloud
Lufthansa Group baut intelligente Systeme zur Vereinfachung des Flugbetriebs
Google Cloud
How ASML revived Moore's Law and remade chipmaking
Google Cloud
CMO of Unity celebrates Women's History Month
Google Cloud
Vint Cerf on Google Cloud Digital Leader
Google Cloud
Mobile World Congress 2023
Google Cloud
Topaz - Canada
Google Cloud
Google Data Cloud & AI Summit 2023: Reveal opportunities to transform your business
Google Cloud
Building a conversational bot with Google Cloud Gen App Builder
Google Cloud
Elisa Polystar and Google Cloud partner to bring the power of analytics and automation to CSPs
Google Cloud
Network modernization - how can CSPs start now?
Google Cloud
How Semios uses imported and remote models for inference with BigQuery ML
Google Cloud
Deliver your AI solutions up to 100 times faster with Google Cloud partner, Snorkel AI
Google Cloud
Capture consumer perspectives for CPG using NLP and analytics with Harmonya and Google Cloud
Google Cloud
Delivering Cloud-Native Network Transformation
Google Cloud
Proactively detect & investigate anomalies & data quality issues in BigQuery with Telmai
Google Cloud
Introducing AlloyDB Omni
Google Cloud
Episode 30: How Auto Trader transitioned to the cloud to analyze tricky customer data
Google Cloud
MongoDB Atlas on Google Cloud
Google Cloud
More on: AI Pair Programming
View skill →Related Reads
📰
📰
📰
📰
Building Smarter AI: How LLM Chatbots Become More Accurate with RAG (Retrieval-Augmented…
Medium · LLM
Como IA, Pesquisa Operacional e LLMs estão transformando a tomada de decisão nas empresas
Medium · AI
Why ChatGPT Doesn’t “Know” Anything (And Why It’s Still So Smart)
Medium · AI
Teaching a 0.6B LLM to Rank: Score-Weighted BPR Fine-Tuning from Blended Relevance Signals
Medium · Machine Learning
🎓
Tutor Explanation
DeepCamp AI