Project Structure
sitepins/
βββ .env.example # Environment variables template
βββ .gitignore # Git ignore patterns
βββ .husky/ # Git hooks for code quality
βββ components.json # Shadcn/ui component configuration
βββ next.config.js # Next.js configuration
βββ package.json # Dependencies and scripts
βββ postcss.config.mjs # PostCSS configuration
βββ tsconfig.json # TypeScript configuration
βββ yarn.lock # Dependency lock file
βββ public/ # Static assets
β βββ images/ # Application images
β βββ icons/ # Icon assets
βββ scripts/ # Build and utility scripts
β βββ updateVersion.js # Version management script
βββ src/ # Source code
βββ app/ # Next.js App Router
β βββ (auth)/ # Authentication pages
β β βββ login/
β β βββ register/
β β βββ forgot-password/
β βββ (protected)/ # Protected application routes
β β βββ (org)/ # Organization management
β β βββ (project)/ # Project management
β β βββ (site)/ # Site content management
β β βββ (template)/ # Template management
β β βββ checkout/ # Payment checkout
β β βββ support/ # Support pages
β βββ api/ # API routes
β β βββ auth/ # Authentication endpoints
β β βββ payment/ # Payment processing
β β βββ paddlehooks/ # Paddle webhooks
β β βββ ai/ # AI integration endpoints
β βββ dashboard/ # Dashboard pages
β βββ github-installed/ # GitHub app installation callback
β βββ error.tsx # Error boundary
β βββ layout.tsx # Root layout
β βββ loading.tsx # Loading component
β βββ not-found.tsx # 404 page
βββ actions/ # Server actions
β βββ provider/ # Git provider actions
β βββ user/ # User management actions
β βββ utils/ # Action utilities
βββ auth.ts # NextAuth configuration
βββ middleware.ts # Route protection middleware
βββ config/ # Application configuration
β βββ config.json # Main application config
β βββ templates.json # Template definitions
β βββ theme.json # Theme configuration
β βββ timezones.json # Timezone definitions
βββ hooks/ # Custom React hooks
β βββ use-debounce.ts # Debounce functionality
β βββ use-dialog.ts # Dialog state management
β βββ use-fetch.ts # Data fetching utilities
β βββ [other hooks] # Various utility hooks
βββ layouts/ # Layout components
β βββ components/ # Reusable UI components
β βββ helpers/ # Layout helper functions
β βββ partials/ # Partial components
βββ lib/ # Utility libraries
β βββ constant/ # Application constants
β βββ context/ # React contexts
β βββ paddle/ # Paddle integration utilities
β βββ utils/ # General utility functions
β βββ validate/ # Zod validation schemas
βββ redux/ # State management
β βββ features/ # Feature-specific slices
β β βββ api-slice.ts # Main API slice
β β βββ config/ # Configuration state
β β βββ git/ # GitHub integration
β β βββ media-manager/ # Media management
β β βββ orgs/ # Organization management
β β βββ package/ # Subscription management
β β βββ project/ # Project management
β β βββ provider/ # Git provider management
β β βββ user/ # User management
β βββ store.ts # Redux store configuration
βββ styles/ # Global styles
β βββ base.css # Base styles
β βββ components.css # Component styles
β βββ main.css # Main stylesheet
β βββ navigation.css # Navigation styles
β βββ theme.css # Theme definitions
β βββ utilities.css # Utility classes
β βββ variables.css # CSS custom properties
βββ tailwind-plugin/ # Custom Tailwind plugins
β βββ tw-bs-grid.js # Bootstrap-style grid plugin
βββ types/ # TypeScript type definitions
βββ index.d.ts # Global type definitions
βββ json2toml.d.ts # JSON to TOML conversion types
βββ next-auth.d.ts # NextAuth type extensions
βββ paddle.ts # Paddle SDK typesLast updated on