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

Database Integration

TheDevSpace boilerplate is built with Prisma ORM, which allows you to connect and interact with different database with a single schema.

Create a new database

By default, our boilerplate is configured to connect to a Postgres database. It is open source, popular, and stable.

There are many places you can host a Postgres database, such as Supabase, DigitalOcean, or AWS.

If you plan to host your SaaS on Vercel, you can also create a Postgres database directly from there.

Vercel Database

Connect to the database

Regardless of the platform you choose, you should receive a database connection URL that looks like this:

env
postgres://default:XXXXXXXXX@ep-xxx-xxxx-xxx-xx-xxxx-xxx.us-east-1.aws.neon.tech/xxxxxdb?sslmode=require

Copy and paste it into the .env file as DATABASE_URL.

Run database migration

Lastly, apply the database migration by running the following command, and you're good to go.

bash
npx prisma migrate dev --name init

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