Teamsy is a single database multi tenant application shell built for the Laracasts series "Single Database Multi Tenancy".
Use the "Lessons" section below to find the branch that corresponds to each lesson, or just clone the master branch to see the finished product.
Feel free to use this as a starting point for your next multi tenant application.
Interact with me on Twitter or open an issue or PR if you'd like to contribute to this project.
Clone this repo to get started.
git clone https://github.com/iAmKevinMcKee/teamsy.git
Install Composer Dependencies
composer install
Install NPM Dependencies
npm install && npm run dev
Copy the .env.example file to .env
cp .env.example .env
Update your .env file to connect to your local database.
Generate your application keys
php artisan key:generate
Run the Demo Seeder to get started with a few tenants and some users
php artisan migrate:fresh --seed
Login to the app on your local maching using the following credentials:
admin@admin.com / password
This project is open-sourced software licensed under the MIT license.