Guide for deploying the SaasCart API to cPanel with subdomain setup and database configuration
saascart-api
directory that you downloaded from SaasCart.saascart-api
folder, creating a .zip
file for upload.store.your-domain.com
for the Next.js frontendapi.your-domain.com
for the Laravel APIadmin.your-domain.com
for the Next.js backendsaascart-api.zip
file to the File Manager in the api.your-domain.com
directory..zip
file.DB_DATABASE
, DB_USERNAME
, and DB_PASSWORD
for later..env
file in the api.your-domain.com
directory.APP_URL=https://api.your-domain.com
APP_ENV=production
DB_DATABASE=your_db_name
DB_USERNAME=your_db_username
DB_PASSWORD=your_db_password
APP_URL
is correct to enable file uploads and image display. api.your-domain.com
directory:
/usr/local/bin/ea-php82 /opt/cpanel/composer/bin/composer install
saascart_db
).saascart_dummy_data.sql
file to import sample data.saascart_no_data.sql
to import only the essential structure.