Skip to content

fsmi/odie-client

Repository files navigation

Odie - Next-Generation Protokollverkauf

Gitter

odie-client is a Knockout.js frontend to odie-server. See it in action at our student council site.

Hacking

odie-client is written in ECMAScript 6 and uses Babel to transpile it to ES5 as part of its Broccoli asset pipeline.

To setup odie-client, you need to have npm installed. Then from the odie-client root dir:

sudo npm install -g broccoli-cli # one-time
npm install                      # whenever package.json has changed
broccoli serve                   # whenever Brocfile.js has changed

serve will start a local web server with index.html at its root and using the odie-server test backend. The server is LiveReload-enabled, so grab a browser extension.

Before creating a PR, please check your code with ESLint:

sudo npm install -g eslint  # one-time
eslint js/