wizard-form-laravel-svelte Svelte Themes

Wizard Form Laravel Svelte

Wizard Form (Laravel-Svelte Project)

🧰 Requirements

  • PHP 8.0 or higher
  • MySQL or MariaDB
  • Node.js 22.13+ and npm 10.9+
  • Composer 2.8 or higher

⚙️ Installation

1. Install Dependencies

composer install

2. Environment Setup

cp .env.example .env

Edit the .env file to configure your environment variables (database, app key, sessions, etc.):

php artisan key:generate

3. Install JS dependencies

npm install
npm run dev

4. Database Setup

  1. Connect to MySQL server:
mysql -u root -p
  1. Create the database:
CREATE DATABASE wizardForm CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
  1. Exit MySQL:
exit
  1. Open your command prompt (cmd).

  2. Navigate to the project directory, for example:

cd path\to\your\project
  1. Run the import command:
mysql -u root -p wizardForm < dump.sql

5. Seed the database

php artisan db:seed
php artisan storage:link

7. Copy default-image

php artisan app:default-image

8. Start Local Server

php artisan serve

Project will be accessible at: http://localhost:8000

The database contains a default admin user seeded with email: admin@gmail.com and password: 12345.

You can access the admin login page at: http://localhost:8000/login

Top categories

Loading Svelte Themes