Socket
Book a DemoInstallSign in
Socket

sails-hook-parse-server

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sails-hook-parse-server

Sails hook for integrating Parse Server

latest
Source
npmnpm
Version
1.1.0
Version published
Weekly downloads
2
100%
Maintainers
1
Weekly downloads
 
Created
Source

sails-hook-parse-server

Sails hook for integrating Parse Server

Getting Started

Install it via npm:

npm install sails-hook-parse-server

Configure config/parse-server.js in your project:

module.exports.parseServer = {

  mountPath: '/parse',

  parseServerConfig: {
    databaseURI: 'mongodb://localhost:27017/dev', // Connection string for your MongoDB database
    cloud: '/home/myApp/cloud/main.js', // Absolute path to your Cloud Code
    appId: 'myAppId',
    masterKey: 'myMasterKey', // Keep this key secret!
    fileKey: 'optionalFileKey',
    serverURL: 'http://localhost:1337/parse' // Don't forget to change to https if needed
  }
};

mountPath is routes prefix for Express middleware
parseDashboardServer is configuration object for Parse Server

Setup instructions for parseServerConfig are available here https://github.com/parse-community/parse-server

License

MIT

Keywords

sails

FAQs

Package last updated on 05 Oct 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts