Laravel CRUD for companies and employees with react client and sanctum api auth
Backend:
- set up a database and update the .env file
- cd to the root of the app
- run composer install
- run php artisan key:generate
- run php artisan migrate
- run php artisan queue:work
- run php artisan db:seed this command will make a user (email: "admin@admin.com" password: "password") to login into the admin panel and also some company and employee records to test.
- php artisan serve
Frontend:
- cd to the application root (client-app)
- run npm install
- run npm start