Skip to content

A sample multi-tenant application for Laravel using a single database. Watch the Laracasts series to see how this was built.

Notifications You must be signed in to change notification settings

laracasts/teamsy

This branch is 7 commits behind iAmKevinMcKee/teamsy:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Sep 3, 2020
b00f78e · Sep 3, 2020

History

40 Commits
Aug 28, 2020
Aug 28, 2020
Jun 4, 2020
Aug 23, 2020
Aug 15, 2020
Sep 3, 2020
Aug 28, 2020
Aug 28, 2020
Jun 4, 2020
Jun 13, 2020
Jun 18, 2020
Jun 4, 2020
Sep 3, 2020
Jun 4, 2020
Jun 4, 2020
Jun 4, 2020
Sep 3, 2020
Jun 4, 2020
Aug 28, 2020
Aug 28, 2020
Aug 4, 2020
Jun 4, 2020
Jun 13, 2020
Jun 4, 2020
Jun 4, 2020
Jun 4, 2020

Repository files navigation

About Teamsy

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.

Installation

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:

[email protected] / password

License

This project is open-sourced software licensed under the MIT license.

About

A sample multi-tenant application for Laravel using a single database. Watch the Laracasts series to see how this was built.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 64.6%
  • HTML 35.4%