Installation Setup Laravel + InertiaJS + React, Install Admin Panel - https://voyager.devdojo.com/
- git clone
https://github.com/futuresea-dev/Laravel_React_DataTable-.git cd Laravel_React_DataTable-cp .env.example .envand update database credentialsphp artisan key:generate- Install the dependencies:
composer install - Install frontend dependencies:
yarn - Compile the code:
yarn devoryarn watch - Boot the server:
php artisan serve - Access:
http://localhost:8000
- Hero [name, health]
- Weapon [name, damage, is_range]
- HeroWeapons
In Voyager create BREAD for Hero and Weapon Models to manage them (after should be visible in admin menu). Fill some data (5 heroes, 10 weapons). Add weapons to heroes.
Create pages for users in REACT part of app. Use https://react-bootstrap.github.io/getting-started/introduction for UI.
/heroes - bootstrap table with off all heroes + their sum damage (implement method for Hero : getDamage) /weapons - bootstrap table of weapons and how many are used by heroes



