
Build e-commerce REST API with Spring Boot, Java, and MySQL almost entirely by prompting Claude. Learn to use Claude.md rules, plan mode, swagger testing, and dockerized deployment with GitHub Actions.
Navigate a hands-on, sectioned course with quizzes, assignments, and role plays, and set up Claude code in VS Code with Java, Maven, and Git prerequisites.
Explore Claude Code, an AI coding agent from Anthropic that runs in your terminal and IDE, reads your code, writes and edits files, and runs commands with your permission.
Verify essential prerequisites for the Claude Code for Java & Spring Boot Developers course, including Java, mvn, git, gh, and a supported IDE, plus a local MySQL database.
Install Visual Studio Code extensions for Java and Spring Boot, including Red Hat language support, Java debugger, Test Runner, Maven, plus Spring Initializer, Spring Boot Dashboard, and Spring Boot tools.
Install Claude Code across terminal and IDEs, configure login with a Claude account or API key, and start a VS Code session for Java and Spring Boot development.
Download and unzip the lecture resources to access the Ecom Prompt Handbook, prompts, and folders like global claude.md and project claude.md for the medtrack assignment.
Watch Claude code in action inside Visual Studio Code as you create a Claude Java demo folder and run hello world and fizzbuzz by prompts.
Apply local, project, and user scopes to Claude code configuration, stored in the dot claude folder; local is project-specific, project scope is repository-wide, and user scope applies globally via settings.json.
Walks you through an e-commerce use case by building a Spring Boot API with endpoints for orders, products, reviews, customers, and categories, services, DTOs, controllers, tests, and a Next.js frontend.
Create a spring boot mvn project in VS Code via spring initializr, add web, data-jpa, mysql, validation, actuator, lombok, and implement ecommerce db schema with core tables and sample data.
Configure claude code standards for Java and Spring Boot projects, establishing global and project-level rules, directory setup, and conventions for entities, DTOs, money fields, testing, and API design.
discover how Claude Code uses auto memory to store key project details in the .claude folder for future sessions.
Initialize a spring boot project with git from day one, review and update the dot git ignore including claude rules and claude.md, then stage files and commit.
Meditrack assignment setup in Visual Studio Code, refactor controllers toward a services layer, and configure the Meditrack DB schema with MySQL Workbench.
Generate the complete data layer for the e-commerce API, including enums, entities, repositories, and configuration, with MySQL settings, JPA mappings, cascade rules, and automatic order id generation.
create the services and controller layers for an e-commerce API, applying rules: stock reduces on order placement, canceling restores stock, and refunds payments; run the app on port 8080.
Write and run unit tests for four service classes, covering duplicate category, duplicate product, duplicate email, and stock or order validations; maven tests all pass.
Enable Swagger UI by adding the latest Spring Dock OpenAI dependency to the eCommerce API, updating pom.xml and application.properties, and configuring OpenAPI for interactive CRUD endpoints.
Examine the data layer in order.java, including how the order number is generated in pre persist. Explain lazy fetch, cascade all, getters and setters, and enumeration.
Review the place order flow in the order service, covering customer lookup, stock reduction, total and item subtotal calculation, and payment creation, with error handling details.
Refine place order method in the order service by adding an SLF4J annotation from Lombok and a low stock warning after stock reductions (threshold 10), plus unit tests and commit.
Discover how to plan and implement a product reviews feature in a Java Spring Boot app using plan mode, including API placement, database tables, tests, and commits.
Learn to monitor and manage the context window in Claude using slash context and slash compact to compress unused content. This preserves essential messages while reducing context usage.
Learn to manage Claude Code sessions in VS Code and the terminal: create, rename, resume, and navigate sessions tied to your project, using session IDs and resume commands.
Discover how the slash clear command forks a new session with a clean context and allows resuming the old session. Name and switch sessions in VS Code or command line.
Learn to use the slash rewind in Claude Code to roll back to automatic checkpoints, fork a new session, and manage changes within the current Visual Studio Code session.
Learn how to create and use commands and skills in the Claude code ecosystem, organized under the .Claude folder with commands and skills folders, and run slash commands like check-transactions.
Create and run custom slash commands in claude to audit code: check transactions, find n plus one risks, and verify DTO coverage, with session reload needed to enable commands.
Create a production readiness check skill using the skill creator plugin in Claude Code, install it, run evals, and review results in the web UI.
discover how Claude Code hooks automate actions across the lifecycle, including pre-tool use and stop events, with guardrail, file logger, and stop-notify hooks configured via settings.json and settings.local.json.
Register and verify guardrail, file logger, and stop notify hooks in Claude code. Test pre-tool and post-tool triggers and review the file activity log.
Explore sub-agents in claude code, enabling separate context windows, dedicated tools and models, and task isolation for cleaner main conversations. See how slash-agents launch sub-agents and run tasks in parallel.
Create a sub-agent to write integration tests for the e-commerce API controller layer, configuring claude code memory and tool access to generate a webmvc test writer for Spring Boot.
Generate integration tests for the order controller using a subagent, applying web MVC test with mock MVC, and switch from autowired to constructor injection, yielding 18 tests.
Run three parallel test agents for category, product, and customer controllers, then configure the jacoco maven plugin and run mvn clean verify to view line and branch coverage.
Discover how Claude Code connects to external tools through the model context protocol, using an MCP host, MCP client, and MCP server, with I-O and HTTP protocols.
Install the Playwright MCP connector in claude code, start the local MCP server, and test the RESTful API while validating JSON against the product DTO fields.
Learn what a Claude Code plugin is: a bundle of skills plus connectors with sub-agents, hooks, and commands installed from the marketplace for your team.
Install the Context 7 plugin in Claude Code and restart the session to verify library versions. Use Context 7 to confirm WebMVC test and Mockito Bean imports against Spring docs.
Claude Code changes how Java developers build software. Instead of typing every line, you direct an AI agent that reads your conventions, writes the code, runs the tests, and ships it — while you stay in control and review every change.
In this hands-on course you build a complete, production-style e-commerce REST API with Spring Boot , Java and MySQL — almost entirely by prompting Claude Code. You start by engineering context with CLAUDE .md and rules files so Claude generates code in your conventions the first time. Then you generate the full data and business layers from a schema, review and refine them, and extend the app with new features using plan mode.
From there you go deep into everything that makes Claude Code powerful in a real workflow: managing the context window, building custom slash commands and skills as reusable quality gates, automating guardrails with hooks at zero token cost, delegating work to subagents (tests, codebase analysis, diagrams), connecting external tools over MCP, and installing plugins. You finish by putting the project under Git, containerizing it with Docker, and wiring up a GitHub Actions CI/CD pipeline — all driven through Claude.
You also get a bonus Next.js storefront built on your API, and a separate healthcare project (a clinic appointment system) as a guided assignment so you can apply every technique on a codebase you haven't seen demonstrated step by step.
This is a practical, no-fluff course. You won't just learn what Claude Code can do — you'll build real software with it, the way modern teams are starting to work today. You'll also learn why reading and verifying AI-generated code still matters, so you stay the engineer in charge, not just a passenger.
What will students learn in your course?
Set up Claude Code with VS Code and drive an entire project end to end
Engineer context with CLAUDE .md, rules files, and Auto Memory
Generate a complete Spring Boot + MySQL REST API from a database schema
Review, refine, and extend code using plan mode and spec-driven development
Write unit and integration tests (JUnit 5, Mockito, @WebMvcTest) via prompts and a test subagent
Manage the context window with /context, /compact, /clear, resume, and rewind
Build custom slash commands and skills as reusable, team-shareable quality gates
Automate guardrails with hooks that run at zero token cost
Delegate work to subagents — parallel test writing, codebase analysis
Connect external tools with MCP connectors (Playwright) and install plugins (Context7)
Use Git, Docker, and GitHub Actions CI/CD, all driven through Claude Code
Apply everything to a bonus Next.js storefront and a healthcare project assignment
Requirements / prerequisites
Working knowledge of Java and Spring Boot
Java and MySQL installed
Docker, Git, GitHub, and Node.js command-line tools installed
VS Code (or IntelliJ)
A Claude subscription (Pro or Max)
No prior experience with Claude Code or AI tools required
Who this course is for
Java and Spring Boot developers who want to build faster with AI
Backend engineers adopting AI-assisted, agentic development workflows
Developers who want to learn Claude Code specifically, hands-on
Team leads and architects evaluating AI coding tools for their teams
Not a fit for absolute programming beginners, or anyone wanting pure theory without building