Next.js 15 Starter Kit: Build Production-Ready Apps Fast

Launch Next.js 15 apps quickly with this starter kit. Includes Tailwind CSS, Convex DB, and authentication. Focus on features, not setup.

This is a modern, feature-rich starter kit that helps you build production-ready applications using Next.js 15, Tailwind CSS, Shadcn/ui, and TypeScript.

You can use this starter kit to accelerate your development process. It offers pre-configured settings and follows best practices. This allows you to concentrate on building unique features rather than handling repetitive setup tasks.

Features

Next.js 15: Utilizes the latest version with the App Router for advanced routing.

🎨 Tailwind CSS: Utility-first CSS framework for rapid UI development.

📘 TypeScript: Type-safe code for better maintainability.

🔒 Authentication: Integrates Clerk with a persistent authorization toggle.

🎭 Shadcn/ui: Beautiful and accessible UI components.

💾 Convex DB: Real-time database with built-in file storage and serverless functions.

💳 Polar.sh: Includes an open-source solution for managing subscriptions and payments.

🚀 Route Prefetching: Delivers instant page transitions for dashboard, playground, and auth pages.

🌓 Dark/Light Mode: Features system-aware theme switching with custom gradients.

📱 Responsive Design: Adopts a mobile-first approach for broad device compatibility.

🔄 Real-time Updates: Leverages Convex DB’s real-time capabilities.

🧩 Component Library: Contains pre-built, customizable components.

🎮 AI Playground: Includes a built-in AI chat interface.

📊 Dashboard Template: Offers a ready-to-use admin interface with subscription management.

🔍 SEO Optimized: Generates meta tags and sitemaps for better search engine visibility.

Use Cases

  • SaaS Applications: Build software-as-a-service products with integrated authentication (Clerk), real-time database (Convex DB), and subscription management (Polar.sh).
  • AI-Powered Tools: Develop applications with AI capabilities using the built-in AI Playground and OpenAI integration.
  • Admin Dashboards: Create internal tools or admin panels quickly with the provided dashboard template and Shadcn/ui components.
  • E-commerce Platforms: Develop e-commerce sites that require robust user management, real-time inventory updates, and payment processing.
  • Content Platforms: Build blogs or content-driven websites with SEO optimization, responsive design, and fast page loads.

Installation

1. Clone the repository:

git clone https://github.com/michaelshimeles/nextjs14-starter-template.git

2. Install dependencies. This project uses bun as the package manager:

bun install

3. Set up environment variables. Copy the example file:

cp .env.example .env.local

4. Configure your environment variables in .env.local. You will need keys for Clerk, Convex, Polar.sh, and optionally OpenAI:

# Authentication (Clerk)
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/
# Convex
NEXT_PUBLIC_CONVEX_URL=
CONVEX_DEPLOYMENT=
CONVEX_ADMIN_KEY=
# Polar.sh
POLAR_WEBHOOK_SECRET=
# Frontend
NEXT_PUBLIC_BASE_URL=http://localhost:3000
# Optional: AI Integration
OPENAI_API_KEY=

To set up your Convex database, visit: https://convex.link/rasmicstarter

5. Run the development server:

bun run dev

Your application will be available at http://localhost:3000.

Related Resources

Preview

starter-kit-production-ready-app
Michael Shimeles

Michael Shimeles

Leave a Reply

Your email address will not be published. Required fields are marked *