A modern web application starter template built with Next.js 14, featuring authentication, database integration, and payment processing capabilities.
- Framework: Next.js 14 (App Router)
- Authentication: Clerk
- Database: Supabase
- Styling: Tailwind CSS
- Payments: Stripe
- UI Components: shadcn/ui
Before you begin, ensure you have the following:
- Node.js 18+ installed
- A Clerk account for authentication
- A Supabase account for database
- A Stripe account for payments (optional)
- Generated project documents from CodeGuide for best development experience
- 
Clone the repository git clone <repository-url> cd codeguide-starter-pro 
- 
Install dependencies npm install # or yarn install # or pnpm install 
- 
Environment Variables Setup - Copy the .env.examplefile to.env:cp .env.example .env 
- Fill in the environment variables in .env(see Configuration section below)
 
- Copy the 
- 
Start the development server npm run dev # or yarn dev # or pnpm dev 
- 
Open http://localhost:3000 with your browser to see the result. 
- Go to Clerk Dashboard
- Create a new application
- Go to API Keys
- Copy the NEXT_PUBLIC_CLERK_PUBLISHABLE_KEYandCLERK_SECRET_KEY
- Go to Supabase Dashboard
- Create a new project
- Go to Project Settings > API
- Copy the Project URLasNEXT_PUBLIC_SUPABASE_URL
- Copy the anonpublic key asNEXT_PUBLIC_SUPABASE_ANON_KEY
- Go to Stripe Dashboard
- Get your API keys from the Developers section
- Add the required keys to your .envfile
Create a .env file in the root directory with the following variables:
# Clerk Authentication
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your_publishable_key
CLERK_SECRET_KEY=your_secret_key
# Supabase
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
# Stripe (Optional)
STRIPE_SECRET_KEY=your_stripe_secret_key
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=your_stripe_publishable_key- 🔐 Authentication with Clerk
- 📦 Supabase Database
- 💳 Stripe Payments Integration
- 🎨 Modern UI with Tailwind CSS
- 🚀 App Router Ready
- 🔄 Real-time Updates
- 📱 Responsive Design
codeguide-starter/
├── app/                # Next.js app router pages
├── components/         # React components
├── utils/             # Utility functions
├── public/            # Static assets
├── styles/            # Global styles
├── documentation/     # Generated documentation from CodeGuide
└── supabase/          # Supabase configurations and migrations
To implement the generated documentation from CodeGuide:
- 
Create a documentationfolder in the root directory:mkdir documentation 
- 
Place all generated markdown files from CodeGuide in this directory: # Example structure documentation/ ├── project_requirements_document.md ├── app_flow_document.md ├── frontend_guideline_document.md └── backend_structure_document.md
- 
These documentation files will be automatically tracked by git and can be used as a reference for your project's features and implementation details. 
Contributions are welcome! Please feel free to submit a Pull Request.