Example projects for OJ
JavaScript HTML CoffeeScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bower-bootstrap-client
bower-client
express-server-coffee
express-server
html-client
requirejs-client
static-server-coffee
static-server
.gitignore
LICENSE
README.md

README.md

Example Projects for OJ

The easiest way to create OJ projects is through the Yeoman tool (yo):

Install the tool:

npm install -g oj yo generator-oj

Run the tool:

yo oj

This tool will ask you if you want an Express Server or a Static Server (using the OJ CLI tool).

Also, feel free to look through these example projects for inspiration:

  • The html folders demonstrate how to use OJ with <script> includes

  • The bower folders demonstrates how to use <script> includes that are automatically downloaded with bower package management

  • The requirejs folders demonstrates how OJ plugins are compatable with requirejs / amd modules. This also uses bower package management to download files.

  • The static server folders show how to use the OJ CLI tool (same code as generated with oj yo:static)

  • The Express server folders show how to use OJ with Express (same code as generated with oj yo:express)