API Installation
Instructions for setting up and running the SaasCart API
SaasCart API Installation
Getting Started with SaasCart API
1. Open SaasCart API Directory
Navigate to the saascart-api
directory that you downloaded from CodeCanyon.
2. Environment Settings
- Change the values to the following keys in the
.env
file:
If you’re running your Laravel project locally (localhost), use localhost
with the current running port in APP_URL
. For example:
APP_URL=http://localhost:8000
DB_DATABASE=saascart
DB_USERNAME=root
DB_PASSWORD=database_password
APP_URL
is set correctly. Incorrect configuration may affect features like uploading, downloading, and displaying images. Double-check to ensure accuracy. 3. Install Required Dependencies
In the saascart-api
folder, run the following command to install the required dependencies:
4. Generate Laravel App Key
Once the necessary dependencies are installed, generate the Laravel app key by running:
5. Link Storage Folder to Public Folder
Run the following command to link storage and display images correctly:
6. Run SaasCart API
Once you’ve completed the previous steps, start the SaasCart API by running:
The API will run on the default port, accessible at 127.0.0.1:8000 in your web browser.
Congratulations
🎉 SaasCart has been successfully installed and configured on your system!
To proceed with setting up the SaasCart Next.js frontend, follow the instructions in the SaasCart Next.js Frontend Installation Guide.