What you will build
Step 1 from Lesson 2.6:
An empty project that starts and shows “Recall” in the browser.
Small on purpose. The point of this lab is not the code. It is watching the loop.
Setting up
mkdir recall
cd recall
git init
That git init is rule 1 from the last lesson. Do not skip it.
Then install and start Claude Code. It runs in your terminal, in whichever folder you are
standing in.
Installation commands change. Follow the current instructions on the official site
rather than trusting a command written into a course.
Your first request
Use what you learned in Module 2. Not “make a website”. This:
Create a minimal TypeScript web project in this folder.
Goal:
Running one command should start a local server and show a page saying "Recall".
Limits:
- TypeScript.
- Use Node's built-in http module. No web framework.
- No libraries beyond TypeScript itself and what is needed to run it.
- Keep it to as few files as possible.
Done when:
- npm start runs the server.
- Opening the address in a browser shows "Recall".
- git status shows only the files you created.
What to watch for
This is the actual exercise. As it works, find each of the four beats.
- Where does it read? Does it look at the folder before deciding anything?
- Does it state a plan before changing files?
- What exactly does it act on? Which files appear?
- Does it check? Does it try to start the server, or only claim it works?
Approve each step consciously. Read every command before you say yes. This gets boring
by the sixth approval. Notice that boredom — it is exactly how people end up approving
something they should not have.
After it says it is done
Do not believe it. Check yourself.
npm start # does it actually start?
git status # what changed?
git diff # read every line
Reading the whole change is easy now, with four small files. Build the habit while it is
easy. In Module 4 the changes get bigger, and Module 4 lesson 7 is entirely about this.
Record this
| Question | Your answer |
|---|---|
| How many files did it create? | |
| Did it use any library you did not ask for? | |
| Did it start the server itself to check? | |
| How many times did you approve something? | |
| Did you read every command before approving? (be honest) | |
| Did anything happen that you did not expect? |
Commit
git add -A
git commit -m "Step 1: empty project serving Recall"
Now you have a safe point to return to. Do this after every step for the rest of the course.