Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
This is a little playground for cutting-edge single-page JS app dev.
JavaScript CoffeeScript Scala Shell
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
backend
frontend
.gitignore
README.md

README.md

Backbone Tinker

This is a little playground for cutting-edge single-page JS app dev.

Dependencies

Mentioned Node packages are installable via npm.

Usage example:

$ npm install coffee-script

Howto

First of all, build backend:

$ cd backend
$ sbt
> update
> package

(FYI: one can use assembly task to make a deployable JAR incl. dependencies.)

Then, start MongoDB server, e.g.:

$ mongod

And backend API server:

$ cd backend
$ ./run-blueeyes.sh

Backend config resides in backend/src/main/resources/blueeyes.conf, BTW.

Now, launch frontend dev server:

$ cd frontend
$ cake run:express

Finally, point your browser to localhost:3333 and enjoy hacking.

FYI: frontend source code resides in src, (on-the-fly) compiled code in public.

Additionally, deployable frontend code can be found in build and (re)built via:

$ cake build

BTW, Google Closure compiler is used for JS minification and optimization.

Frontend test suite can be run as follows:

$ cake test

Frontend documentation can be (re)generated in public/docs via:

$ cake gen:docco
Something went wrong with that request. Please try again.