Vibe Coding — your first app without knowing how to code — 5. Deploying online

17 min read min de lecture
Chapter 05

Deploying online

Chapter 5 of 10 · 50%

Chapter objectives

  • Host your app for free
  • Get a shareable URL
  • Know what to improve next

Going live: what it means

Until now, your app lives in your tool or on your computer: only you can use it. Deploying means copying your app to a server reachable from the Internet, which serves it to anyone who opens the right address. The concrete result: a URL like my-app.vercel.app that Tom can write on the board, and that every student opens on their phone.

Good news for an app like yours: it's free, fast, and largely automated. "Static" apps (HTML, CSS, JavaScript, with no server of your own) are the simplest in the world to host — which is exactly why we chose that technical foundation in chapter 3. The simple choices made early are paying off now.

The free platforms

Three big names dominate free web app hosting, and you can't really go wrong: they are all reliable, fast and used by millions of projects. Here's how to choose:

Vercelvery integrated with modern tools (it's the maker of v0). Automatic deployment on every Git update. URL ending in .vercel.app.
Netlifyrenowned for its simplicity — including deployment by simply dragging and dropping a folder, no Git. URL ending in .netlify.app.
GitHub Pagesfree hosting straight from your GitHub repository. Perfect if your code is already on GitHub. URL ending in .github.io.

Special case: if you built your app on Lovable, v0, Bolt or Replit, these platforms offer a built-in "Publish" or "Deploy" button that does everything in one click. It's the simplest route — use it for your first launch, you'll explore Vercel or Netlify when you need them.

The simplest method: no command line

If Git and the terminal still intimidate you, there's a path with zero commands: the Netlify drag-and-drop. You ask your tool to export or download your app's files (a folder with your index.html and the rest), you open Netlify's drop page, and you drag the folder into the designated zone. Thirty seconds later, your app has a public URL.

This method has one limit: every time you modify your app, you have to re-drag the folder by hand. It's perfectly fine for a first launch or an app that rarely changes. As soon as you modify things often, the Git path becomes more comfortable — every pushed commit updates the site automatically.

The full path with Git and Vercel

"Professional" deployment always follows the same logic: your code lives in a Git repository hosted on GitHub, and the platform (Vercel or Netlify) watches that repository. Every time you push an update, it rebuilds and republishes your site automatically. That's the famous "push to deploy" — you never deal with going live again, it follows your work.

You don't need to memorize the procedure: ask the AI to guide you, step by step, stating your level. Here's the prompt Tom uses:

PROMPT
Guide me through deploying this app on Vercel, step by step, starting from zero.
I have never used Git or Vercel. I have a brand-new GitHub account.
For each step: tell me where to click or which command to type, and explain in one sentence what it's for.
Wait for my confirmation before moving on to the next step.

The last line is a precious trick: by asking the AI to move one step at a time, you turn an intimidating procedure into a calm conversation where you can flag the slightest blocker the moment it occurs. For reference, the commands you'll see go by look like this:

bash
# Link your local project to the repository created on GitHub:
git remote add origin https://github.com/your-account/my-app.git

# Send your code to GitHub:
git push -u origin main

# Then, on vercel.com: “Add New Project” → import the repository → Deploy.
flowchart LR
  L["App on your computer"] --> G["Git repository"]
  G --> V["Vercel / Netlify"]
  V --> U["Public URL"]
  U --> F["User feedback"]
  F -.->|"Improvements"| L
From local file to live app: the deployment path.
The free URLs (.vercel.app, .netlify.app) are perfect to start with. If one day you want your own domain name (my-app.com), it costs a few dollars a year and plugs in with a few clicks in the platform settings — ask the AI for the guide when the time comes.

Verifying your app online

A successful deployment doesn't mean everything works: the online environment differs slightly from your local preview. Take five minutes for a serious check. Open the public URL in a browser in private browsing (to start from scratch, with no local data), redo the complete user journey, then open the URL on your phone — that's where your users will be.

  • Does the app load, with no blank page or 404 error?
  • Does the main journey work end to end (add, check off, see the streak)?
  • Does the data persist after reloading the page?
  • Is the display correct on a phone: readable text, buttons tappable with a thumb?

If something breaks online when it worked locally, don't panic: it's a classic. Copy the error from the console (F12, even online) and describe the difference to the AI: "locally it works, online on Vercel I get this error: …". The usual causes — an incorrect file path, a capital letter in a file name — get fixed in one message.

Sharing and gathering feedback

Once online, share the URL. Real feedback is the best fuel for progress: Tom gives the link to a few students and watches how they use it. And there, guaranteed surprise — users never do what you expect. One student tries to add twenty habits, another looks for an "undo" button that doesn't exist, a third asks why his data isn't on the home computer (remember: localStorage = per-device data).

Gather this feedback simply: watch people use the app without helping them, note what blocks them, and ask two questions — "what annoyed you?" and "what do you miss the most?". Three users are enough to spot 80% of the obvious problems. Add their answers to your "later" list, and sort: whatever comes up several times moves to the top.

Show your app! An app used by 3 people is worth a thousand times more than a perfect app nobody sees. The moment someone else uses what you built changes your relationship to the project — it's often the moment beginners become builders.

What next?

You have a real app online. Iterate: pick from your "later" list enriched with user feedback, add one feature per session following the chapter 4 method, and republish — with "push to deploy", every validated improvement goes live on its own. The classic v2 projects: a better design, a custom domain name, data export, or syncing between devices (the famous user account, now that you know what it costs).

And above all, do it again. Pick a second project, a bit more ambitious, and redo the complete journey: mini-PRD, iterative construction, methodical debugging, deployment. Each project makes you more comfortable driving the AI, faster at diagnosing, more precise in your descriptions. That's exactly how building is learned today — and you've just completed the full loop for the first time. Welcome to the club.

🛠️ Your turn

Context

Tom's app works locally: adding, deleting, checking off, streak — everything is tested and saved. One last step remains, the one that changes everything: making it reachable by his students through a simple URL. Tom gives himself one evening to deploy, verify on a phone, and send the link to three volunteer students. Do the same with your app: it's the culmination of the course.

Instructions

  1. Choose your route: your tool’s "Publish" button, the Netlify drag-and-drop, or the Git + Vercel path.
  2. Ask the AI for a step-by-step guide suited to your level, one step at a time.
  3. Deploy and grab your public URL.
  4. Open the URL in private browsing and redo the complete user journey.
  5. Open the URL on your phone and check readability and buttons.
  6. Share the link with 2-3 people, watch them without helping, and note what blocks them.
  7. Add their feedback to your "later" list and pick your first v2 improvement.
Hint — If Git blocks you, ask the AI for the simplest deployment method without a command line (Publish button or Netlify drag-and-drop). What matters tonight is the shareable URL — the Git path can wait for v2.

In summary

  • Deploying = copying your app to a public server, reachable through a URL.
  • Vercel, Netlify or GitHub Pages host a static app for free.
  • Simplest route: your tool’s "Publish" button or the Netlify drag-and-drop.
  • Durable route: Git + Vercel/Netlify = "push to deploy", automatic publishing.
  • Ask for a step-by-step guide suited to your level, one step at a time.
  • Verify online: private browsing, complete journey, persistence, and a phone test.
  • Share the URL: three observed users reveal 80% of the obvious problems.
  • Then iterate with your "later" list, and launch a second, more ambitious project.

Quiz — check your understanding

1. How do you host your app for free?

Several platforms publish a static web app for free — and browser tools often have a built-in Publish button.

2. What do you do once the app is online?

Real feedback is the best improvement engine: three observed users are enough to spot the essentials.

3. What is the deployment method with no command line at all?

Netlify accepts a simple dragged-and-dropped folder: thirty seconds later, the app has a public URL.

4. What does "push to deploy" mean?

The platform watches your Git repository: on every push, it rebuilds and republishes the site on its own.

5. The app works locally but shows an error online. What do you do?

It's a classic (file path, capital letter…). The exact error plus the "local OK, online broken" context allows a quick fix.

Auteur(s)

R

REHOUMA Haythem

Haythem Rehouma est un ingénieur et architecte IA et cloud, formateur et enseignant technique, avec un profil orienté IA médicale, AWS, MLOps, LLM/RAG et vision par ordinateur.