Skip to content

ntoscano/vibecode-learning-sandbox

Repository files navigation

Vibecode Learning Sandbox

Learn to build real web apps by vibecoding with AI — then understand how they actually work.

What Is This?

"Vibecoding" means describing what you want to build and letting AI write the code. It is a real and powerful way to create software. But vibecoding alone does not teach you how to code — it teaches you how to describe what you want.

This repo adds the learning step. After AI builds your app, you study what it built, understand the concepts behind it, and then build a feature yourself. That is how you go from someone who uses AI to someone who understands software.

You are a junior developer the moment you clone this repo.

Getting Started

Step 1: Install a Code Editor

A code editor is where you view and edit code. Download one of these (both are free):

  • VS Code — the most popular code editor for developers
  • Cursor — a code editor with built-in AI features

Once installed, open it. Press Ctrl + ` (that's the backtick key — the same key as ~, top-left of your keyboard, below Esc) to open the built-in terminal. This is where you will type commands for all the steps below.

On Mac: use Cmd + ` or Ctrl + ` depending on your editor.

Step 2: Set Up Claude Code

Claude Code is an AI coding assistant that works directly on your computer. It can read your files, run commands, and build things for you. Once you have it running, it can help you install everything else.

  1. Create an Anthropic account at console.anthropic.com
  2. Follow the Claude Code installation guide — run the install commands in the terminal you opened in Step 1

Verify it worked:

claude --version

Claude can help with the rest of the setup. Once Claude Code is working, open it in your terminal and give it this repo's URL:

"Help me set up this repo: https://github.com/ntoscano/vibecode-learning-sandbox"

Claude will walk you through installing everything, forking, cloning, and running your first app. You can still follow the steps below manually if you prefer.

What about other AI tools? Claude Code is special because it works directly on your computer — it can read your files, run commands, and build things for you. Other AI chats like ChatGPT and Gemini are great for answering questions and explaining concepts, but they cannot do the work on your machine. Use whatever helps you learn, but Claude Code is what powers this sandbox.

Step 3: Install the Rest

You need a few more tools. Claude Code can help you install these — just ask it! Or follow the links to install them yourself.

Tool What It Is How to Get It
Git Tracks changes to code and lets you download projects git-scm.com — Mac users may already have it (try git --version in your terminal)
Node.js Lets your computer run JavaScript nodejs.org — download the LTS version (the stable one)
pnpm Downloads code libraries your projects need After installing Node.js, run: npm install -g pnpm
GitHub account Where your code lives online github.com — sign up for free

Need more help with these steps? See the detailed Getting Started guide with step-by-step instructions and troubleshooting.

Step 4: Fork and Clone This Repo

  1. Fork this repo — this creates your own copy on GitHub so you can save your work:

    • Make sure you are signed in to GitHub
    • Go to the top of this repo's page and click the Fork button (upper right)
    • On the "Create a new fork" page, leave everything as-is and click Create fork
    • You now have your own copy at github.com/YOUR-USERNAME/vibecode-learning-sandbox
  2. Clone your fork — this downloads the code to your computer:

    git clone https://github.com/YOUR-USERNAME/vibecode-learning-sandbox.git
    cd vibecode-learning-sandbox

    Replace YOUR-USERNAME with your actual GitHub username.

  3. Install dependencies:

    pnpm install
  4. Run the tictactoe app to see it in action:

    cd apps/tictactoe
    pnpm dev

    Then open http://localhost:2025 in your browser. You should see a tic-tac-toe game!

    To stop the app, go back to your terminal and press Ctrl + C. To get back to the main project folder, run cd ../...

Step 5: Start Learning

Open Claude Code in the repo root and choose your path:

Option A: Follow the curriculum — if you want a structured foundation before building, start with the 14-week curriculum. Tell Claude:

You: "Give me exercises for Week 1, Lesson 1"

See the full curriculum: docs/curriculum.md

Option B: Start building — if you want to jump straight into creating an app, start the learning flow:

You: "I want to build an app. Can you help me create a PRD?"

See unfamiliar terms? Check the Glossary for plain-English definitions of technical words you will encounter.

How It Works

This sandbox follows a 4-step learning cycle:

Step 1: Dream It

Describe the app you want to build. You work with Claude to create a PRD (Product Requirements Document) — a blueprint that describes exactly what the app should do.

You: "I want to build a quiz app where I can create questions and test myself"
Claude: *asks clarifying questions, then generates a PRD*

Step 2: Vibe It

Claude reads the blueprint and writes all the code. This is the vibecoding part — you watch a real app come to life from your description.

Step 3: Study It

Now the learning starts. Claude generates a postmortem — a guide that walks you through everything that was built and explains the concepts: HTML, CSS, JavaScript, React, APIs, databases, and more. Each concept is tied to actual code in your project.

Step 4: Own It

Claude generates a feature challenge — a guided exercise where YOU write the code to add a new feature to the app. Claude acts as your tutor: giving hints and asking questions, but never writing the code for you.

Then you go back to Step 1 with a new project. Each time around, you understand more.

14-Week Curriculum

Want a structured learning path? We have a 14-week bootcamp curriculum with 84 lessons that takes you from setting up your tools all the way to building full-stack apps, deploying them, and presenting your portfolio.

Weeks Focus
1-2 Getting Set Up — VS Code, terminal, Git
3-5 Foundations — JavaScript, HTML, CSS, TypeScript
6-7 Backend — Node.js, NestJS, databases, APIs
8-9 Frontend Frameworks — React, Next.js, state management
10 Security, Auth, and Testing
11 Solo Project Sprint — build something on your own
12-13 Collaboration and Advanced Topics — Git workflows, DevOps, deployment
14 Portfolio, Interview Prep, and Capstone

Go at your own pace — full-time, part-time, or self-paced. See the full curriculum: docs/curriculum.md

What's Already Here

This repo comes with example apps you can explore and learn from:

App What It Is Start Here?
tictactoe + tictactoe-api A tic-tac-toe game with AI opponent and 2-player mode Yes — this is the best place to start
dashboard React dashboard starter template Blank canvas
web Next.js web app starter template Blank canvas

Why This Approach Works

What this sandbox teaches looks new, but the core idea is not. Professional software teams have always worked this way: you write a specification — a document that describes exactly what to build — and then someone builds it. That process is called spec-driven development.

The only thing that has changed is who writes the code. Instead of handing a spec to a team of developers, you hand it to AI. But the hard part — figuring out what to build, defining the requirements, thinking through edge cases — that is still your job. That is the skill that matters.

When you write a PRD in this sandbox, you are not taking a shortcut. You are practicing the same skill that senior engineers, product managers, and startup founders use every day. Vibecoding is spec-driven development with an AI teammate.

For Students

Here is what you can expect from this sandbox:

  • You choose what to build — follow the 14-week curriculum for a guided path, or skip it and build whatever you want. Both work.
  • You always get the right kind of help — when you ask Claude to build something, it builds. When you ask it to teach you, it teaches. It switches automatically so you never have to think about it.
  • You finish with real things — every cycle gives you a working app, a learning guide that explains what was built, and a feature you coded yourself. Not just theory.
  • It grows with you — your first app might be a simple page with a button. A few projects later, you will be building apps with databases and APIs. The sandbox meets you where you are.

Project Structure

vibecode-learning-sandbox/
├── apps/                   # All the apps live here
│   ├── tictactoe/          # Tic-tac-toe game (frontend)
│   ├── tictactoe-api/      # Tic-tac-toe game (backend server)
│   ├── dashboard/          # Blank starter (React)
│   └── web/                # Blank starter (Next.js)
├── packages/               # Shared code used by multiple apps
│   ├── tsconfig/           # TypeScript settings
│   └── ui/                 # Shared UI components
├── tasks/                  # PRDs (app blueprints) go here
├── scripts/ralph/          # Ralph — the autonomous coding agent
├── docs/                   # Documentation
│   └── curriculum.md       # 14-week bootcamp curriculum (84 lessons)
└── CLAUDE.md               # Instructions that tell Claude how to help you

Tech Stack

For the curious — here is what powers this monorepo:

  • pnpm — package manager (like npm, but faster)
  • Turbo — runs builds and dev servers across all apps
  • TypeScript — JavaScript with type safety
  • Next.js — React framework for frontend apps
  • NestJS — Node.js framework for backend APIs
  • Tailwind CSS — utility-based styling
  • PostgreSQL — database
  • ESLint + Prettier — keeps code clean and consistent

Beyond Code — Startups and Career

Learning to code opens two doors: you can build your own thing, or you can get hired to build someone else's. Either way, these resources will help.

Startups and Entrepreneurship

If you have an idea and want to turn it into a real product, Y Combinator's free resources are the best place to start:

  • Startup School — YC's free course on founding a startup (7 weeks, 1-2 hrs/week). Covers ideas, MVPs, launching, fundraising, and growth. Taught by YC partners.
  • Startup School Curriculum — the full curriculum outline — good to browse even if you don't take the course
  • Should You Start a Startup? — a good first lesson if you're curious but not sure
  • YC's Essential Startup Advice — the core principles YC teaches every batch: launch fast, talk to users, do things that don't scale

Job Search and Career

If you want to get hired as a developer, start here:

  • Are Junior Devs Screwed? — Theo (t3.gg) breaks down the current landscape for junior developers trying to get hired. Honest, data-driven, and practical whether you're hiring or job-hunting.

Keep Learning

The most important skill you can develop is the ability to teach yourself. It matters more than any single language, framework, or tool. Curiosity and consistency beat credentials every time. These resources are free and open to everyone:

  • MIT OpenCourseWare — free lecture notes, videos, and exams from 2,500+ MIT courses. Computer science, math, engineering, and more. No sign-up, no deadlines, completely self-paced.
  • Harvard Free Courses — 140+ free courses from Harvard covering programming, data science, business, and beyond.
  • Girls Who Code — free coding programs for high school students, including a summer Pathways program. No prior experience needed.

About

Sandbox to teach vibecoding and educate new engineers the underlying concepts to understand what they build

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors