Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 1.16 KB

README.md

File metadata and controls

28 lines (19 loc) · 1.16 KB

react-redux-laravel-soup

Intention behind this repo is to jump start with developing single page applications using laravel as backend and react-redux and redux-sagas in frontend.

Soup webapp

Setting up the repository

  • Clone the repository.
  • cd to webapp directory.
  • Assuming that npm and nodejs is installed, run "npm install -g yarn"
  • Run yarn install to install the dependencies.
  • Run npm start to run the dev server.

To run the app via laravel

  • Inside webapp directory, run npm run build, theis will create a production build for webapp and place the bundle.js inside laravel applications public folder.
  • cd to server directory.
  • run php artisan serve
  • And your laravel application now hosts reactJS application.

DevTools

####The following chrome plugins will come handy in development.