Steps to run the api (Laravel 10).
Create a database, then:
- Copy
.env.example
to.env
cp .env.example .env
- Link the storage
php artisan link:storage:link
- Generate key.
php artisan key:generate
- Install the dependencies
composer install
- Run migrations and seed
php artisan migrate:fresh --seed
This will seed the defualt user, admin@admin.com
, 12 companies, 15 employees attached to each company resource.
- Run the dev server
php artisan serve