Skip to content

vanilophp/demo

Repository files navigation

Vanilo Demo Application

v4.0

This is a simple Laravel 11 application that demonstrates how to build a simple storefront using the Vanilo framework. It also contains the Vanilo admin panel.

The app uses the default Bootstrap theme that comes with Laravel.

Installation

1. Get the app:

Either download and decompress the zipball or use git:

git clone https://github.com/vanilophp/demo.git

2. Install Dependencies:

cd demo/
composer install

3. Configure the environment:

The .env file is in the app's root directory.

  • Create a database for your application.
  • Initialize .env (quickly: cp .env.example .env && php artisan key:generate.
  • add the DB credentials to the .env file.

4. Install Database:

Run this command:

php artisan migrate --seed

5. Link Storage:

Run this command:

php artisan storage:link

6. Create the first admin user:

Run this command:

php artisan make:superuser

Enter your email, name, password, accept admin as role.

7. Open the application:

Run the site with php artisan serve and access the site:

http://127.0.0.1:8000

Products are not seeded so open the admin panel first to add some products.

Product List

Product list

Product Page

Product page

Cart

Cart

Checkout

Checkout

Order Thank You

Order Thank You

Order Admin

Order Admin

Products Admin

Products Admin

Manage Product

Manage Product

Manage Categories

Manage Categories

Manage Properties

Manage Properties

Assign Product Properties

Assign Product Properties

For further details refer to the Vanilo Documentation.