Routers frameworks integration with AppJS
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
content
.gitignore
README.md
appjs.js
browserver-appjs.js
express-appjs-2.5.11.js
express-appjs-3.js
flatiron-appjs.js
package.json
simple-routing-appjs.js

README.md

Use existing frameworks with AppJS

here are some example code for how to integrate an already existing web site (based on some framework) with Appjs

Integrated frameworks

  • express (only 2.5.11 will be supported by this example. If you want to use express 3.0 see express-appjs-3.js)
  • flatiron
  • browserver-router
  • simple-routing

(see example files)

Note: all examples are based on appjs 0.0.19 (tested on MacOSx)

Run with:

node --harmony flatiron-appjs.js

or

node --harmony express-appjs-2.5.11.js

(you can also see express-appjs-3.js)

or

node --harmony browserver-appjs.js

or

node --harmony simple-routing-appjs.js