Base install of breeze-inertia re-written to Svelte.
Beginner boilerplate to get up and running with svelte and inertia.
git clone git@github.com:lindgr3n/breeze-inertia-svelte.git
composer install
npm install
Create a MySql database or use an already existing.
Copy the .env.example
and update the values to match your database name and authentication
DB_DATABASE=
DB_USERNAME=
DB_PASSWORD=
Run the migrations
php artisan migrate
Generate the application key
php artisan key:generate
This will update the APP_KEY
variable in the env file.
To run the application run npm run watch
to build the client code. Then php artisan serve
to start the backend.
Now you can go to http://localhost:8000
to start the application.
The code could be refactored to be more optimized