0Pricing
Vibe Coding · Leçon

Comprendre le déploiement

De votre ordinateur portable à une URL accessible en ligne.

Comprendre le déploiement est une leçon Vibe Coding gratuite sur CoddyKit. Ceci est la leçon 1 sur 4. Tu peux lire la leçon complète ci-dessous gratuitement — puis la pratiquer en direct dans le navigateur avec un éditeur de code intégré et un tuteur IA 24/7. Elle fait partie du parcours d'apprentissage Vibe Coding, et ta progression se synchronise sur le web et l'application CoddyKit. Le cours Vibe Coding comprend 4 leçons au total.

Certaines parties de cette leçon n'ont pas encore été traduites et s'affichent en anglais.

Your App Needs an Address

You built something amazing on your laptop. But right now, only you can see it. To share it with the world, you need to deploy it.

Deploying means putting your app on a computer that's always on and connected to the internet — a server — so anyone with a link can use it. That link is your app's address: a live URL like your-app.vercel.app.

In this lesson you'll learn what deployment really is, in plain language, so the rest of this course feels easy.

Local vs Live

When you run your app on your own machine, it's local. The address usually looks like http://localhost:3000. That word localhost means "this very computer" — nobody else can open it.

A live app runs on a host that's reachable from anywhere. Same code, different home.

  • Local: only on your laptop, for building and testing.
  • Live: on the internet, for real users.

Deploying is simply moving your app from local to live.

What Actually Happens

When you deploy, three things happen behind the scenes. Don't worry — modern tools and AI handle them for you.

  • Upload: your code is sent to the host.
  • Build: the host turns your source files into a fast, optimized version.
  • Serve: the host runs it and gives you a URL.

You'll hear the word build a lot. It just means "prepare my app to run for real." The AI knows this; you can simply ask it to explain any step.

Frontend vs Backend Hosting

Apps have two sides, and they can be hosted differently.

  • Frontend: what users see — pages, buttons, styles. Often just static files.
  • Backend: the logic and data behind the scenes — logins, databases, APIs.

A simple website might be frontend only, which is the easiest thing to deploy. A full app needs a host that runs backend code too. Tools like Vercel and Netlify can handle both, which is why beginners love them.

Meet the Modern Hosts

You don't need to rent a server or learn system administration anymore. Modern platforms make deploying almost magical:

  • Vercel — loved for frontend and full-stack apps; one click from your code.
  • Netlify — great for sites and simple apps.
  • Replit — build and host right in the browser.

These are called Platform-as-a-Service (PaaS). They take your code and give you a live URL — no servers to babysit.

Ask AI to Explain Deployment

The fastest way to understand deployment for your app is to ask. Vibe coding means you don't memorize — you describe your situation and let AI guide you.

Try a prompt like the one below in Cursor, Claude Code, or any AI chat. Paste in details about your project so the answer fits you.

I built a simple to-do app using HTML, CSS, and JavaScript. It runs on my laptop at localhost.

In plain English, explain:
1. What "deploying" this app means.
2. Whether it's frontend-only or needs a backend.
3. The single easiest way to get it online with a public link.

No jargon — I'm a beginner.

What a Live URL Looks Like

After deploying, you get a public web address. On Vercel it might be my-todo-app.vercel.app; on Netlify, my-todo-app.netlify.app.

Anyone can open that link on any device. Later you can attach your own domain (like mytodo.com) — we cover that in a later lesson.

Here's a tiny snippet of JavaScript that reads the address the browser is currently on. On a live app, this would print your real URL.

// Where is this app currently running?
const host = "my-todo-app.vercel.app";
const url = "https://" + host;
console.log("Your app is live at:", url);
console.log("Share this link with anyone!");

Deploys Are Repeatable

Deploying isn't a one-time event. Every time you improve your app, you redeploy to push the new version live.

The best modern hosts do this automatically: when you save your changes to Git (your project's history) and push, the host detects it and rebuilds. This is called continuous deployment.

That's why version control and deploying go hand in hand. The takeaway: once set up, shipping an update is as easy as saving your work.

Free to Start

Good news for builders: nearly all these platforms have free tiers generous enough for learning, side projects, and even small real apps.

  • Free hosting for personal projects.
  • A free .vercel.app or .netlify.app link.
  • Automatic HTTPS (the secure padlock) included.

You only pay when you grow — lots of traffic, advanced features, or a team. For your first launches, $0 is the norm.

The Mental Model

Hold this simple picture in your head for the whole course:

  • You build on your laptop (local).
  • You deploy to a host (Vercel, Netlify, Replit).
  • The host gives you a live URL.
  • You redeploy whenever you make changes.

That's the entire deployment loop. Everything else — domains, environments, settings — is just polish on top of this core idea.

Let AI Pick Your Host

Not sure which host fits your project? Describe what you built and let AI recommend one. This is a perfect vibe-coding move.

Try the prompt below. The more you tell the AI about your app, the better its recommendation.

I have a small web app I want to put online for free. Here's what it is:
- A landing page with a sign-up form
- It uses a tiny backend to save emails
- I want a public link in under 10 minutes
- I'm a beginner and want the simplest option

Recommend ONE host (Vercel, Netlify, or Replit) and explain in 3 short steps how I'd deploy. Keep it beginner-friendly.

Quick Check

You've got the deployment mental model down. Let's check it.

Recap: From Laptop to Live

You now understand the foundation of shipping:

  • Local = only on your machine; live = on the internet.
  • Deploying does three things: upload, build, serve.
  • Modern hosts (Vercel, Netlify, Replit) hand you a live URL with a free tier.
  • Deploys are repeatable — redeploy to ship updates.
  • When in doubt, ask AI to recommend a host and walk you through it.

Next up: actually pushing your app to Vercel or Netlify, step by step.

Questions Fréquemment Posées

La leçon « Comprendre le déploiement » est-elle gratuite ?

Oui — le texte complet de « Comprendre le déploiement » est gratuit à lire ici sur le web. Pour la pratiquer de manière interactive (un éditeur de code intégré et un tuteur IA 24/7) et déverrouiller le reste du cours Vibe Coding, passe à CoddyKit PRO. Le cours Vibe Coding comprend 4 leçons au total.

Qu'est-ce que j'apprendrai dans « Comprendre le déploiement » ?

De votre ordinateur portable à une URL accessible en ligne. Tu pratiques Vibe Coding avec du code pratique que tu exécutes directement dans le navigateur, et un tuteur IA 24/7 répond à tes questions au fur et à mesure que tu avances dans la leçon.

Dois-je avoir de l'expérience pour commencer Vibe Coding ?

Aucune expérience préalable n'est requise. Vibe Coding sur CoddyKit est structuré pour les débutants jusqu'aux apprenants avancés, donc tu peux commencer ici ou depuis le début et avancer à ton rythme. Ceci est la leçon 1 sur 4.

Combien de temps prend la leçon « Comprendre le déploiement » ?

La plupart des leçons CoddyKit prennent environ 5–10 minutes. Chacune est courte et interactive, tu progresses régulièrement et tu repiques exactement où tu t'es arrêté sur le web et l'app.

Peux-tu écrire et exécuter du code dans cette leçon Vibe Coding ?

Oui. Chaque leçon Vibe Coding inclut un éditeur de code intégré, tu écris et exécutes du vrai code directement dans ton navigateur et tu reçois des retours IA instantanés — aucune configuration locale requise.

Toutes les leçons de ce cours

  1. Comprendre le déploiement
  2. Déployer sur Vercel ou Netlify
  3. Domaines personnalisés et environnements
  4. Mettre à jour une application en ligne
← Retour à Vibe Coding