Boilerplate built for AI coding agents, tools, CLI
# Add to your Claude Code skills
git clone https://github.com/CodeGuide-dev/codeguide-starter-fullstackA modern web application starter template built with Next.js 15, featuring authentication, database integration, and dark mode support.
Before you begin, ensure you have the following:
Clone the repository
git clone <repository-url>
cd codeguide-starter-fullstack
Install dependencies
npm install
# or
yarn install
# or
pnpm install
Environment Variables Setup
.env.example file to .env:
cp .env.example .env
Start the development server
npm run dev
# or
yarn dev
# or
pnpm dev
Open http://localhost:3000 with your browser to see the result.
Start PostgreSQL with Docker:
npm run db:up
This starts PostgreSQL in a Docker container with default credentials.
Push database schema:
npm run db:push
.env:
DATABASE_URL=postgresql://username:password@localhost:5432/database_name
POSTGRES_DB=your_database_name
POSTGRES_USER=your_username
POSTGRES_PASSWORD=your_password
npm run db:push
Create a .env file in the root directory with the following variables:
# Database Configuration (defaults work with Docker)
DATABASE_URL=postgresql://postgres:postgres@localhost:5433/postgres
POSTGRES_DB=postgres
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
# Authentication
BETTER_AUTH_SECRET=your_secret_key_here
BETTER_AUTH_URL=http://localhost:3000
NEXT_PUBLIC_BETTER_AUTH_URL=http://localhost:3000