A modern web application starter template built with Next.js 14, featuring authentication, database integration.
Before you begin, ensure you have the following:
Clone the repository
git clone <repository-url>
cd codeguide-starter-lite
Install dependencies
npm install
# or
yarn install
# or
pnpm install
Environment Variables Setup
.env.example file to .env:cp .env.example .env
.env (see Configuration section below)Start the development server
npm run dev
# or
yarn dev
# or
pnpm dev
Open http://localhost:3000 with your browser to see the result.
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY and CLERK_SECRET_KEYProject URL as NEXT_PUBLIC_SUPABASE_URLanon public key as NEXT_PUBLIC_SUPABASE_ANON_KEYCreate 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
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.