
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
parse-server
Advanced tools

Parse Server is an open source version of the Parse backend that can be deployed to any infrastructure that can run Node.js.
Parse Server works with the Express web application framework. It can be added to existing web applications, or run by itself.
We have provided a basic Node.js application that uses the Parse Server module on Express and can be easily deployed using any of the following buttons:
You can also create an instance of Parse Server, and mount it on a new or existing Express website:
var express = require('express');
var ParseServer = require('parse-server').ParseServer;
var app = express();
// Specify the connection string for your mongodb database
// and the location to your Parse cloud code
var api = new ParseServer({
databaseURI: 'mongodb://localhost:27017/dev',
cloud: '/home/myApp/cloud/main.js', // Provide an absolute path
appId: 'myAppId',
masterKey: 'myMasterKey', // Keep this key secret!
fileKey: 'optionalFileKey',
serverURL: 'http://localhost:1337/parse' // Don't forget to change to https if needed
});
// Serve the Parse API on the /parse URL prefix
app.use('/parse', api);
app.listen(1337, function() {
console.log('parse-server-example running on port 1337.');
});
Parse Server can also run as a standalone API server. You can configure Parse Server with a configuration file, arguments and environment variables.
To start the server:
npm start -- --appId MYAPP --masterKey MASTER_KEY --serverURL http://localhost:1337/parse.
To get more help for running the parse-server standalone, you can run:
$ npm start -- --help
The standalone API server supports loading a configuration file in JSON format:
$ npm start -- path/to/your/config.json
The default port is 1337, to use a different port set the PORT environment variable:
$ PORT=8080 npm start -- path/to/your/config.json
The standalone Parse Server can be configured using environment variables.
You can also install Parse Server globally:
$ npm install -g parse-server
Now you can just run $ parse-server from your command line.
The full documentation for Parse Server is available in the wiki. The Parse Server guide is a good place to get started. If you're interested in developing for Parse Server, the Development guide will help you get set up.
The hosted version of Parse will be fully retired on January 28th, 2017. If you are planning to migrate an app, you need to begin work as soon as possible. There are a few areas where Parse Server does not provide compatibility with the hosted version of Parse. Learn more in the Migration guide.
The following options can be passed to the ParseServer object during initialization. Alternatively, you can use the PARSE_SERVER_OPTIONS environment variable set to the JSON of your configuration.
databaseURI (required) - The connection string for your database, i.e. mongodb://user:pass@host.com/dbnameappId (required) - The application id to host with this server instancemasterKey (required) - The master key to use for overriding ACL securitycloud - The absolute path to your cloud code main.js filefileKey - For migrated apps, this is necessary to provide access to files already hosted on Parse.facebookAppIds - An array of valid Facebook application IDs.serverURL - URL which will be used by Cloud Code functions to make requests against.push - Configuration options for APNS and GCM push. See the wiki entry.The client keys used with Parse are no longer necessary with Parse Server. If you wish to still require them, perhaps to be able to refuse access to older clients, you can set the keys at initialization time. Setting any of these keys will require all requests to provide one of the configured keys.
clientKeyjavascriptKeyrestAPIKeydotNetKeyfilesAdapter - The default behavior (GridStore) can be changed by creating an adapter class (see FilesAdapter.js)databaseAdapter (unfinished) - The backing store can be changed by creating an adapter class (see DatabaseAdapter.js)loggerAdapter - The default behavior/transport (File) can be changed by creating an adapter class (see LoggerAdapter.js)enableAnonymousUsers - Defaults to true. Set to false to disable anonymous users.allowClientClassCreation - Defaults to true. Set to false to disable client class creation.oauth - Used to configure support for 3rd party authentication.maxUploadSize - Defaults to 20mb. Max file size for uploadsYou may also configure the Parse Server using environment variables:
PARSE_SERVER_DATABASE_URI
PARSE_SERVER_CLOUD_CODE_MAIN
PARSE_SERVER_COLLECTION_PREFIX
PARSE_SERVER_APPLICATION_ID // required
PARSE_SERVER_MASTER_KEY // required
PARSE_SERVER_CLIENT_KEY
PARSE_SERVER_REST_API_KEY
PARSE_SERVER_DOTNET_KEY
PARSE_SERVER_JAVASCRIPT_KEY
PARSE_SERVER_DOTNET_KEY
PARSE_SERVER_FILE_KEY
PARSE_SERVER_FACEBOOK_APP_IDS // string of comma separated list
PARSE_SERVER_MAX_UPLOAD_SIZE
Parse Server allows developers to choose from several options when hosting files: the GridStoreAdapter, which backed by MongoDB; the S3Adapter, which is backed by Amazon S3; or the GCSAdapter, which is backed by Google Cloud Storage.
GridStoreAdapter is used by default and requires no setup, but if you're interested in using S3 or GCS, additional configuration information is available below.
S3AdapterYou can use the following environment variable setup to enable the S3 adapter:
S3_ACCESS_KEY
S3_SECRET_KEY
S3_BUCKET
S3_REGION
S3_BUCKET_PREFIX
S3_DIRECT_ACCESS
GCSAdapterYou can use the following environment variable setup to enable the GCS adapter:
GCP_PROJECT_ID
GCP_KEYFILE_PATH
GCS_BUCKET
GCS_BUCKET_PREFIX
GCS_DIRECT_ACCESS
We really want Parse to be yours, to see it grow and thrive in the open source community. Please see the Contributing to Parse Server guide.
FAQs
An express module providing a Parse-compatible API server
The npm package parse-server receives a total of 29,873 weekly downloads. As such, parse-server popularity was classified as popular.
We found that parse-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?

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.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.