Boilerplate built for AI coding agents, tools, CLI
# Codeguide Starter Fullstack
A modern web application starter template built with Next.js 15, featuring authentication, database integration, and dark mode support.
## Tech Stack
- **Framework:** [Next.js 15](https://nextjs.org/) (App Router with Turbopack)
- **Language:** TypeScript
- **Authentication:** [Better Auth](https://better-auth.com/)
- **Database:** [Drizzle ORM](https://orm.drizzle.team/) with PostgreSQL
- **Styling:** [Tailwind CSS v4](https://tailwindcss.com/)
- **UI Components:** [shadcn/ui](https://ui.shadcn.com/) (New York style)
- **Theme System:** [next-themes](https://github.com/pacocoursey/next-themes)
- **Icons:** [Lucide React](https://lucide.dev/)
## Prerequisites
Before you begin, ensure you have the following:
- Node.js 18+ installed
- Docker and Docker Compose (for database setup)
- Generated project documents from [CodeGuide](https://codeguide.dev/) for best development experience
## Getting Started
1. **Clone the repository**
```bash
git clone <repository-url>
cd codeguide-starter-fullstack
```
2. **Install dependencies**
```bash
npm install
# or
yarn install
# or
pnpm install
```
3. **Environment Variables Setup**
- Copy the `.env.example` file to `.env`:
```bash
cp .env.example .env
```
- The default values work with Docker setup, modify as needed
4. **Start the development server**
```bash
npm run dev
# or
yarn dev
# or
pnpm dev
```
5. **Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.**
## Configuration
### Option 1: Docker Setup (Recommended)
1. **Start PostgreSQL with Docker:**
```bash
npm run db:up
```
This starts PostgreSQL in a Docker container with default credentials.
2. **Push database schema:**
```bash
npm run db:push
```
### Option 2: Local Database Setup
1. Create a PostgreSQL database locally
2. Update your environment variables in `.env`:
```env
DATABASE_URL=postgreAgent that generates comprehensive documentation, API references, architecture diagrams, and developer onboarding guides from existing code.
Agent configuration for systematic bug investigation that traces issues from error logs through the codebase to root cause with suggested fixes.
Agent for integrating third-party APIs including SDK setup, type generation, error handling, retry logic, and rate limit management.
Cursor's built-in autonomous coding agent that can make multi-file edits, run terminal commands, search the codebase, and iteratively build features with minimal human intervention.
Cloud-based autonomous coding agent that runs in the background on remote sandboxed environments, handling complex multi-step tasks while you continue working.
Cursor's multi-file editing agent within Composer mode that can create, edit, and delete files across your entire project in a single conversation.