Docs
Boilerplate

Installing and Configuring Next.js Boilerplate Templates

In this part of the documentation we will show you how to install and use Next.js Boilerplates.

Installing boilerplate templates are different than ordinary templates, you have to follow the steps strictly without skipping any of them.

Follow the steps below to complete the installation, if you get stuck feel free to open a support ticket, we will get back to you ASAP.

  1. Installation
  2. Databases Setup
  3. Authentication
  4. Sanity Integration
  5. Markdown Integration
  6. Stripe Integration
  7. Algolia Integration
  8. MailChimp Integration
  9. Resend Integration

Installation

Before moving to all the other integrations, make sure to install the dependencies.

npm install

If it fails run this:

npm install --legacy-peer-deps

Start the Developent Server

When all integrations are done, then you can start the project on the developement 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.

Make sure to edit build command like this when deploying to Vercel.

prisma-vercel