This project is as base spree application with a frontend built with React + Redux.
Demo: https://react-spree-app.herokuapp.com
- Rails 5
- Spree 3.2
- React on Rails 8
- React 16
- React Router 4
- React Intl
- Redux
- Redux Saga
- Reselect
- React Bootstrap
- Webpack + HMR
Setup services with docker:
docker-compose up
Install dependencies:
bundle install
yarn install
Setup the database:
bundle exec rake db:create
bundle exec rake db:migrate
bundle exec rake db:seed
Optionally, Spree sample data may be loaded by:
bundle exec rake spree_sample:load
yarn run start:hot
Starts the app with hot module replacement. While this is the recommended approach, start:dev
might also be used to start using watch mode instead of hmr.
yarn run start:dev
The store can be accessed at