Upload
steren-giannini
View
3.576
Download
2
Tags:
Embed Size (px)
DESCRIPTION
Description of the Joshfire Factory, its architecture and how we used NodeJS in a production environment.
Citation preview
@SterenParis JS
2012-04-16
Using Node.js in production on the Joshfire Factory
http://factory.joshfire.com
we're hiring!
Share code between client & server
Same language, same libs: JS expertise
Why
Architecture
Factory
REST API
Express JSuse middlewares for pagination, filters, private beta...
Mongoose - EveryAuth - LESS
Single page web-app using
Datacalled by generated apps and app builer
proxy server for online datasource
cache, data-enrichment, normalization
data-source code may be used
client side or server side.server side HTML parsing
can return code client-side usable code
requiredJS, almond
Production
Tests
jasmine + Jenkins
staging / production
same environments
final tests on staging
1 week release cycle
Hosting
$ git push heroku prod:master
http://factory.joshfire.com
we're hiring!