{"repo":"codeSTACKr/better-auth-mongodb","free":true,"listed":false,"github":"https://github.com/codeSTACKr/better-auth-mongodb","clone":"git clone https://github.com/codeSTACKr/better-auth-mongodb.git","description":"A modern authentication template built with Next.js, Better Auth, and MongoDB. Features user registration, authentication, authorization, and a full-featured todo application demonstrating CRUD operations with MongoDB.","language":"TypeScript","stars":11,"topics":["better-auth","javascript","mongodb","nextjs","react","reactjs","shadcn","shadcn-ui","tailwind","tailwind-css"],"license":"MIT","category":"ui-components","readme_excerpt":"Better Auth MongoDB Demo A modern authentication template built with Next.js, Better Auth, and MongoDB. Features user registration, authentication, and a full-featured todo application demonstrating CRUD operations with MongoDB. Features - 🔐 Authentication : Complete auth system with Better Auth - Email/password registration and login - GitHub OAuth support (configurable) - Session management with middleware protection - 🍃 MongoDB Integration : Full MongoDB adapter for Better Auth - User and session storage - Todo CRUD operations - 🎨 Modern UI : Built with shadcn/ui components - Responsive design - Dark/light theme support - Beautiful, accessible components - ✅ Todo Management : Complete todo application - Create, read, update, delete todos - Toggle completion status - User-specific todos with authentication Tech Stack - Framework : Next.js 15 with App Router - Authentication : Better Auth with MongoDB adapter - Database : MongoDB - Styling : TailwindCSS + shadcn/ui - TypeScript : Full type safety - UI Components : Radix UI + Lucide icons Getting Started Prerequisites - Node.js 18+ - MongoDB database (local or Atlas) Environment Variables Create a .env.local file in the root directory (see .env.example for reference): Installation & Development 1. Clone the repository and install dependencies: 2. Start the development server: 3. Open http://localhost:3000 in your browser Project Structure Authentication Flow 1. Landing Page : Welcome screen that redirects authenticated use","default_branch":null,"files":null,"tree":[],"storefront":"/r/codeSTACKr","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/codeSTACKr/better-auth-mongodb/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}