ParseServer

new ParseServer(options)

Parameters:
NameTypeDescription
optionsParseServerOptions

the parse server initialization options

Methods

(async) start()

Starts Parse Server as an express app; this promise resolves when Parse Server is ready to accept requests.

(async) startApp(options) → {ParseServer}

starts the parse server's express app

Parameters:
NameTypeDescription
optionsParseServerOptions

to use to start the server

Returns:

the parse server instance

Type: 
ParseServer

(static) app(options)

Parameters:
NameTypeDescription
optionsObject

let you specify the maxUploadSize when creating the express app

(async, static) createLiveQueryServer(httpServer, config, options) → {Promise.<ParseLiveQueryServer>}

Helper method to create a liveQuery server

Parameters:
NameTypeDescription
httpServerServer

an optional http server to pass

configLiveQueryServerOptions

options for the liveQueryServer

optionsParseServerOptions

options for the ParseServer

Returns:

the live query server instance

Type: 
Promise.<ParseLiveQueryServer>

(async, static) startApp(options) → {ParseServer}

Creates a new ParseServer and starts it.

Parameters:
NameTypeDescription
optionsParseServerOptions

used to start the server

Returns:

the parse server instance

Type: 
ParseServer