⚽️
InertiaJS playground Started with the Laracasts: Build Modern Laravel Apps Using Inertia.js course and decided to share all my code here, I'll be adding my own features such as editing users which was a challenge given after finishing the course.
Installation
- Clone the repository
git clone https://github.com/KasperRL/inertia-playground
- Install Composer packages
composer install
- Install NPM packages
npm install
- Create a
database.sqlite
file in yourdatabase
directorytouch database/database.sqlite
- Rename
.env.example
to.env
- Edit your database connection in your
.env
file
ReplaceDB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=demo DB_USERNAME=root DB_PASSWORD=
DB_CONNECTION=sqlite
- Run migrations (creates 100 random users)
php artisan migrate:fresh --seed
- Start server
php artisan serve
- Login with
email: [email protected] password: admin