Mockingbird Examples

Real-world blueprints and use cases to get you started quickly. Copy, modify, and adapt these examples for your projects.

6 Complete Examples
All Generators Covered
Production Ready
Beginner
Blog System
Authors, posts, comments, and tags with realistic content

Key Features:

Basic relationships
Faker content
Timestamps
Intermediate
E-commerce Store
Complete online store with customers, products, orders, and inventory

Key Features:

Complex relationships
Calculations
Secondary references
Intermediate
Social Media Platform
Users, posts, likes, follows, and engagement metrics

Key Features:

Many-to-many relationships
Conditional logic
Engagement patterns
Intermediate
IoT Sensor Network
Devices, sensors, readings, and time-series data

Key Features:

Time-series data
Device hierarchies
Sensor patterns

Blog System

Beginner

A simple blog system demonstrating basic relationships between authors, posts, comments, and tags. Perfect for learning the fundamentals of Mockingbird.

Loading...

E-commerce Store

Intermediate

A complete e-commerce system with customers, products, orders, and inventory management. Demonstrates complex relationships and calculations.

Loading...

Social Media Platform

Intermediate

A social media platform with users, posts, likes, follows, and engagement metrics. Shows many-to-many relationships and social patterns.

Loading...

IoT Sensor Network

Intermediate

An IoT sensor network with devices, sensors, and time-series readings. Perfect for testing analytics and monitoring systems.

Loading...

Quick Reference

Generate Commands
mockingbird generate
mockingbird generate --format json
mockingbird generate --seed 42
Common Patterns
• Use sequence for IDs
• Use ref for relationships
• Use expr for calculations
• Use choice with weights for realistic distributions
• Use timestamp for date ranges
Best Practices
• Start with small counts for testing
• Use seeds for reproducible data
• Plan relationships before coding
• Test with different output formats
• Document your blueprint structure