Home

Awesome

BalmJS demo - Laravel

Requirements

npm install -g balm-core # required for balm 3.0

For Back-end

1.1 Installation

composer install

1.2 Configuration

cp .env.example .env

# Set your application key
php artisan key:generate
DB_DATABASE=laravel
DB_USERNAME=root
DB_PASSWORD=
php artisan migrate

For Front-end

2.1 Installation

npm install

2.2 Configuration

balm.config = {
  server: {
    proxy: 'your.project.local' // Target host
  }
  // ...
};

Enjoy :ghost:

npm run dev

Visit http://localhost:3000

npm run prod

Visit http://your.project.local