Skip to content

glinux99/mybanqueStanclSpatie

Repository files navigation

Build Status Total Downloads Latest Stable Version License

ABOUT MY BANK NURU PROJECT

->PROJET EN MULTI LANGUES / PROJECT IN MULTI LANGUAGES

To launch the customer management application of a bank, in our case it is Nuru Bank, you will first have to configure the tenants because the project was done by us using Stancl/Tenancy and Spatie/Permissions which helped us to generate the tenants as well as the permissions and roles for the users:

Know this

  1. The first customer becomes the site administrator
  2. The administrator can create agents (cashier, IT and others)
  3. The cashier created by the administrator can create a customer, can recover the deposit or the withdrawal of customers
  4. The customer can also create his account by going to my account, i.e. in this case he will have to open an account

Launching the app

The first thing to do is to migrate all the tables:
->php artisan migrate
->creation of landlords:
  Codes
->php artisan tinker
     Psy Shell v0.11.2 (PHP 7.4.28 — cli) by Justin Hileman
     >>>$tenant2 = App\Models\Tenant::create(['id' => 'Kinshasa']);
     >>> $tenant2->domains()->create(['domain' => 'kinsite.nurubanque.cd']);
     >>> exit
     You can create as many tenants as you want
->php artisan tenants:migrate or php artisan tenants:migrate-fresh ->php artisan tenants:seed name_of_the_seend (In this app name_of_the_seed = PermissionRoles)
The following steps relate to calling a tenant's link.

Different categories of customers

  1. Admin ->First user to log into the tenant site
  2. Cashier -> user created by the administrator
  3. Simple client that can be created by the cashier or by himself

## The customer The customer can
->to log in
->modify your account
->make a bank transfer
->check your balance
->view transaction reports
->see his profile

Cashier

->create a customer only
->recover the client's deposit fees
->recover customer withdrawal fees
->check customer balance
->collect customer reports
->update customer account
->check bank balance
->verify customer accounts

Administrator

->create a cashier or other agent only
->delete, deactivate or activate a customer or agent
->check bank balance
->verify customer accounts

Note:

Roles and permissions are assigned following the above logic

Security Vulnerabilities ou dysfonctionnement My Banque Nuru Project

In case of error in our codes or in case of proposed additions, please report it to allow us to evaluate ourselves on [email protected] We are open to all criticism and remarks.

Security Vulnerabilities Laravel

If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [email protected]. All security vulnerabilities will be promptly addressed.

License

The Laravel framework is open-sourced software licensed under the MIT license.

About

->Creer les tenants en faisant:

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published