Store Logs
=========
Storing logs from frontend in Uhray Boilerplate.
Installation
Backend
npm install --save storelogs
Frontend
bower install --save storelogs
Then setup RequireJS to have crud and to point storelogs at dist/storelogs.js.
Usage
Backend
var crud = mongoose = ; // pass in the crud and mongoose objects from your appcrud mongoose;
Now it's setup.
Frontend
;
The default URL it pings for storing logs is /api/storelogs
, but if you need to change that you can call storelogs._setPath('my/new/path')
.