To initiate and test this repo. Follow the steps in sequence.
- Clone the repository
- Create a new {.env} file from {.env.example} file. Or simply rename {.env.example} file to {.env}
- To install composer packages: Run=> composer install
- To generate a new application key: Run=> php artisan key:generate
- To migrate users: Run=> php artisan migrate --database=user --path=database/migrations/user
- To migrate admins: Run=> php artisan migrate --database=admin --path=database/migrations/admin --seed
- To start server: Run=> php artisan serve
- Open browser to test the running app at: http://localhost:8000
This is just the basic skelton to add multi-guard-auth. Add the final auth and foront-end as per requirements.