demo-data-for
v1.0.0
Published
Generate realistic fake demo data for common app types — SaaS dashboards, ecommerce stores, project management, and booking platforms.
Maintainers
Readme
demo-data-for
Generate realistic fake demo data for common app types — SaaS dashboards, ecommerce stores, project management tools, and booking platforms.
Designed for developers building portfolio projects, MVPs, SaaS demos, dashboards, and prototypes.
Installation
npx demo-data-for saas-dashboardOr install globally:
npm install -g demo-data-forUsage
demo-data-for <app-type> [options]
demo-data-for listOptions
| Option | Default | Description |
|---|---|---|
| --out <dir> | ./seed | Output directory |
| --count <number> | 25 | Number of base records |
| --format <type> | json | Output format: json or ts |
Examples
# Generate SaaS dashboard seed data
demo-data-for saas-dashboard
# Generate ecommerce data with 50 records to a custom directory
demo-data-for ecommerce-store --count 50 --out ./my-data
# Generate project management data as TypeScript files
demo-data-for project-management --format ts
# List all available templates
demo-data-for listOutput per template
saas-dashboard
seed/
├── users.json
├── teams.json
├── subscriptions.json
├── invoices.json
└── activityLogs.jsonecommerce-store
seed/
├── customers.json
├── products.json
├── orders.json
├── reviews.json
└── carts.jsonproject-management
seed/
├── users.json
├── projects.json
├── tasks.json
├── comments.json
└── activityLogs.jsonbooking-platform
seed/
├── customers.json
├── providers.json
├── services.json
├── bookings.json
└── payments.jsonData relationships
All generated data is relationally consistent:
- saas-dashboard — Teams reference owners, subscriptions reference teams, invoices reference subscriptions, activity logs reference users and teams
- ecommerce-store — Orders reference customers, order items reference products, reviews reference customers and products
- project-management — Projects reference owners, tasks reference projects and assignees, comments reference tasks and users
- booking-platform — Services reference providers, bookings reference customers, providers, and services, payments reference bookings
Local development
git clone <repo-url>
cd demo-data-for
npm install
npm link
demo-data-for saas-dashboardPublishing to npm
npm login
npm publishLicense
MIT
