A tour of the project you downloaded in guide 1, on your own two copies: the folder layout, the README's stack and parts, what lives inside one part, the Docker services, and the AGENTS.md file. By the end you know what every technology in this app is for, and why I chose it instead of letting the AI choose.
docker-compose.yml, AGENTS.md, the README.~/codex-course/reference and ~/codex-course/workshop exist.code command working from Terminal (guide 1, step 2).A tech stack is the list of languages, frameworks and services an app is built from, layer by layer: what runs in the browser, what runs on the server, where the data is stored, and the helper services around them. Choosing the stack is one of the most important decisions in any project, because every later decision depends on it. In this course I chose the stack before asking Codex to write a single line, and I tell Codex exactly what to use. If you leave the choice to the AI, you get whatever was most common in its training data, and you will not understand why it picked what it picked.
You cloned the course repo twice in guide 1, as reference (finished, read-only) and workshop (yours). Let's look at what is in the finished one first. The command below lists everything in the reference folder, including hidden files.
ls -a ~/codex-course/reference
ls lists a folder's contents. The -a flag means “all”, so files whose names start with a dot (hidden by default on a Mac) are shown too. We want to see .gitignore and .git.
Folders part-1-foundation … part-8-cross-stack-debugging, scripts, stripe-service, and the files .gitignore, AGENTS.md, README.md, docker-compose.yml, plus the hidden .git folder where Git keeps the history.
What they are: each part-N-… folder is the whole app at one stage of its growth. scripts holds helper shell scripts. stripe-service is a small fake payment server we use in guide 23. .gitignore tells Git which files never to track (installed packages, logs, secrets).
In the reference copy all 8 parts are finished, so you can open any part folder and read working code whenever you are curious or stuck. In your workshop copy only Part 1 has code; Parts 2–8 are empty folders that Codex fills as we go. Keep that difference in your head for the whole course.
Now open the finished reference project in VS Code. In the file list on the left, click README.md, then press Cmd+Shift+V. That switches the file from raw Markdown text to a formatted preview with headings and tables, which is much easier to read.
code ~/codex-course/reference
If you prefer to stay in the terminal, this prints the same README as plain text (the workshop copy is identical to the reference copy at this point):
cat ~/codex-course/workshop/README.md
cat prints a file's contents to the terminal. Scroll up to read from the top.
Almost every web app has three layers. The frontend is what runs in the user's browser: buttons, forms, the list of auctions. The backend (also called the API or the server) is a program running on a machine somewhere that the frontend talks to: “give me the auctions”, “place this bid”. The database is where the backend stores data permanently, so it survives restarts. The frontend never touches the database directly; it always goes through the backend, which checks the request and enforces the rules. Keep this picture in mind while you read the stack list below.
In the README, find these three sections:
GRILL.md records the questions asked and the decisions locked before building; CODEX.md records the prompts used, what Codex did and the steering feedback given; codex-logs/ holds the raw Codex transcripts; everything else is the app itself at that stage.Here is what each item in the Stack line does, in plain words. You do not need to memorise this; come back to it whenever a name confuses you.
The README also has a Prompts section with the exact prompt used for each part, and a Running a part section with the start-up commands. We use both from guide 5 onward, and I always give you the prompt in the guide itself, so you never have to hunt for it. If the table lists parts 4 and 5 in a different order than the folders, go by the folder names.
Part 1 is the starter code; everything after it is built by Codex during the course. Let's confirm your practice copy is in that exact state. Paste the block into Terminal:
cd ~/codex-course/workshop ls ls part-1-foundation ls part-2-create-auction-and-bid | wc -l
Line by line:
cd ~/codex-course/workshop moves into your workshop folder. cd means “change directory”.ls lists the top level: the eight part folders and the shared files.ls part-1-foundation lists what is inside Part 1, the only part with code.ls part-2-create-auction-and-bid | wc -l lists Part 2 and pipes the list into wc -l, which counts lines. An empty folder gives 0.Each part of this app is a vertical slice: one thin feature built all the way through, from the button in the browser, through the backend, down to the database table. Part 1 is the thinnest possible slice (a health check). Part 2 adds “create an auction and place a bid”, again top to bottom. The opposite approach, building the whole database first, then the whole backend, then the whole frontend, means nothing works end to end until the very end. Slices mean you have a working app after every part, and Codex gets a small, clear job each time.
The first ls lists the 8 part folders plus AGENTS.md README.md docker-compose.yml scripts stripe-service.
The second lists Part 1's files: AGENTS.md CODEX.md GRILL.md README.md codex-logs package-lock.json package.json server web. Notice server (the backend) and web (the frontend) as separate folders, and package.json, the file that lists which npm packages this part needs.
The last line prints 0: Part 2 is empty, waiting for Codex.
docker-compose.yml is the file that defines the Docker services the app will need. Instead of opening it and reading YAML, ask Docker to list the service names for you:
cd ~/codex-course/workshop docker compose config --services
docker compose config reads the docker-compose.yml in the current folder and checks it. --services tells it to print only the service names, one per line. This command only reads the file; it does not start anything.
In guide 1 you learned that a container is an isolated box running one piece of software. Docker Compose lets you describe several containers in one file, docker-compose.yml, and start or stop them all with one command. Each named entry in that file is a service: which image to run, which port to open, which password to set. Later, docker compose up -d will start every service in the background, and docker compose down will stop them. Your Mac stays clean because nothing is installed outside the containers.
Four names, in any order: postgres, redis, rabbitmq, jaeger. These are the four pieces of infrastructure the finished app depends on: the database, the real-time message sharer, the job queue and the tracing viewer. Part 1 only needs postgres; the others switch on in later parts as the app grows.
If you see “Cannot connect to the Docker daemon”, that's fine for now; the names are usually still printed, because this command only reads the file. If it fails entirely, open the file in VS Code instead (code ~/codex-course/workshop/docker-compose.yml) and look for the four indented names under services:.
AGENTS.md is very important, and we come back to it properly in guides 6 and 7. For now I only want you to open it and see what kind of file it is:
code ~/codex-course/workshop/AGENTS.md
AGENTS.md is a plain Markdown file that Codex reads automatically at the start of every chat in that project, before it does anything else. Whatever you write in it becomes standing instructions: which technologies to use, which to avoid, how to run the tests, how to name things. Think of it as the onboarding document you would hand a new engineer on day one. The difference from the custom-instructions box in guide 3 is scope: custom instructions follow you everywhere, AGENTS.md belongs to this project and travels with the code. A project can have one at the root and more inside sub-folders; the closer one wins.
A file titled Project Guidelines. It holds rules Codex follows automatically, for example “Stay within the core stack: TypeScript, PostgreSQL, Docker Compose, Fastify, Zod, and React/Vite”, plus a Workshop specific stuff section (use Mermaid for diagrams, use Chrome or Edge for browsing, limits on how long grilling sessions may run). You don't need to change anything. Just notice that the stack from the README is repeated here as a rule, so Codex cannot drift to a different database or framework halfway through.
If code says “command not found”, open VS Code, press Cmd+Shift+P, run “Shell Command: Install 'code' command in PATH”, close Terminal fully and open it again.
If the Part 2 count is not 0, or Part 1 is missing files, your workshop copy was not created correctly. Delete it and redo guide 1 step 5; it takes under a minute.
If docker compose says “unknown command”, you have an old Docker that only knows docker-compose (with a hyphen). Update Docker Desktop; the course uses the modern docker compose form throughout.