A simple product app built with Next.js 15 (App Router) and NextAuth.js. It features public pages, protected routes, and basic product management functionality. Users can view a landing page, browse product details, and authenticated users can add new products via a protected dashboard.
- 🌐 Landing Page with navigation, hero, product highlights, and footer
- 🔐 Login with NextAuth.js (Google or credentials)
- 📄 Public product list and individual product detail pages
- ✅ Protected dashboard to add new products
- 🔧 API route handlers (
/api) for data handling (mock backend) - ✨ Optional: Loading spinner, toast messages, light/dark theme toggle
- Framework: Next.js 15 (App Router)
- Auth: NextAuth.js
- Database: MongoDB (or mock data in JSON)
- Styling: Tailwind CSS (optional)
- UI Tools:
lucide-react,react-icons,react-hot-toast,react-toastify
git clone https://github.com/your-username/next15-product-app.git
cd next15-product-app