Realtime Twitter Clone Using Sails.js Part 2
This is a continuation of my blog post about building a twitter clone in Sails.js.
I pushed some changes in the repository, it now has validations using node-validator so I can provide custom error messages because currently you can't provide custom validation messages if you only use the model validator of Sails, more info here - http://blog.john.mayonvolcanosoftware.com/how-i-use-custom-validation-messages-in-sails-js/.
The app is also now using Async.js so I can lessen deeply nested callbacks. Visit this link to see how I used Async.js.
Also check tweet.coffee file to see how the app handles tweet submission and rendering of initial tweets and new tweets being submitted realtime by other online users.