Documentation
Documentation

Next.js Boilerplate Documentation

A comprehensive starter template for building modern web applications with Next.js, Supabase, and more.

Quick Start

Get started quickly with our boilerplate using the following commands:

Clone the repository:

1git clone https://github.com/phscloq/nextjs-boilerplate.git
2cd your-project-name

Install the dependencies:

1npm install

Start the development server:

1npm run dev

Open your browser and navigate to http://localhost:3000 to view the app.

Features

  • Next.js 15 with App Router
  • TypeScript for type safety
  • Tailwind CSS for styling
  • Supabase for authentication and database
  • Pre-built components and layouts
  • Dark mode support
  • SEO optimized
  • Radix UI for accessible and customizable components
  • Lucide React for a comprehensive set of icons
  • Responsive design for mobile and desktop

Requirements

  • Node.js 18.17 or later
  • npm, pnpm, or yarn
  • Git

Environment Variables

Before running the application, you need to set up the following environment variables. Create a .env file in the root of your project and add the following variables:

1SUPABASE_URL=your-supabase-url
2SUPABASE_ANON_KEY=your-supabase-anon-key

Replace your-supabase-url and your-supabase-anon-key with your actual Supabase URL and Anon Key.