Why this fork?
- The goal of this fork is to demonstrate how to instrument an application using aspect-oriented programming techniques in concert with logging context and output patterns.
- The NodeCellar app is the best reference application for Node.js I could find, and I am just taking advantage of it being in a build-able, runnable state.
- Hopefully this "makeover" shows how you can quickly create highly instrumented applications without interfering (much) with your existing codebase
What is different?
- The Scarlet library was leveraged to provide time tracing for certain classes and methods
- The Connect Logger was introduced to capture incoming Web requests.
- System.out calls were replaced with proper logging (winston logger) calls.
- Either teach winston proper patterns, or switch over to log4js
- Figure out how to set up something like MDC in the Java world.
Node Cellar Sample Application with Backbone.js, Twitter Bootstrap, Node.js, Express, and MongoDB
"Node Cellar" is a sample CRUD application built with with Backbone.js, Twitter Bootstrap, Node.js, Express, and MongoDB.
The application allows you to browse through a list of wines, as well as add, update, and delete wines.
This application is further documented here.
The application is also hosted online. You can test it here.
To run the application on your own Heroku account:##
Install the Heroku Toolbelt
Sign up for a Heroku account
Login to Heroku from the
$ heroku login
Create a new app on Heroku:
$ heroku create
Add the MongoLab Heroku Add-on
$ heroku addons:add mongolab
Upload the app to Heroku:
$ git push heroku master
Open the app in your browser:
$ heroku open