~/ksept-lab/.env that every example app in this course reads fromEvery command below has macOS and Windows tabs — pick your OS on any block and the whole deck follows. (macOS uses Homebrew; Windows uses winget, which ships with Windows 11.)
After installs, we'll have Claude Code scaffold a hello-world frontend + backend in one prompt, then walk through what it built.
Download from code.visualstudio.com and run the installer, or use your package manager:
If the code command isn't found: on macOS, open VSCode → ⌘⇧P → "Shell Command: Install 'code' command in PATH". On Windows, re-run the installer and tick "Add to PATH", then open a new terminal.
We'll use git to track each fix you make as its own commit — that's how you'll "walk the diff" when you present your work to the class. macOS usually already has git (via the Xcode Command Line Tools); Windows needs an explicit install.
No GitHub account or remote needed — git works completely locally. A repo is just a hidden .git/ folder inside your project.
Needed to build and run the React frontend.
Or download: nodejs.org → LTS installer (v20 or v22).
The Flask backend uses Python 3.11.
On Windows, the py launcher picks a specific version with -3.11. Linux: install python3.11 from your distro's package manager or python.org.
Pick a working directory and create a Python virtual environment for the backend dependencies. On Windows, use PowerShell.
A venv is an isolated Python environment for this project. Anything you pip install while it's active goes here, not into your system Python. Windows: if PowerShell blocks the activate script, run Set-ExecutionPolicy -Scope CurrentUser RemoteSigned once and try again.
Claude Code is an AI coding assistant that runs in your terminal. We'll use it to scaffold the hello-world app.
Windows installs Claude Code as a self-contained binary (no Node needed) that auto-updates; winget install Anthropic.ClaudeCode also works. Installing Git for Windows (step 2) lets it use a real Bash shell.
This is what the chat app (and every example app in this course) uses to call Claude. Claude Code itself doesn't need it — it has its own login — so this step is for your apps.
Go to console.anthropic.com/settings/keys → Create Key. Copy it now; you won't see it again.
Put it in one shared .env at the project root. Every example app you unzip in this course will walk up the tree and find it automatically.
Keep this file out of git. The repos you'll unzip already .gitignore it, but since the .env lives at ~/ksept-lab/ (one level above each app), it's outside every project anyway.