Create a gist now

Instantly share code, notes, and snippets.

@srs /main.js
Created Oct 19, 2016

What would you like to do?
PurpleJS Blog - Snippet 10
router.get('/random', function(req) {
return {
body: getRandom(10)
};
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment