Laravel-React

An example app using Laravel 5.2, React, react-router and react-refetch.

UP & RUNNING

  • Clone the repo
  • composer install
  • npm install
  • touch database/database.sqlite
  • cp .env.example .env
  • php artisan key:generate
  • php artisan migrate --seed
  • gulp watch
  • php artisan serve
  • Open your browser to http://localhost:8000

Additional infos

This is using an older version of Elixir, as I prefer LiveReload over BrowserSync. You can change it if you wish to, but don't forget to adapt the gulpfile.