Docs
Installation

Installation

In this part of the documentation, we are going to show you how to install and deploy the SaaSBold Boilerplate.

Before we start the installation process make sure you have Node.js installed on your machine.
Otherwise, the installation commands won't work.

Follow these steps to install the template:

  1. Download the zip file from SaaSBold (opens in a new tab)

  2. Extract the zip file and cd into the template folder. Now run this command to install the dependencies:

    npm install --legacy-peer-deps
    # or
    yarn install

    Some included packages causes peer-deps issue with React 19 while installing.

    With npm the --legacy-peer-deps flag is a workaround for that at the moment.

Follow these steps below to complete all of the integrations:

  1. Database (opens in a new tab)
  2. Authentication (opens in a new tab)
  3. Stripe (opens in a new tab)
  4. Sanity (opens in a new tab)
  5. Algolia (opens in a new tab)
  6. Mailchimp (opens in a new tab)
  7. Resend (opens in a new tab)

When you are done with all the integration, now you can start the project on the local server

npm run dev

It’ll start the template on http://localhost:3000 (opens in a new tab)

Deploying on PaaS

If you are using a GitHub repo then you can go with free-of-cost and easy-to-use options like Vercel (opens in a new tab), or Netlify (opens in a new tab) they offer decent-free tiers for Next.js hosting.

Since we are using Prisma ORM, make sure to edit the build command like this while deploying to Vercel.

Build command override on Vercel

prisma generate && npm run build