Documentation

Get Started

  • Get Started

Core Features

  • User Authentication
  • Database Integration
  • Email Delivery
  • Static Blog
  • Payment Collection
  • Predefined Styles
  • Private Pages
  • Private APIs
  • SEO Configuration
  • OG Image Generation
  • AI Integration

Components

  • Header
  • Footer
  • Hero Section
  • Features Section
  • Highlight Section
  • Stripe Button
  • Subscribe Form
  • Signin Form
  • Email Templates
  • FAQ Accordion
  • Theme Switcher
  • Rating
  • Call to Action
  • MDX Components
  • Table of Contents
  • Sidebar

Get Started

  • Get Started

Core Features

  • User Authentication
  • Database Integration
  • Email Delivery
  • Static Blog
  • Payment Collection
  • Predefined Styles
  • Private Pages
  • Private APIs
  • SEO Configuration
  • OG Image Generation
  • AI Integration

Components

  • Header
  • Footer
  • Hero Section
  • Features Section
  • Highlight Section
  • Stripe Button
  • Subscribe Form
  • Signin Form
  • Email Templates
  • FAQ Accordion
  • Theme Switcher
  • Rating
  • Call to Action
  • MDX Components
  • Table of Contents
  • Sidebar

Private APIs

API endpoints in our SaaS boilerplate can be created by adding a route.ts file inside the src/app/api directory. The file path determine the exact endpoint URL.

For example, src/app/api/testing/route.ts matches <your_domain>/api/testing.

You can ensure that only authenticated users can access an API by checking if a session exists.

tsx
import { auth } from "@/libs/auth";
 
export async function POST(request: Request) {
  const session = await auth();
 
  if (session) {
    // . . .
  }
}

We have included an example private API at src/app/api/private/route.ts.

Full Stack AI Dev

RoadmapCommunityPricing

SaaS Boilerplate

Next.js BoilerplateDocumentation

Contribute

Write for UsStyle Guide

Free Tools

HTML CompilerJavaScript CompilerNode.js CompilerReact CompilerNext.js Compiler

Legals

Privacy PolicyTerms of ServiceContact Us
© 2026TheDevSpace.io| All Rights Reserved
RoadmapSaaS BoilerplatePricingCommunity
CheatsheetsHTML CompilerJavaScript CompilerNode CompilerReact CompilerNext.js Compiler
Get Started
CourseNext.js BoilerplatePricingCommunity
Freebies
CheatsheetsHTML CompilerJavaScript CompilerNode CompilerReact CompilerNext.js Compiler