Installation
-
Clone the repository
git clone <your-repo-url> cd start-kit -
Install dependencies
npm install # or bun install -
Set up environment variables
Create a
.env.localfile in the root directory:# 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 -
Run the development server
npm run dev # or bun dev -
Open your browser
Navigate to http://localhost:3000
Source captured: 2026-10-11