new ParseServer(options)
Parameters:
Name | Type | Description |
---|---|---|
options | ParseServerOptions | 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:
Name | Type | Description |
---|---|---|
options | ParseServerOptions | to use to start the server |
Returns:
the parse server instance
- Type:
- ParseServer
(static) app(options)
Parameters:
Name | Type | Description |
---|---|---|
options | Object | 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:
Name | Type | Description |
---|---|---|
httpServer | Server | an optional http server to pass |
config | LiveQueryServerOptions | options for the liveQueryServer |
options | ParseServerOptions | 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:
Name | Type | Description |
---|---|---|
options | ParseServerOptions | used to start the server |
Returns:
the parse server instance
- Type:
- ParseServer