Simple SPA sales app
Make sure you have the following installed
- elm 0.17
- redis
- npm
- ruby 2.2.3
- bundler
First let's download all needed library to run the app.
bundle
npm install
elm make
Next step is to have a valid database config for our test data (TODO: this should be done by a ruby script).
cp config/database.yml.copyme config/database.yml
We will need to add some data, for this, we will take advantage from the current frabricated objects used in testing.
RACK_ENV=development bundle exec rake db:seed
npm run api
npm run watch
Caveat: npm run watch
only watches for frontend code changes
Point your browser to http://localhost:9292 and you should see the app with some test data.