Web app technical foundations for designers
This topic doesn’t teach you to write code. It teaches the vocabulary without which a conversation with an agent in the “Vibe coding: websites” and “Vibe coding: interfaces” topics sounds like noise. In a conversation, the agent will freely throw around words like “backend,” “endpoint” and “database schema.” You don’t need to be able to write any of it yourself. But once you understand what it’s about, you read the agent’s answers with understanding instead of just taking its word for it. The topic is short and entirely theoretical: you don’t need to open a terminal or install anything for it.
Markdown (.md): a format people and agents both understand
Markdown is a way to format text with ordinary characters right inside it, without a visual editor: # Heading, **bold text**, - list item, [link text](address). Any tool that recognizes it turns those characters into formatted text. And if a tool doesn’t, the file still reads perfectly well as is. Files in this format are called .md. The guide you’re reading right now works exactly the same way: a plain text file with these characters, which the site turns into a formatted page.
Why the format has caught on so well alongside AI:
- It reads without rendering. A
.mdfile opened in a plain text editor stays understandable text, not a pile of unreadable code. You can’t say that about a.docxor a Figma file. - It’s the native format for models. Most AI models answer in Markdown by default: headings, lists, bold text. The model was trained on a huge amount of this kind of text and uses it naturally, even if you don’t ask.
- It plays well with git. It’s plain text, not a binary format, so changes show up line by line in the version history (see the “Vibe coding: interfaces” topic). You can see exactly what changed, not just that the file is different.
- It’s light and portable. A file weighs kilobytes and opens in anything, without a special reader app.
That’s why .md is used for project documentation (README files), instructions for agents (CLAUDE.md/AGENTS.md — see the “Terminal agents: making them yours” topic and the “Glossary of terms”) and team knowledge bases.
You can edit .md in any text field. Which tool you pick depends on whether you want to see the formatted version right away:
- A plain text editor (Notepad, TextEdit) shows only the raw characters, no preview. That’s enough for a quick edit.
- Code editors (VS Code, Cursor) highlight the syntax and often give you a live preview next to the text.
- Dedicated Markdown editors (Obsidian, Typora, iA Writer) show the formatted version right away, with no switching between “raw” text and preview.
- Right in an AI chat. Most chatbots render Markdown in their answers themselves. Ask the model to write text in
.mdand you’ll see the finished result immediately.
How a web app works: frontend, backend, API
The frontend is everything the user sees and touches: buttons, screens, animations, layout. You already work with the frontend every day; you just don’t always call it that. The backend is the part the user doesn’t see, which runs on a server. It stores data, checks passwords, calculates prices, decides who gets to see what. A “Buy” button on the frontend looks the same for everyone. But it’s the backend that decides whether the item is in stock and whether the payment went through.
The frontend and backend talk to each other through an API (application programming interface). More precisely, through specific endpoints: addresses like /api/users or /api/orders. The frontend sends a request to such an address (“give me this user’s list of orders”), and the backend answers with data. When the agent says “I created an endpoint for sign-up,” it literally means “I set up a new address that the sign-up form will send its data to.”
Database: tables, schema, CRUD
A database is where the backend stores information permanently. Whatever happens in the user’s browser disappears when the page reloads; the database doesn’t. The data in it is organized into tables, much like a spreadsheet in Excel. A users table has rows (one per user) and columns (email, name, signup date). The schema is a description of which tables exist at all and which columns each one has. It’s defined in advance, before any real data goes into the table.
Separate tables are linked to each other through foreign keys. For example, an orders table has a user_id column that points to a specific row in the users table. That way the system knows which order belongs to which user and doesn’t duplicate all of the user’s data in every order.

CRUD is an acronym for the four basic data operations almost every app can do: Create (create a record: sign up a user), Read (read: show a list of orders), Update (change: edit a profile), Delete (remove: cancel an order). When the agent writes “added CRUD for notes,” it means notes can be created, viewed, edited and deleted, not just shown as a static list.
The language these database operations are written in is called SQL. You don’t need to write it yourself. But it helps to recognize the most common words when the agent shows you what it’s doing. SELECT * FROM orders WHERE user_id = 42 literally means “select all columns from the orders table where the user ID equals 42.” In other words, it’s the Read operation from CRUD, just written in SQL instead of plain English.
Authentication and security in a nutshell
Authentication and authorization (auth) are two halves of one mechanism. Authentication checks who is in front of the system: signing in with email and password or through Google/Apple. Authorization decides what this particular person is allowed to see and do. The agent will use both words, and they aren’t synonyms. Without proper authorization, any visitor to the site can technically see other people’s data just by knowing the page address. This is one of the most common causes of leaks in hastily built prototypes. So ask the agent directly: “protect private pages from unauthorized access.” It won’t happen on its own.
External APIs and payments
Besides its own backend, an app often calls other services through their APIs: getting exchange rates, sending an email, checking an address on a map. A common special case is accepting payments. Almost nobody writes bank card processing from scratch; they plug in a ready-made service like Stripe. It takes on the whole sensitive part: card numbers, security, compliance. The app only has to call its API and handle the result (“payment succeeded” / “payment failed”). More on having an agent build this flow in the “Vibe coding: interfaces” topic.
Command examples for practice
Rewrite this text (paste) in Markdown: with headings, bold for key terms and a list wherever there’s an enumeration
Using my project [describe it] as an example, explain what its frontend will be and what its backend will be
Describe in words a database schema for a to-do list app: which tables it needs and how they’re linked to each other
I don’t get the difference between authorization and just a login form on the screen. Explain it in really simple terms
Here’s the agent’s answer (paste). Translate into plain language what it did technicallySketch out on paper, without a single line of code, a real product idea (yours or a client’s). What will be the frontend, what will be the backend, which 2–4 tables the database will need and how they’re linked through foreign keys. Then compare your diagram with what the agent suggests for the same question. Note any differences from the agent’s answer and explain them.
Sources
- How Claude remembers your projectcode.claude.com
CLAUDE.md and AGENTS.md files as instructions for the agent
- Custom instructions with AGENTS.mdlearn.chatgpt.com
Codex reads AGENTS.md before it starts work
- Managing user datasupabase.com
an example of tables and relationships with auth.users through a foreign key
Found a mistake or an outdated fact? Write to hey@iskra.guide