Generate synthetic consumers and their weekly purchase history using AI. Create synthetic data with detailed profiles, shopping habits, and consistent spending patterns.
- TypeScript 95.7%
- Dockerfile 2.5%
- CSS 1.4%
- Shell 0.3%
- JavaScript 0.1%
| .gitea/workflows | ||
| .github/workflows | ||
| .husky | ||
| app | ||
| components | ||
| context/toast | ||
| public | ||
| utils | ||
| .dockerignore | ||
| .env.example | ||
| .eslintrc.json | ||
| .gitattributes | ||
| .gitignore | ||
| .prettierrc | ||
| .yarnrc.yml | ||
| commitlint.config.ts | ||
| Dockerfile | ||
| LICENSE | ||
| next-env.d.ts | ||
| next.config.ts | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| README.md | ||
| tailwind.config.ts | ||
| tsconfig.json | ||
| vercel.json | ||
| yarn.lock | ||
Synthetic Consumers Data Generator
A NextJS application that makes use of Anthropic models via Vercel AI Gateway to generate synthetic consumers and their weekly purchase history. For creating synthetic datasets for retail/e-commerce applications with believable user behaviors and spending patterns.
🌟 Features
- Generate detailed synthetic consumers including:
- Consumer demographics and household details
- Daily routines and activities
- Shopping preferences and brand loyalties
- Financial patterns and spending habits
- Contextual behaviors and upcoming events
- Create realistic weekly purchase histories that match consumer profiles
🚀 Getting Started
- Install dependencies:
yarn install
- Set up your environment variables:
cp .env.example .env
- Build and start the application:
yarn build
yarn start
For development:
yarn dev
🛠️ Available Scripts
yarn start- Start the production serveryarn dev- Start development server with hot reloadyarn build- Build the TypeScript projectyarn lint- Run ESLint with automatic fixesyarn format- Format code using Prettieryarn typecheck- Check TypeScript typesyarn prepare- Install huskyyarn audit- Run audityarn vercel:link- Link Vercel projectyarn vercel:env- Pull .env from Vercel
⚠️ Disclaimer
The consumers and purchase histories generated by this tool are fictional and should not be used as real user data. They are intended for testing and development purposes only.