The End-to-End Journey
Mockzilla is designed to grow with your project. Whether you're starting from a blank page or capturing production traffic, our Spec-Mock Driven philosophy ensures you always have a "Ground Truth."
Level 0: Spec-Mock First
Don't wait for a backend. Don't even wait for a final spec. Start by designing your API contract as a live simulation.
- Draft with AI: Use an orchestrator like Claude Opus or Gemini to generate a technical spec.
- Immediate Hosting: Turn that spec into a live endpoint in seconds using Mockzilla.
- Ground Truth: treat your mock as the definitive contract for both frontend developers and implementation agents.
Outcome: Your project has a functional "brain" before any code is written.
Level 1: Capture & Bootstrap
Most developers start by needing a quick mock of an existing API. Instead of manually typing JSON, you use our specialized tools to bootstrap your environment.
Outcome: A perfect replica of your API structure and basic data without writing a single line of code.
Level 2: Dynamic Scaling
Static mocks get "stale" fast. Once your routes are set up, you can switch to Dynamic Responses using JSON Schema and Faker.js.
Use {{faker.name.fullName}} or {{faker.image.avatar}} in your schemas to generate realistic, varied data for every single request.
- Infinite Lists: Test infinite scroll by generating 100+ items with a single schema.
- UI Resilience: Test how your UI handles long names, empty states, or missing optional fields.
- Zero-Maintenance: Update one schema instead of 50 static JSON files.
Level 3: Stateful Workflows
For complex user journeys—like adding an item to a cart and then seeing it in the checkout list—you need Stateful Workflows. This turns Mockzilla into a "Mini-Backend."
Trigger side effects when an endpoint is called. POST /login sets an isLoggedIn flag in your session.
Outcome: You can test complete business logic flows (Auth, Checkout, Multi-step forms) without a real backend.
Level 4: AI-Driven Development
The final level of maturity is AI-Driven Mocking. By connecting Mockzilla to your AI assistant via the Model Context Protocol (MCP), you stop building mocks entirely and start directing them.
"Ask, Don't Build"
"Hey assistant, create a mock for my new products API with realistic pricing and stock levels."
The AI agent uses Mockzilla's tools to design, build, and test your mocks for you.
🤖 AI-First: Agent Instructions
The entire Mockzilla journey is optimized for AI-First development. Instead of moving through these levels manually, you can lead an AI agent to progress your mocks from level 1 to level 4 automatically.
"Use mockzilla-mock-maker to import my OpenAPI spec, then refactor the /products endpoint to use a high-fidelity JSON Schema. Finally, use mockzilla-workflow-architect to add a stateful checkout flow that tracks inventory in the Mini-DB."
// Tip: The AI acts as your senior backend engineer, handling all the complex Mockzilla logic for you.
Next Steps
Ready to start your journey?
- Quick Start: Install Mockzilla and serve your first mock.
- Tutorials: Build a Shopping Cart or an Auth Flow.
- MCP Guide: Connect your AI assistant.
Let's Build Something Great
Stop waiting for the backend. Start building the future.
