Skip to content

terminalchai/mockdata-run

Repository files navigation

mockdata.run

mockdata.run is an editorial mock data lab for generating seeded JSON, CSV, and API-ready sample payloads from a compact blueprint.

What it does

  • Writes believable mock records from a simple field:type[:args] schema
  • Keeps runs deterministic with a reusable seed
  • Exports three views:
    • JSON array
    • CSV
    • API response shape
  • Includes curated presets for SaaS, commerce, and creator workflows
  • Shows schema mix, payload size, and a live table preview

Blueprint format

Each line follows:

field:type[:args]

Examples:

leadId:id
fullName:name
email:email
plan:enum:Starter|Growth|Scale
monthlySpend:number:49:799
conversionRate:float:1.4:12.8:1
active:boolean
signupDate:date:2024-01-01:2026-12-31
productTags:list:Accessories|Furniture|Lighting

Supported field types

  • id
  • uuid
  • name
  • firstName
  • lastName
  • company
  • email
  • phone
  • city
  • country
  • url
  • avatar
  • sentence
  • paragraph
  • slug
  • number:min:max
  • float:min:max:fractionDigits
  • boolean
  • date:from:to
  • enum:one|two|three
  • list:one|two|three

Stack

  • React 19
  • Vite 8
  • Framer Motion
  • Lucide React
  • Playwright

Scripts

  • npm run dev — start local app
  • npm run build — production build
  • npm run preview — preview production output
  • npm run test:e2e — run Playwright suite
  • npm run test:e2e:headed — run Playwright headed

Local setup

npm install
npm run dev

Validation

Current local validation completed:

  • Production build passes
  • Playwright suite passes (4/4)
  • No editor-reported errors in the workspace

Design direction

This project intentionally avoids the same visual language used in the previous tools.

It uses:

  • an editorial split-layout
  • warm paper tones instead of neon glass
  • Fraunces, DM Sans, and IBM Plex Mono
  • structured “data lab” panels instead of repeated dashboard cards

Terminal Chai

Built for the Terminal Chai portfolio workflow.

About

Seeded mock datasets for prototypes, demos, and QA. Write a schema, hit run, export JSON/CSV/API payloads.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors