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:
-
Download the zip file from SaaSBold (opens in a new tab)
-
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:
- Database (opens in a new tab)
- Authentication (opens in a new tab)
- Stripe (opens in a new tab)
- Sanity (opens in a new tab)
- Algolia (opens in a new tab)
- Mailchimp (opens in a new tab)
- 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.
prisma generate && npm run build