This is a bare bones project template to get you up and running with a Svelte and Laravel Fullstack application.
To get this project up and running, you first need to install PHP, Composer and NodeJs.
Additonally to get up and running with the mysql database you need to install mysql
The easiet way to install these dependencies is using a package manager, as shown below for each target platform below:
Clone the repo locally:
You can use degit to clone the repo. (Change example-project to your project name)
npx degit braedencrankd/Svelte-Laravel-Inertiajs-Template example-project
cd example-project
Install PHP dependencies:
composer install
Install NPM dependencies:
npm ci
Build assets:
npm run dev
Run with hot module reloading:
npm run hot
cp .env.example .env
Edit the database configuration section in the .env file to connect to database of your choice
Generate a new application key
php artisan key:generate
Run the database migrations (Set the database connection in .env before migrating)
php artisan migrate
Finally run the dev server
php artisan serve