API

Steps to run the api (Laravel 10).

Create a database, then:

  1. Copy .env.example to .env
cp .env.example .env
  1. Link the storage
php artisan link:storage:link
  1. Generate key.
php artisan key:generate
  1. Install the dependencies
composer install
  1. 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.

  1. Run the dev server
php artisan serve