ParseServer

ParseServer

new ParseServer(options)

Parameters:
Name Type Description
options ParseServerOptions

the parse server initialization options

Methods

(static) app(options)

Parameters:
Name Type Description
options Object

let you specify the maxUploadSize when creating the express app

(static) createLiveQueryServer(httpServer, config, options) → {ParseLiveQueryServer}

Helper method to create a liveQuery server

Parameters:
Name Type Description
httpServer Server

an optional http server to pass

config LiveQueryServerOptions

options for the liveQueryServer

options ParseServerOptions

options for the ParseServer

Returns:
Type:
ParseLiveQueryServer

the live query server instance

(static) start(options, callback) → {ParseServer}

Creates a new ParseServer and starts it.

Parameters:
Name Type Description
options ParseServerOptions

used to start the server

callback function

called when the server has started

Returns:
Type:
ParseServer

the parse server instance

start(options, callback) → {ParseServer}

starts the parse server's express app

Parameters:
Name Type Description
options ParseServerOptions

to use to start the server

callback function

called when the server has started

Returns:
Type:
ParseServer

the parse server instance