You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
For implementation related questions or technical support, please refer to the [stackoverflow](http://stackoverflow.com/questions/tagged/parse.com)community.
1
+
For implementation related questions or technical support, please refer to the [Stack Overflow](http://stackoverflow.com/questions/tagged/parse.com)and [Server Fault](https://serverfault.com/tags/parse) communities.
2
2
3
3
Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Server!
Copy file name to clipboardExpand all lines: README.md
+42-18Lines changed: 42 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,9 @@ Parse Server works with the Express web application framework. It can be added t
10
10
11
11
# Getting Started
12
12
13
-
The fastest and easiest way to get started is to run MongoDB and Parse Server locally:
13
+
The fastest and easiest way to get started is to run MongoDB and Parse Server locally.
14
+
15
+
## Running Parse Server locally
14
16
15
17
```
16
18
$ npm install -g parse-server mongodb-runner
@@ -113,11 +115,9 @@ var express = require('express');
113
115
var ParseServer =require('parse-server').ParseServer;
114
116
var app =express();
115
117
116
-
// Specify the connection string for your mongodb database
117
-
// and the location to your Parse cloud code
118
118
var api =newParseServer({
119
-
databaseURI:'mongodb://localhost:27017/dev',
120
-
cloud:'/home/myApp/cloud/main.js', //Provide an absolute path
119
+
databaseURI:'mongodb://localhost:27017/dev',// Connection string for your MongoDB database
120
+
cloud:'/home/myApp/cloud/main.js', //Absolute path to your Cloud Code
121
121
appId:'myAppId',
122
122
masterKey:'myMasterKey', // Keep this key secret!
123
123
fileKey:'optionalFileKey',
@@ -132,6 +132,8 @@ app.listen(1337, function() {
132
132
});
133
133
```
134
134
135
+
For a full list of available options, run `parse-server --help`.
136
+
135
137
# Documentation
136
138
137
139
The full documentation for Parse Server is available in the [wiki](https://github.com/ParsePlatform/parse-server/wiki). The [Parse Server guide](https://github.com/ParsePlatform/parse-server/wiki/Parse-Server-Guide) is a good place to get started. If you're interested in developing for Parse Server, the [Development guide](https://github.com/ParsePlatform/parse-server/wiki/Development-Guide) will help you get set up.
@@ -151,10 +153,10 @@ For the full list of available options, run `parse-server --help`.
151
153
*`appId`**(required)** - The application id to host with this server instance. You can use any arbitrary string. For migrated apps, this should match your hosted Parse app.
152
154
*`masterKey`**(required)** - The master key to use for overriding ACL security. You can use any arbitrary string. Keep it secret! For migrated apps, this should match your hosted Parse app.
153
155
*`databaseURI`**(required)** - The connection string for your database, i.e. `mongodb://user:[email protected]/dbname`.
156
+
*`port` - The default port is 1337, specify this parameter to use a different port.
157
+
*`serverURL` - URL to your Parse Server (don't forget to specify http:// or https://). This URL will be used when making requests to Parse Server from Cloud Code.
154
158
*`cloud` - The absolute path to your cloud code `main.js` file.
155
-
*`facebookAppIds` - An array of valid Facebook application IDs.
156
-
*`serverURL` - URL which will be used by Cloud Code functions to make requests against.
157
-
*`push` - Configuration options for APNS and GCM push. See the [wiki entry](https://github.com/ParsePlatform/parse-server/wiki/Push).
159
+
*`push` - Configuration options for APNS and GCM push. See the [Push Notifications wiki entry](https://github.com/ParsePlatform/parse-server/wiki/Push).
158
160
159
161
#### Client key options
160
162
@@ -168,19 +170,21 @@ The client keys used with Parse are no longer necessary with Parse Server. If yo
168
170
#### Advanced options
169
171
170
172
*`fileKey` - For migrated apps, this is necessary to provide access to files already hosted on Parse.
171
-
*`filesAdapter` - The default behavior (GridStore) can be changed by creating an adapter class (see [`FilesAdapter.js`](https://github.com/ParsePlatform/parse-server/blob/master/src/Adapters/Files/FilesAdapter.js)).
172
-
*`maxUploadSize` - Max file size for uploads. Defaults to 20mb.
173
-
*`databaseAdapter` (unfinished) - The backing store can be changed by creating an adapter class (see `DatabaseAdapter.js`).
174
-
*`loggerAdapter` - The default behavior/transport (File) can be changed by creating an adapter class (see [`LoggerAdapter.js`](https://github.com/ParsePlatform/parse-server/blob/master/src/Adapters/Logger/LoggerAdapter.js)).
175
-
*`enableAnonymousUsers` - Set to false to disable anonymous users. Defaults to true.
176
173
*`allowClientClassCreation` - Set to false to disable client class creation. Defaults to true.
174
+
*`enableAnonymousUsers` - Set to false to disable anonymous users. Defaults to true.
177
175
*`oauth` - Used to configure support for [3rd party authentication](https://github.com/ParsePlatform/parse-server/wiki/Parse-Server-Guide#oauth).
176
+
*`facebookAppIds` - An array of valid Facebook application IDs that users may authenticate with.
177
+
*`mountPath` - Mount path for the server. Defaults to `/parse`.
178
+
*`filesAdapter` - The default behavior (GridStore) can be changed by creating an adapter class (see [`FilesAdapter.js`](https://github.com/ParsePlatform/parse-server/blob/master/src/Adapters/Files/FilesAdapter.js)).
179
+
*`maxUploadSize` - Max file size for uploads. Defaults to 20 MB.
180
+
*`loggerAdapter` - The default behavior/transport (File) can be changed by creating an adapter class (see [`LoggerAdapter.js`](https://github.com/ParsePlatform/parse-server/blob/master/src/Adapters/Logger/LoggerAdapter.js)).
181
+
*`databaseAdapter` - The backing store can be changed by creating an adapter class (see `DatabaseAdapter.js`). Defaults to `MongoStorageAdapter`.
178
182
179
183
### Using environment variables to configure Parse Server
180
184
181
185
You may configure the Parse Server using environment variables:
For the full list of configurable environment variables, run `parse-server --help`.
197
203
198
-
##### Configuring File Adapters
204
+
### Configuring File Adapters
205
+
206
+
Parse Server allows developers to choose from several options when hosting files:
207
+
208
+
*`GridStoreAdapter`, which is backed by MongoDB;
209
+
*`S3Adapter`, which is backed by [Amazon S3](https://aws.amazon.com/s3/); or
210
+
*`GCSAdapter`, which is backed by [Google Cloud Storage](https://cloud.google.com/storage/)
211
+
212
+
`GridStoreAdapter` is used by default and requires no setup, but if you're interested in using S3 or Google Cloud Storage, additional configuration information is available in the [Parse Server wiki](https://github.com/ParsePlatform/parse-server/wiki/Configuring-File-Adapters).
213
+
214
+
# Support
215
+
216
+
For implementation related questions or technical support, please refer to the [Stack Overflow](http://stackoverflow.com/questions/tagged/parse.com) and [Server Fault](https://serverfault.com/tags/parse) communities.
217
+
218
+
If you believe you've found an issue with Parse Server, make sure these boxes are checked before [reporting an issue](https://github.com/ParsePlatform/parse-server/issues):
219
+
220
+
-[ ] You've met the [prerequisites](https://github.com/ParsePlatform/parse-server/wiki/Parse-Server-Guide#prerequisites).
221
+
222
+
-[ ] You're running the [latest version](https://github.com/ParsePlatform/parse-server/releases) of Parse Server.
199
223
200
-
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](https://aws.amazon.com/s3/); or the `GCSAdapter`, which is backed by [Google Cloud Storage](https://cloud.google.com/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](https://github.com/ParsePlatform/parse-server/wiki/Configuring-File-Adapters).
224
+
-[ ] You've searched through [existing issues](https://github.com/ParsePlatform/parse-server/issues?utf8=%E2%9C%93&q=). Chances are that your issue has been reported or resolved before.
201
225
202
-
##Contributing
226
+
# Contributing
203
227
204
228
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](CONTRIBUTING.md).
0 commit comments