Installation
In this part of the documentation, we are going to show you how to install and deploy the NextAdmin 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:
Follow these steps to install the template:
- Download the zip file from NextAdmin
- Extract the zip file and cd into the template folder. Now run this command to install the dependencies:
npm install --legacy-peer-deps
This will install all the dependencies.
Note: We are using the latest version of React(v19), as of right now some packages causes peer-dependency issue with React 19. So the --legacy-peer-deps
flag is required for installation. Make sure to also override the installation command when you deploy on the cloud(e.g. Vercel) to use --legacy-peer-deps
flag.
Now follow the next steps to complete all the integrations:
- Database (opens in a new tab)
- Authentication (opens in a new tab)
- Algolia (opens in a new tab)
- Uploads (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 React 19, make sure to override the installation command to use --legacy-peer-deps
flag.