Project Structure
sitepins/
βββ .env.example # Environment variables template
βββ .gitignore # Git ignore patterns
βββ components.json # Shadcn/ui component configuration
βββ next.config.mjs # 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
βββ src/ # Source code
βββ app/ # Next.js App Router
β βββ (auth)/ # Authentication pages (login, register)
β βββ [orgId]/ # Organization routes
β β βββ [projectId]/ # Project-specific routes
β β β βββ code/ # Code editing interface
β β β βββ configs/ # Project settings
β β β βββ files/ # Content management & file explorer
β β β βββ media/ # Media management
β β βββ settings/ # Organization settings
β βββ api/ # API routes (auth, payment, etc.)
β βββ checkout/ # Subscription checkout flow
β βββ dashboard/ # User dashboard
β βββ github-installed/ # GitHub app installation callback
β βββ gitlab-installed/ # GitLab OAuth callback
β βββ new/ # Project creation flow
β βββ templates/ # Template selection and preview
βββ actions/ # Server actions
βββ config/ # Static configuration files
βββ contexts/ # React context providers
βββ hooks/ # Custom React hooks
βββ layouts/ # Major layout components (editor, dashboard)
β βββ components/ # Shared UI components
β βββ editor/ # Plate-based editor components
βββ lib/ # Shared utilities and core logic
β βββ utils/ # General utility functions
β βββ validate/ # Validation schemas
βββ redux/ # Redux state management
β βββ features/ # Feature slices (gitlab, github, orgs, etc.)
β βββ store.ts # Store configuration
βββ styles/ # Global CSS and themes
βββ types/ # TypeScript definitionsLast updated on