SAAS Laravel 11, Inertia, React, Tailwind, & Stripe

This repository contains a ready-to-use Laravel 11 and React JS boilerplate application for an AI/API-based SAAS. It provides a foundation for creating, integrating, and launching features, along with custom packages and credit consumption rules.

Project Banner

Getting Started

Clone the Repository

Clone the repository using the following command:

git clone https://github.com/arslanstack/saas-boilerplate.git

Installation

After cloning the project, navigate into the project directory and install dependencies:

cd saas-boilerplate
composer install
npm install

Environment Setup

Create a .env file and set up the necessary environment variables:

cp .env.example .env
php artisan key:generate

Set up your database and Stripe keys in the .env file:

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=yourdatabasename
DB_USERNAME=root
DB_PASSWORD=

STRIPE_PUBLIC_KEY=
STRIPE_SECRET_KEY=
STRIPE_WEBHOOK_KEY=

Database Migration and Seeding

Run migrations and seeders to set up the database:

php artisan migrate --seed

Running the Application

Start the Laravel server and compile assets:

php artisan serve
npm run dev

Contributing

After implementing a feature or fix, use the following commands to commit and push your changes:

git add .
git commit -m "Describe the feature"
git push -u origin

Project Banner

Project Banner

Project Banner

Project Banner