/laredux

Boilerplate of Laravel API backend, React & Redux frontend, and a basic auth setup

Primary LanguagePHP

laredux

Boilerplate with a Laravel API backend, React & Redux frontend, and a basic auth setup.

Uses JWT for token authentication provided through tymondesigns/jwt-auth.

Running Laravel

Refer to this guide for help. A better option would be to run a Homestead Vagrant box.

$ cd api
$ composer install
$ php artisan migrate
$ php artisan serve

Running the Frontend

$ cd client
$ npm install
$ npm start

Client will attempt to make requests to http://laredux.dev, but you can change this url in ./client/src/api.js