A modern Laravel SaaS application for browsing, purchasing, and selling AI prompts for tools like ChatGPT, Claude, and Midjourney.
## Features
- **Prompt Marketplace** - Browse, search, and filter AI prompts by category
- **Premium Content** - Subscription-based access to premium prompts via Stripe
- **User Authentication** - Registration, login, email verification, and two-factor authentication
- **User Profiles** - Manage profile, password, and appearance settings
- **Prompt Management** - Authors can create, edit, and publish their prompts
- **Reviews & Ratings** - Users can review and rate prompts
- **Saved Prompts** - Save prompts for later access
- **Dark Mode** - Full dark mode support throughout the application
database/
├── factories/ # Model factories for testing
├── migrations/ # Database migrations
└── seeders/ # Database seeders
```
## Key Models
| Model | Description |
|-------|-------------|
| `User` | Users with Stripe billing support |
| `Prompt` | AI prompts with slugs, categories, and metrics |
| `Category` | Prompt categories with icons |
| `Review` | User reviews and ratings |
| `Payment` | Payment records for prompts and subscriptions |
| `SubscriptionPlan` | Stripe subscription plans |
## Available Routes
| Route | Description |
|-------|-------------|
| `/` | Home page with featured prompts |
| `/prompts` | Browse all prompts |
| `/prompts/{slug}` | View a single prompt |
| `/pricing` | Subscription plans |
| `/login` | User login |
| `/register` | User registration |
| `/dashboard` | User dashboard (authenticated) |
| `/settings/*` | User settings pages |
## Creating New Components
```bash
# Create a new Volt component
php artisan make:volt ComponentName --test --pest
# Create a new Livewire component
php artisan make:livewire Posts/CreatePost
# Create a new model with factory and seeder
php artisan make:model ModelName -fs
```
This project was built using modern development practices and industry-standard technologies. The implementation focused on creating a robust, maintainable, and scalable solution that meets current business needs while allowing for future growth.
The architecture emphasizes clean code principles, proper separation of concerns, and comprehensive testing to ensure reliability and performance.