A modern web application starter template built with Next.js 14, featuring authentication, database integration.
- Framework: Next.js 14 (App Router)
- Authentication: Clerk
- Database: Supabase
- Styling: Tailwind CSS
- 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
- Generated project documents from CodeGuide for best development experience
-
Clone the repository
git clone <repository-url> cd codeguide-starter-lite
-
Install dependencies
npm install # or yarn install # or pnpm install
-
Environment Variables Setup
- Copy the
.env.example
file 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_KEY
andCLERK_SECRET_KEY
- Go to Supabase Dashboard
- Create a new project
- Go to Project Settings > API
- Copy the
Project URL
asNEXT_PUBLIC_SUPABASE_URL
- Copy the
anon
public key asNEXT_PUBLIC_SUPABASE_ANON_KEY
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
- π Authentication with Clerk
- π¦ Supabase Database
- π¨ 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
documentation
folder 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.