Laravel-Svelte-Inertia [template]

dependencies

  • vite
  • inertia
  • Tailwindcss
  • daisy UI
  • svelte
  • laravel

Preview

  • login

  • admin

  • author

Feature [ ToDo ]

  • CRUD
    • select click box in table
    • sort in
    • delete modal
    • update form
    • form server side validation
    • paginate
    • detail page
    • file upload
    • search
  • admin panel enhancement
    • order top nav
    • order side nav
  • user auth (login )
    • reset users password
    • register [ for admin only ]
  • user roles
  • user profile
  • landing page
  • notification system

Installation

# install Laravel dependencies
composer install

# copy .env file
cp .env.example .env

# generate key for the app
php artisan key:generate 

# install Svelte, Tailwindcss and Inertia dependencies
npm install

# create sqlite database
touch database/database.sqlite

# migrate database and fill it with necessarily data
php artisan migrate:refresh --seed

# run the laravel server
php artisan serve 

# run svelte dev server
npm run dev 

#or

# build svelte and Inertia app
npm run build 

bugs

  • store user info and not to bring it with every request
    • bring user name only or access from $page var in svelte
  • change the res and routes
  • split users UIs
  • create user
  • fix avatar store
  • fix profile auth

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes