Welcome to multi tenancy! This Multi-tenancy is a software architecture model where a single instance of an application or system serves multiple tenants. A tenant refers to a group of users or organizations that share a common instance or multiple of the software while keeping their data and configuration separate and isolated from each other. In a multi-tenant architecture, the application is designed to provide customized functionality and data segregation for each tenant. The tenants typically access the software through a shared infrastructure, such as a cloud-based platform, but their data and configuration are kept separate and secure. Each tenant may have its own set of users, data, configurations, permissions, and even branding.
[The software requirements.]
- Node (version 16)
- PHP (version 8.2)
- Laravel (version 10)
- MySQL (version 8.0)
To set up a Super Admin for the master database, follow these steps:
-
Execute the following SQL query:
INSERT INTO `users`(`name`, `email`, `email_verified_at`, `password`, `remember_token`, `created_at`, `updated_at`) VALUES ('Super Admin','[email protected]',NULL,'$2y$12$8DMR1aZamm.CkkSLgAohlePSI6xQGmpqWdtZK9yyOSG./i8V6ybYa',NULL,'2024-01-06 17:11:06','2024-01-06 17:11:06');
Follow these steps to install the project:
-
Run the following commands in your terminal:
npm install npm run build composer install php artisan key:generate php artisan migrate php artisan db:seed php artisan passport:keys php artisan serve
Use the following credentials to log in as Super Admin:
- Email: [email protected]
- Password: 12345
- Log in as Super Admin.
- Navigate to the company section.
- Create a new user.
- View the created user.
- Delete the user if necessary.
- Log in with a company user account.
- View company information.
Include any additional information, tips, or troubleshooting steps here.
Mention contributors, if any, who have contributed to the project.
Specify the license under which the project is distributed.