A marketing CRUD system with Roles based permission to access routes. Users can see listed marketing channels but they cannot create, delete or update except an admin assigns them the "marketer" role
Clone the project and install packages using composer install
create a .env
and copy the .env.example
to it while adjusting the database settings
Run php artisan migrate
to create database
There is a seeder for this
run php artisan db:seed
. it creates about 10 users and one user with the adminstrator role
Run php artisan serve
If run into passport issues, something like Call to a member function getKey() on null
you can run this:
php artisan passport:client --personal
then copy the required passport credentials to your .env followed by php artisan optimize
command
For test, open another terminal and run php artisan test