8

Capítulo oito

Falando a
Língua

O vocabulário de construção —
não código, só os substantivos e verbos.

Você está prestes a se sentar com um agente de código e construir algo. Ele vai usar palavras como "deploy", "endpoint", "componente" e "schema". Se essas palavras forem opacas, você vai se sentir perdido — não porque não consegue construir, mas porque não consegue dirigir. Este capítulo é seu anel decodificador. Não como programar. Como falar a língua de construção.

Pense nisso como dirigir um carro. Você não precisa entender motores de combustão, relações de transmissão ou pressão de fluido de freio. Você precisa saber: acelerador, freio, volante, espelhos. O vocabulário de direção, não de implementação.

A Stack: um anel decodificador

Todo app — do Instagram a uma simples lista de tarefas — é construído com quatro camadas. Desenvolvedores chamam isso de "a stack". Aqui está tudo, desmistificado:

Frontend

O que as pessoas veem e tocam. Botões, texto, imagens, animações. O salão do restaurante.

Backend

A lógica por trás dos bastidores. Processa requisições, verifica senhas, envia e-mails. A cozinha.

Banco de dados

Onde seu app lembra das coisas. Contas de usuário, postagens, configurações. A despensa e o livro de receitas.

Deploy

Como ele chega na internet. Hospedagem, domínios, ir ao ar. Abrir as portas do restaurante.

É isso. Todo app que você já usou é alguma combinação dessas quatro camadas. Quando seu agente de código diz "vou montar o backend", ele quer dizer "vou escrever a lógica dos bastidores." Quando diz "vamos fazer o deploy", quer dizer "vamos colocar na internet." Você não precisa saber como cada camada funciona. Precisa saber que elas existem e para que servem.

O agente como tutor

Aqui está a parte que ninguém te conta: o agente de código também é seu professor. Não sabe o que "npm" significa? Pergunte. Confuso com uma mensagem de erro? Cole e diga "explique isso como se eu não fosse desenvolvedor." Quer saber por que o agente escolheu React em vez de outra coisa? Pergunte. Ele vai explicar o raciocínio em português claro, passo a passo, quantas vezes você precisar.

Seus primeiros cinco minutos

Abra sua ferramenta de código. Descreva seu projeto em português: "Quero construir um rastreador de treinos onde eu registro meus exercícios e vejo meu progresso ao longo do tempo." O agente vai fazer perguntas, sugerir uma stack e começar a construir. Seu primeiro trabalho é responder às perguntas dele e observar o que ele cria.

Explore as quatro camadas de um web app. Clique para aprender o vocabulário — depois se teste.

The Stack Decoder

Click a layer to explore its vocabulary

The frontend is everything a user interacts with — buttons, text, images, forms, animations. It runs in the browser on the user's device.

Think of a restaurant. The frontend is the dining room — the menu, the tables, the decor. It's what customers experience.

Nouns (the things)
Component

A reusable piece of the interface, like a button or a card.

ReactVueSvelte
Page

A single screen or view in your app.

Home pageSettings pageProfile page
Style

How things look — colors, fonts, spacing, layout.

CSSTailwindSass
State

Data that can change — like whether a menu is open or a form field is filled.

Dark mode on/offItem count in cartCurrent tab
Verbs (the actions)
RenderDisplay something on screen. When a page renders, it becomes visible.
NavigateMove from one page to another.
Handle eventsReact to user actions like clicks, typing, or scrolling.

The backend is the server-side code that processes requests, applies business logic, and communicates with the database. Users never see it directly.

The backend is the kitchen. Orders come in, the kitchen prepares them, and sends out the finished dish. Customers don't see the kitchen, but nothing works without it.

Nouns (the things)
Server

A computer that listens for requests and sends back responses.

Node.jsPython/FlaskGo
API

A set of rules for how the frontend talks to the backend. Like a waiter taking orders.

REST APIGraphQLtRPC
Endpoint

A specific URL the frontend can call to get or send data.

/api/users/api/login/api/posts
Authentication

Verifying who a user is — login systems, passwords, sessions.

JWT tokensOAuthCookies
Verbs (the actions)
FetchRequest data from the backend. "The app fetches your profile from the server."
ProcessApply logic to data — calculate, validate, transform.
AuthorizeCheck if a user has permission to do something.

The database stores all the persistent data — user accounts, posts, settings, anything that needs to survive a page refresh or server restart.

The database is the pantry and the recipe book. It stores all the ingredients (data) and keeps them organized so the kitchen (backend) can find them fast.

Nouns (the things)
Table

A structured collection of data, like a spreadsheet. Each row is a record.

Users tablePosts tableOrders table
Schema

The blueprint for your data — what fields exist and what type of data each holds.

name: textage: numbercreated_at: date
Query

A request to find, add, update, or delete data in the database.

SELECT * FROM usersINSERT INTO postsDELETE FROM comments
Migration

A change to your database structure — like adding a new column to a table.

Add email fieldCreate orders tableRemove old column
Verbs (the actions)
StoreSave data so it persists. "Store the user's preferences in the database."
QueryAsk the database for specific data. "Query all users who signed up today."
MigrateUpdate the database structure without losing existing data.

Deployment is the process of taking your app from your computer and putting it on the internet where anyone can use it. It includes hosting, domains, and keeping things running.

Deployment is opening the restaurant. You've built the dining room, hired the kitchen staff, stocked the pantry — now you unlock the front door and put up a sign.

Nouns (the things)
Hosting

A service that runs your app on the internet 24/7.

VercelNetlifyRailwayFly.io
Domain

Your app's address on the internet — the URL people type to find you.

myapp.comcool-project.vercel.app
Environment Variables

Secret settings (like API keys) stored outside your code so they stay private.

API_KEY=abc123DATABASE_URL=...
Build

The process of converting your source code into optimized files ready to serve.

npm run buildProduction buildStatic export
Verbs (the actions)
DeployPush your app to the internet. "Deploy to Vercel" means put it live.
BuildPrepare your code for production — optimize, bundle, compress.
MonitorWatch your app for errors, slowdowns, or crashes after it's live.
Share this course
Você não precisa saber como o motor funciona. Precisa saber como dirigir.

Você sabe as palavras. Tem a ideia. Agora é hora de sentar com seu agente de código e construir de verdade. A seguir: a arte do loop de construção — iteração, avaliação e o que fazer quando as coisas quebram.

Complexity Score

New tool unlocked!