Skip to content

Latest commit

 

History

History
35 lines (32 loc) · 702 Bytes

README.md

File metadata and controls

35 lines (32 loc) · 702 Bytes

clout-parse

Install

In the directory of your clout-js application, do the following;

  1. Install this package
npm install clout-parse
  1. Add this module to package.json
{
    ...
    "modules": ["clout-parse"]
    ...
}

Configure

Create a new file parse.default.js or parse.<YOUR_ENV>.js in /conf directory with the following JavaScript.

module.exports = {
    parse: {
        uri: '<mongodb://localhost/myapp>',
        endpoint: '/parse',
        path: '/cloud/main.js',
        appId: '<app-id>',
        masterKey: '<master-key>',
        liveQuery: {
            className: '<array>'
        }
    }
};