# Installation

1. **Clone the repository**
   ```bash
   git clone <your-repo-url>
   cd start-kit
   ```

2. **Install dependencies**
   ```bash
   npm install
   # or
   bun install
   ```

3. **Set up environment variables**

   Create a `.env.local` file in the root directory:
   ```env
   # MongoDB Connection
   MONGODB_URI=mongodb://localhost:27017
   # or for MongoDB Atlas:
   # MONGODB_URI=mongodb+srv://username:password@cluster.mongodb.net

   # MongoDB Database Name (optional, defaults to "Cluster0")
   MONGODB_DB_NAME=Cluster0

   # Better Auth Configuration
   BETTER_AUTH_SECRET=your-secret-key-here-min-32-characters
   BETTER_AUTH_URL=http://localhost:3000
   NEXT_PUBLIC_BETTER_AUTH_URL=http://localhost:3000
   ```

4. **Run the development server**
   ```bash
   npm run dev
   # or
   bun dev
   ```

5. **Open your browser**

   Navigate to [http://localhost:3000](http://localhost:3000)