A professional web application for converting JSON files to SQL or CSV formats with smart handling of nested objects and arrays. Features a trial mode with 50-line limit and Stripe payment integration for full access.
- 2025-01-22: Initial project setup
- Defined data schemas for conversions and purchases
- Built complete frontend with Material Design system
- Configured Inter and JetBrains Mono fonts
- Implemented all UI components following design guidelines
- User dismissed the Stripe connector integration
- Stripe API keys not yet provided
- Payment modal UI is built but needs backend integration
- Required secrets:
STRIPE_SECRET_KEY,STRIPE_PUBLISHABLE_KEY - Note: When keys are provided, implement Stripe Payment Intents API in backend
- Home Page: Main converter interface with tabbed input (upload/paste)
- FileUpload: Drag-and-drop JSON file upload with visual feedback
- TextPaste: Code editor for pasting JSON with formatting
- ConversionControls: Format selector (SQL/CSV) with advanced options
- TrialBadge: Progress indicator for 50-line trial limit
- OutputPreview: Syntax-highlighted preview with download/copy
- UpgradeModal: Payment modal for purchasing full access
- AppHeader: Top navigation with upgrade button
- AppFooter: Footer with documentation links
- Conversion API endpoint:
/api/convert - JSON parser with nested object flattening
- SQL generation (MySQL, PostgreSQL, SQLite)
- CSV generation with custom delimiters
- Trial validation (50-line limit)
- Stripe payment webhook handler
- Primary Font: Inter (sans-serif)
- Monospace Font: JetBrains Mono (code display)
- Color Scheme: Material Design with blue primary color
- Spacing: Tailwind units (2, 4, 6, 8, 12, 16)
- Components: Shadcn UI with custom styling
- ✅ File upload with drag-and-drop
- ✅ Text paste with JSON formatting
- ⏳ Smart JSON parsing (pending backend)
- ⏳ SQL generation with dialect support (pending backend)
- ⏳ CSV export with custom delimiters (pending backend)
- ✅ Trial limitation UI (50 lines)
- ⏳ Stripe payment integration (needs API keys)
- ✅ Download and copy functionality
- Implement backend conversion API
- Add Stripe payment processing
- Test nested object handling
- Validate SQL output quality
- Test CSV generation