# Project Summary
codequickr is an AI-powered tool that generates comprehensive context.md files and Cursor rules to dramatically improve development efficiency. It helps developers get from idea to working code faster by providing Cursor with the context it needs to understand projects from the start.
## Core Features
1. AI-generated context.md files with project structure
2. Intelligent Cursor rule creation (.mdc files)
3. Custom tech stack configuration
4. Project-specific coding standards
5. Security and best practice guidelines
6. User authentication and session management
7. One-time payment processing with Stripe
8. File download and ZIP package generation
9. Dashboard for managing generations
10. Real-time AI processing and generation
## Tech Stack
- **Frontend:** Next.js 14 with TypeScript, Tailwind CSS
- **Backend:** Next.js API routes
- **Database:** Supabase (PostgreSQL)
- **Payments:** Stripe
- **Auth:** Supabase Auth with JWT
- **Deployment:** Vercel
## Project Structure
src/
├── app/
│ ├── api/ # API routes
│ ├── auth/ # Auth pages
│ ├── dashboard/ # User dashboard
│ ├── generate/ # Generation interface
│ └── globals.css # Global styles
├── components/ # Reusable components
├── lib/ # Utilities & config
└── middleware.ts # Auth middleware
## Database Schema
- users (id, email, created_at)
- user_purchases (id, user_id, stripe_payment_id, amount, status)
- user_generations (id, user_id, project_name, file_content, created_at)
## API Endpoints
- POST /api/auth/signup - User registration
- POST /api/generate - AI content generation
- POST /api/create-checkout-session - Stripe checkout
- POST /api/webhooks/stripe - Handle payments
- GET /api/check-access - Verify user access
## Environment Setup
cp .env.example .env.local
npm install
npm run dev
## Deployment Notes
- Configure Supabase project URL and anon key
- Set up Stripe webhook endpoints
- Update CORS settings for production
- Configure authentication redirects