Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Claude Code: Build & Ship a Real ERP with AI Coding Agents
New
2 students

Claude Code: Build & Ship a Real ERP with AI Coding Agents

Agentic development with Claude Code, Gemini CLI and OpenCode: a full-stack NestJS + React client project, PRD to deploy
Last updated 11/2026
English

What you'll learn

  • Turn a recorded client call into a complete PRD with AI, then fill the gaps the AI missed
  • Set up Claude Code as a task allocator that hands work to cheaper agents (Opus, Gemini, OpenCode)
  • Write project rules and reviewer agents (code, security, PRD) that catch real money bugs before merge
  • Build a NestJS + Prisma + React ERP feature by feature using handoff documents and API contracts
  • Deploy the server, client and Postgres to a VPS with Docker, DNS, env vars and persistent backups
  • Run two AI agents in parallel without conflicts using git worktrees
  • Use a security reviewer agent to find permission and data leaks before each merge
  • Improve UX by pasting screenshots of the live app and asking agents for edge cases
  • Cut token costs: the expensive model plans, cheaper models build, and a knowledge graph replaces reading every file

Course content

6 sections • 16 lectures • 4h 57m total length
  • Record the client call and let AI listen17:50
  • Fill the gaps the AI missed and compile the PRD15:00

Requirements

  • Basic JavaScript or TypeScript and some experience with any web framework
  • A Claude Code subscription (Pro or Max) and free Gemini CLI or OpenCode; a VPS is optional for the deploy lesson

Description

Watch a real client ERP get built with Claude Code and AI coding agents: from the first client call and PRD to a full-stack NestJS, React and PostgreSQL app deployed on a VPS.

This is agentic development on a real paid project, not a toy demo. I took it from a one-hour client call to a deployed product, with AI agents doing most of the typing while I planned, reviewed and made the decisions. It is AI-native from the first day: the agents are part of the process, not autocomplete added at the end.

What gets built

An ERP for a phone and accessories store: devices with IMEI tracking, batch receiving from suppliers, sales with debt and instalments, returns, transfers between locations, stock counts, investors with their own profit split, partner shops on consignment, receipts, reports, stock import and backups. Three languages, two roles, one database.

How the agents work together

The workflow is the real lesson. Claude Code acts as the task allocator. It writes handoff documents and API contracts. Cheaper agents do the work: Claude Opus on the backend, Gemini CLI and OpenCode on the frontend. Three reviewer agents (code quality, security, PRD compliance) check every feature before it is merged. You will see them catch real money bugs: a payment that marks returned phones as sold, accessory stock going negative, a price edit that silently corrupts the supplier balance.

You will also see the mistakes. Agents that hallucinate they are done. An agent that refuses a task because it was allocated a different role. A boot loop on the server caused by a short secret. A subscription that runs out mid-lesson. I kept them in because that is what this work looks like.

Techniques you will see

  • Multi-agent orchestration: one allocator agent plans and hands out work, developer agents build, reviewer agents check.

  • Spec-driven development: a PRD, handoff documents and API contracts instead of long chat prompts.

  • Model routing to save tokens: the expensive model does the thinking, cheaper and free models do the typing.

  • A knowledge graph of the codebase, so agents read a map instead of every file.

  • Small, clean contexts: one task per agent, and clearing context between features.

  • Parallel agents in separate git worktrees, so two sessions never touch the same files.

  • One set of project rules shared by Claude Code, Gemini CLI, OpenCode and Cursor.

  • Automated review after every feature: code quality, security and PRD compliance, plus build, lint and tests before each merge.

  • Prompting by screenshot and by voice.

Why work this way

  • Lower cost: most of the code is written by cheaper models.

  • Fewer bugs reach the client: every feature passes three reviewers before it is merged.

  • More output: one developer runs several features at the same time.

  • No lock-in: the same rules and handoffs work across AI tools.

  • You stay in control: the agents type, you decide and merge.

What you get

  • 16 lectures, about five hours, following the build in order: client call, PRD, environment, agents and rules, the first eight features, the review loop, parallel work in git worktrees, deployment to a VPS with Docker and Cloudflare DNS, and polishing the app by actually using it.

  • The full repository with every handoff document, API contract, agent definition and project rule, so you can copy the setup into your own projects.

  • A course outline that maps every lesson to the commits it produced.

Who this is for

Developers who already know some TypeScript and want to see how AI agents work on a real codebase with real constraints. If you want to learn NestJS or React from zero, this is the wrong course.

Stack

NestJS 11, Prisma 7, PostgreSQL, React, Vite, TanStack Query, shadcn/ui, Tailwind, Zustand, Claude Code, Gemini CLI, OpenCode, Cursor.

Who this course is for:

  • Developers who want to see how AI coding agents are used on a real paid project, not a toy demo
  • Freelancers and small agencies who want a repeatable workflow from client call to deployed product
  • Not for people who want to learn NestJS or React from scratch; this is a watch-me-work workflow course