Glossary

The whole-stack vocabulary — UAE full-stack (2026)

Reference doc · created 19 Jun 2026 · Python + FastAPI · Postgres + RAG · React + Next.js · a bit of DevOps

Once a term is defined here, every lesson uses it the same way.

Built for a PHP/jQuery dev moving to the modern stack. Where it helps, each term carries a ≈ like… line mapping it to something you already know. The short tag after a term (backend, frontend, etc.) tells you which layer it lives in.

A ↑ top

App Router frontend · Next.js
Next.js's folder-based routing system where each folder under app/ becomes a URL and special files (page.tsx, layout.tsx) define what renders.
Async / await backend · Python
A way to write code that can pause while waiting (for a DB or network call) and let the server do other work meanwhile, instead of blocking.

C ↑ top

Chunking RAG
Splitting a long document into smaller passages before embedding, so retrieval can return just the relevant pieces instead of a whole file.
CI / CD DevOps
Automation that runs your tests and ships your code on every push — Continuous Integration (test/build) and Continuous Delivery/Deployment (release).
Client Component frontend · Next.js
A React component (marked "use client") that runs in the browser, so it can use state, effects, and event handlers like clicks.
Component frontend · React
A reusable, self-contained piece of UI written as a function that returns markup — the basic building block of a React app.
Container DevOps
A running instance of a Docker image — your app plus its exact environment, isolated from the host machine.
Cosine distance RAG · pgvector
A measure of how different two vectors' directions are; small distance means the texts mean similar things, which is how vector search ranks matches.
CSR (Client-Side Rendering) frontend
The browser downloads a near-empty page plus JavaScript, then builds the HTML itself after fetching data.

D ↑ top

Decorator backend · Python
A @something line written above a function that wraps it to add behaviour — FastAPI uses it to attach a function to a route.
Docker DevOps
A tool that packages your app and everything it needs into a portable, reproducible unit (an image) that runs the same anywhere.

E ↑ top

Embedding RAG
A list of numbers (a vector) produced by an AI model that captures the meaning of a piece of text, so similar meanings sit close together.
Endpoint backend · API
One specific URL + method your API responds to, e.g. POST /documents — the address a client actually calls.
Environment variable DevOps
A configuration value (DB URL, API key) read from outside the code at runtime, so secrets and per-environment settings stay out of the source.

H ↑ top

Hook frontend · React
A special function (name starts with use) that lets a function component "hook into" React features like state and lifecycle.

I ↑ top

Image (Docker) DevOps
A frozen, read-only snapshot of your app and its environment; you build it once and run many containers from it.
Index data · Postgres
A precomputed lookup structure on a column that lets the database find rows fast without scanning the whole table.

J ↑ top

JOIN data · SQL
A SQL operation that combines rows from two tables based on a related column, e.g. users with their documents.
JSX frontend · React
An HTML-like syntax written directly inside JavaScript that React turns into UI; { } drops live values into the markup.
JWT (JSON Web Token) backend · auth
A signed, self-contained token the client sends with each request to prove who it is, so the server needn't store a session.

L ↑ top

LLM (Large Language Model) RAG · AI
The AI model (e.g. Claude, GPT) that reads your prompt and generates the natural-language answer — the "generate" step of RAG.

M ↑ top

Migration (Alembic) data · Postgres
A version-controlled script that changes your database schema (add a table, a column) in a repeatable, reversible way.

O ↑ top

ORM (Object-Relational Mapper) data · backend
A library that lets you work with database rows as Python objects instead of writing raw SQL by hand.

P ↑ top

pgvector RAG · Postgres
A Postgres extension that adds a vector column type and similarity search, so your embeddings live in the same database as everything else.
pip backend · Python
Python's package installer — pip install fastapi pulls a library from the registry into your environment.
Prompt / Context injection RAG
The text you send the LLM; in RAG you "inject" the retrieved document chunks into that prompt so the model answers from your data, not its training.
Props frontend · React
Read-only inputs passed into a component by its parent to configure what it shows.
Pydantic backend · FastAPI
A library where you declare a data model as a class, and it validates and parses incoming data against those types automatically.

R ↑ top

RAG (Retrieval-Augmented Generation) RAG · the differentiator
The pattern behind DocChat: retrieve relevant chunks from your documents, then feed them to an LLM to generate a grounded answer (chunk → embed → store → retrieve → generate).
REST API backend · API
A convention for exposing data over HTTP using resources and verbs (GET, POST, PUT, DELETE) that return JSON.
Route backend / frontend
The mapping from a URL pattern to the code that handles it — on the backend a request handler, on the frontend a page.

S ↑ top

Server Component frontend · Next.js
A React component that runs on the server and sends finished HTML to the browser; it can read the database directly but can't use state or clicks.
SQLAlchemy data · backend
The standard Python ORM (and SQL toolkit) you'll wire into FastAPI to define models and run queries against Postgres.
SSR (Server-Side Rendering) frontend
Generating the page's HTML on the server for each request so the browser gets a ready-to-show page (better first paint and SEO).
useState / useEffect frontend · React
useState gives a component a piece of memory that re-renders the UI when it changes; useEffect runs side-effects (like fetching data) after render.

T ↑ top

Token RAG · AI
The unit an LLM counts text in — roughly a word-piece; prompts, answers, and pricing/limits are all measured in tokens.

U ↑ top

useState · useEffect
See useState / useEffect under S (grouped with the other React hooks).

V ↑ top

Vector RAG
An ordered list of numbers; an embedding is a vector, and "vector search" finds the stored vectors closest in meaning to your query.
Virtualenv backend · Python
An isolated, per-project Python environment so each project has its own installed packages and versions.