Blog

Guides, tutorials, and best practices for generating realistic test data with the MockHero API.

Framework

Seed Laravel + MySQL with MockHero

Replace Laravel factories with a single MockHero API call for large relational datasets. Drop-in seeder included.

Framework

Seed Nest.js + TypeORM + Postgres with MockHero

A Nest.js seed script that generates relational data via MockHero and inserts it with TypeORM. Production-ready pattern included.

Framework

Seed Django + Supabase with MockHero

A Django management command that seeds a Supabase Postgres database using the MockHero API. Relational data, no manual fixtures.

Framework

Populate Rails + Redis with Realistic Mock Data

Use MockHero to populate Redis-backed caches and data stores used by Rails apps. Complete seed task with relational keys and JSON payloads.

Framework

Seed an Express + Postgres API with MockHero

Seed an Express.js REST API backed by Postgres using the MockHero API. Relational data in one call, inserted via node-postgres.

Framework

Seed FastAPI + Postgres with MockHero

A Python seed script for FastAPI apps backed by Postgres. Generate relational test data via MockHero and insert with SQLAlchemy.

Framework

Seed Astro + Turso (LibSQL) with MockHero

Seed a Turso-backed Astro site with realistic relational data using MockHero. Perfect for prototyping content-heavy sites with thousands of rows.

Framework

Seed an Angular + Firebase App with MockHero

Generate realistic relational test data for Angular apps backed by Firebase Firestore. Drop-in Node.js seed script included.

Framework

Seed Nuxt + PlanetScale with MockHero

Quickly seed a Nuxt 3 app backed by PlanetScale MySQL with realistic, relational test data. Includes a Prisma + MockHero seed script.

Framework

Seed Remix + Prisma with Realistic Test Data

A clean seed script for Remix apps using Prisma, powered by the MockHero API. Relational data with foreign keys and no manual INSERTs.

Framework

Seed a Vue + Supabase App with MockHero

Complete seed script for Vue 3 + Supabase using MockHero. Relational data, deterministic seeds, service-role inserts that bypass RLS.

Framework

Seed SvelteKit + Drizzle with Realistic Test Data

Drop-in seed script for SvelteKit apps using Drizzle ORM. Generate relational data via the MockHero API and insert with Drizzle in one file.

Blog | MockHero