Next.js 15 App Router with strict TypeScript configuration
website-boilerplate-nextjs — Next.js Starter Template
By AlexanderTsalas
A website starter template based on the Next.js App Router, integrating Supabase SSR authentication, Drizzle ORM, Tailwind CSS, and Shadcn/UI components, with directory structure and 8px grid styling conventions as described in the README.
Explore the design
Compare the page layouts and mobile experience. Open any screenshot for a closer look.
Actual screenshot captured by the server browser.
All pages & views 3
Screenshots show visual appearance; interactive behavior may differ.
What stands out
A quick read of the recorded project description.
Supabase SSR route protection and session management via middleware.ts
Drizzle ORM manages the database schema, with support for drizzle-kit push
Tailwind CSS v4 with 8px grid and glass frosted glass utility class
Directory structure separating Shadcn/UI atomic components and sections blocks
Framer Motion animations and Phosphor Icons icon library
Template Details
This template is a website starter project aimed at agencies and engineers. The README positions it as a "Golden Stack" foundation, using Next.js 15 App Router, strict TypeScript, Tailwind CSS v4, Shadcn/UI, Supabase SSR, Drizzle ORM, Framer Motion, and Phosphor Icons. In terms of functionality, the README explains that Supabase SSR integration is implemented through middleware.ts for route protection and session management, and semantic SEO and page performance-related configurations are preconfigured. The directory structure is divided into src/app, src/components/ui, src/components/sections, src/lib/supabase, src/db, and src/types, distinguishing atomic components, section components, and server/client boundaries. Styling rules require following 8px grid spacing, using text-balance and tracking-tight for headings, and provide a glass utility class for frosted glass effects. The database schema is located at src/db/schema.ts and is pushed to Supabase via drizzle-kit push. The README does not provide specific framework version numbers, performance benchmark data, or production deployment instructions, nor does it describe integration methods other than Supabase.
Is it right for your project?
Use Cases
- Starting a Next.js website project that needs Supabase authentication and a database
- A development workflow that organizes frontend components by atomic design and section division
- Using Drizzle ORM to define and push the database schema to Supabase
- Building interfaces following 8px grid and frosted glass styling conventions
Suitable For
- Developers familiar with Next.js App Router and TypeScript
- Projects using Supabase as the backend service
- Website starter projects that need a preconfigured directory structure and styling conventions
Getting started & customization
Use these recorded setup notes alongside the repository instructions for your chosen version.
- 1
After cloning the repository, run npm install (or yarn/pnpm install) to install dependencies
- 2
Rename .env.example to .env.local and fill in NEXT_PUBLIC_SUPABASE_URL, NEXT_PUBLIC_SUPABASE_ANON_KEY, and DATABASE_URL
- 3
Run npx drizzle-kit push to push the schema in src/db/schema.ts to Supabase
- 4
Run npm run dev to start the development server, with the default address at http://localhost:3000
License & source material
Usage conditions & limitations
Free to use · keep license noticeThis entry covers the free version under the MIT license in the public repository; the free scope is the code of this version and does not mean that external services or third-party assets are free.
Must comply with when using
- Free use, modification, commercial use, and distribution of this version's code are permitted.
- When distributing copies or substantial portions of the code, retain the original author's copyright notice and the full MIT license notice.
- The code is provided as is; warranties and limitations of liability are governed by the original license and applicable law.
Additional costs & items to verify
- Demo images, fonts, icons, and other third-party assets must be checked against their respective licenses and cannot be judged solely by the code's MIT license.
- External services such as domains, hosting, databases, payments, or AI may incur additional charges.
- Before use, .env.example must be renamed to .env.local and Supabase credentials filled in, so a Supabase project and corresponding account are required.
- A Supabase project URL (NEXT_PUBLIC_SUPABASE_URL) must be provided for it to run.
- A Supabase anonymous key (NEXT_PUBLIC_SUPABASE_ANON_KEY) must be provided for it to run.
- A Supabase Postgres connection string (DATABASE_URL) must be provided for it to run.
- Database initialization depends on the Supabase service, and the schema must first be pushed to Supabase.
View Original Text Basis
Permission is hereby granted, free of charge
Original License Text
Rename `.env.example` to `.env.local` and fill in your Supabase credentials:
Original README
NEXT_PUBLIC_SUPABASE_URL=your_supabase_project_url
Original README
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
Original README
DATABASE_URL=your_supabase_postgres_connection_string
Original README
https://github.com/AlexanderTsalas/website-boilerplate-nextjs/blob/master/LICENSEhttps://github.com/AlexanderTsalas/website-boilerplate-nextjs/blob/master/README.mdPush your initial database schema to Supabase:
Original README
Compiled by DeepSeek based on repository license and README ·2026-10-14. Results only cover the materials read; dependencies, images, fonts, and subsequent term changes are subject to their respective original texts.
Project checks & description sources
Template Information
- Source platforms
- GitHub
- Documentation and maintenance reference score
- More documented · 80 / 100
- Technologies
- Next.js · React
- Website type
- Starter
How this score is calculated
Our heuristic uses license records (up to 30), a demo link (12), a preview (10), stars (15), recorded maintenance (15), description completeness (8), feature records (5) and classification data (5). It is not a code, security or performance test, or a Google score. A link does not establish tested functionality.
What to verify for this project
- Repository update recorded
- 2026-03-08
- Screenshot last checked
- 2026-10-14
A demo link is listed. Check it with your own content and viewport sizes; its presence does not confirm that forms, authentication or payments work.
The catalog identifies Next.js as the primary stack. Check the actual dependency manifest and lockfile for versions and hosting requirements. These notes use recorded metadata, not a code audit or a deployment test.
Use a selection guide →How this description was prepared
AI-assisted description based on catalog records and repository material. Repository authors are not automatically the reviewers of this description.
Review declaration: codex-user-requested-batch-review-20261015 · 2026-10-15
Inspect the recorded source material
SHA-256: e889a3f16f58704f28ca29e0b655704a500eb8a99c5d54277a0d480770396c41
2026-10-14T15:57:44.250Z
Source file / repository# Master Boilerplate  The ultimate "Golden Stack" foundation for high-performance, premium web applications. Built for agencies and engineers who refuse to settle for mediocrity and demand zero technical debt. Free and open-source under the MIT License. ## The "Golden Stack" This boilerplate is strictly configured with the modern premium stack: - **Framework:** Next.js 15 (App Router) - **Language:** Strict TypeScript - **Styling:** Tailwind CSS v4 + 8px Spatial Grid System - **Components:** Shadcn/UI (Atomic design) - **Database & Auth:** Supabase SSR - **ORM:** Drizzle ORM - **Animations:** Framer Motion - **Icons:** Phosphor Icons ## Features - 🔒 **Secure by Default:** Full Supabase SSR integration via `middleware.ts` for route protection and session management. - ⚡ **Turbo-charged Performance:** Pre-configured for maximum PageSpeed metrics and semantic SEO. - 🎨 **Premium UI/UX:** Built with "Glassmorphism," smooth spring animations, and a strict 8px developer design system. - 🧱 **Scalable Architecture:** Pre-structured directories for isolated UI components, distinct sections, and isolated server/client boundaries. - 📝 **100% Type-Safe:** End-to-end type safety from the database schema to the front-end components. ## Getting Started ### 1. Clone the repository ```bash git clone https://github.com/your-username/master-boilerplate.git my-app cd my-app ``` ### 2. Install dependencies ```bash npm install # or yarn install / pnpm install ``` ### 3. Environment Variables Rename `.env.example` to `.env.local` and fill in your Supabase credentials: ```bash NEXT_PUBLIC_SUPABASE_URL=your_supabase_project_url NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key DATABASE_URL=your_supabase_postgres_connection_string ``` ### 4. Database Setup (Drizzle ORM) Push your initial database schema to Supabase: ```bash npx drizzle-kit push ``` *Note: The schema is located at `src/db/schema.ts`.* ### 5. Start the Development Server ```bash npm run dev ``` Your app will be running at [http://localhost:3000](http://localhost:3000). --- ## Architectural Guidelines To maintain the integrity of this boilerplate, please adhere to the following rules: ### Directory Structure - `src/app/`: Next.js layouts, pages, and API routes. - `src/components/ui/`: Reusable, atomic components built with Shadcn. - `src/components/sections/`: Large logical blocks (Hero, Navbar, Footer). Always import these into your pages. - `src/lib/supabase/`: Supabase client configurations (`server.ts`, `client.ts`, `middleware.ts`). - `src/db/`: Database configuration and ORM schemas. - `src/types/`: Global TypeScript definitions, including `database.ts`. ### Styling Rules - Adhere to the **8px Grid** for padding/margins (e.g., `p-4`, `p-8`, `gap-8`). - Use `text-balance` and `tracking-tight` on headings for a premium presentation. - Use the `glass` utility class for sleek, frosted-glass components. --- ## Contributing Contributions are always welcome! Feel free to open an issue or submit a pull request if you want to improve the boilerplate. ## License This project is free and open-source software licensed under the [MIT License](LICENSE). You are free to use, modify, and distribute this software for any purpose, including commercial applications.
Explore similar templates
Compare previews and descriptions within the same stack and category.

Next.js SaaS Starter
The official Next.js SaaS starter template, integrating email/password authentication, Stripe Checkout subscriptions, a dashboard with user/team CRUD, basic Owner/Member RBAC, and activity logging.
Next.js · SaaS

Next.js Commerce
Vercel's officially maintained Next.js App Router ecommerce starter with deep Shopify integration, offering a complete product catalog, cart, and checkout flow. Core logic is modular for swapping backends, and community provider versions exist for BigCommerce, Medusa, and Saleor.
Next.js · E-commerce

Next-js-Boilerplate
A developer-first Next.js 16 starter with Tailwind CSS 4 and TypeScript, supporting both App Router and Page Router.
Next.js · Starter

tailwind-nextjs-starter-blog
A Next.js and Tailwind CSS blog starter template using Contentlayer for Markdown/MDX, with built-in SEO, code highlighting, and tags. It targets personal technical blogs and migration from Jekyll/Hugo to React, and supports one-click Vercel deployment.
Next.js · Blog

next-forge
next-forge is a Turborepo-based Next.js template maintained by Vercel, positioned as a starting point for SaaS products.
Next.js · Starter

SaaS-Boilerplate
SaaS-Boilerplate is an open-source SaaS starter template built with Next.js App Router, React 19, TypeScript, Tailwind CSS, and Shadcn UI.
Next.js · SaaS
