Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arslanstack/saas-boilerplate
Laravel, React, Tailwind, and Inertia based SAAS Boilerplate App
https://github.com/arslanstack/saas-boilerplate
credits inertiajs saas-boilerplate stripe stripe-webhook
Last synced: 26 days ago
JSON representation
Laravel, React, Tailwind, and Inertia based SAAS Boilerplate App
- Host: GitHub
- URL: https://github.com/arslanstack/saas-boilerplate
- Owner: arslanstack
- Created: 2024-04-17T13:20:24.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-04-19T11:27:11.000Z (8 months ago)
- Last Synced: 2024-04-19T15:11:42.245Z (8 months ago)
- Topics: credits, inertiajs, saas-boilerplate, stripe, stripe-webhook
- Language: JavaScript
- Homepage: https://saas.arslanstack.com/register
- Size: 693 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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.
## Getting Started
### Clone the Repository
Clone the repository using the following command:
```bash
git clone https://github.com/arslanstack/saas-boilerplate.git
```
### InstallationAfter cloning the project, navigate into the project directory and install dependencies:
```bash
cd saas-boilerplate
composer install
npm install
```### Environment Setup
Create a .env file and set up the necessary environment variables:
```bash
cp .env.example .env
php artisan key:generate
```Set up your database and Stripe keys in the .env file:
```bash
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 SeedingRun migrations and seeders to set up the database:
```bash
php artisan migrate --seed
```### Running the Application
Start the Laravel server and compile assets:
```bash
php artisan serve
npm run dev
```### Contributing
After implementing a feature or fix, use the following commands to commit and push your changes:
```bash
git add .
git commit -m "Describe the feature"
git push -u origin
```