Skip to content

clout-js-modules/clout-parse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>'
        }
    }
};

Releases

No releases published

Packages

No packages published