Next.js Admin Installation

Ensure that Node.js is installed. If not, refer to the Node.js Installation.

Before starting, make sure you have configured and are running the Laravel API and the SaasCart Next.js frontend. Once that’s complete, you can proceed to set up the SaasCart Next.js admin panel.

Getting Started with SaasCart Admin

1. Open the Next.js Admin Directory

Navigate to the nextjs-saascart-admin directory that you downloaded from CodeCanyon.

2. Configure next.config.js

  1. Open next.config.js in your code editor.
  2. Adjust the URL settings as follows:
    • Set URL to your Laravel API server URL.
    • Set storageURL to the primary domain for Laravel.

3. Install Node Modules

In the nextjs-saascart-admin folder, run the following command in the terminal to install dependencies:

npm install

4. Run the Project

After installing the necessary dependencies, start the project with the following command:

npm run dev

This will start the application on the default port, accessible at http://localhost:3001.


Troubleshooting

If your project isn’t running successfully, try the following solutions:

  • Ensure you’re using the latest version of Node.js.
  • Delete the node_modules folder and package-lock.json file, then run npm install again.
  • If the problem persists, re-download the software from SaasCart and retry the setup.
  • For further assistance, you can create a support ticket.
Congratulations on completing the SaasCart Installation setup!