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: CONTRIBUTING.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -129,7 +129,7 @@ Once you have babel running in watch mode, you can start making changes to parse
129
129
130
130
If your pull request introduces a change that may affect the storage or retrieval of objects, you may want to make sure it plays nice with Postgres.
131
131
132
-
* Run the tests against the postgres database with `PARSE_SERVER_TEST_DB=postgres PARSE_SERVER_TEST_DATABASE_URI=postgres://postgres:password@localhost:5432/parse_server_postgres_adapter_test_database npm run testonly`. You'll need to have postgres running on your machine and setup [appropriately](https://github.com/parse-community/parse-server/blob/master/scripts/before_script_postgres.sh) or use [`Docker`](#run-a-parse-postgres-with-docker).
132
+
* Run the tests against the postgres database with `PARSE_SERVER_TEST_DB=postgres PARSE_SERVER_TEST_DATABASE_URI=postgres://postgres:password@127.0.0.1:5432/parse_server_postgres_adapter_test_database npm run testonly`. You'll need to have postgres running on your machine and setup [appropriately](https://github.com/parse-community/parse-server/blob/master/scripts/before_script_postgres.sh) or use [`Docker`](#run-a-parse-postgres-with-docker).
133
133
* The Postgres adapter has a special debugger that traces all the sql commands. You can enable it with setting the environment variable `PARSE_SERVER_LOG_LEVEL=debug`
134
134
* If your feature is intended to only work with MongoDB, you should disable PostgreSQL-specific tests with:
@@ -117,7 +117,7 @@ Parse Server is continuously tested with the most recent releases of Node.js to
117
117
| Node.js 12 | 12.22.7 | April 2022 | ✅ Yes |
118
118
| Node.js 14 | 14.18.1 | April 2023 | ✅ Yes |
119
119
| Node.js 16 | 16.13.0 | April 2024 | ✅ Yes |
120
-
| Node.js 17 | 17.x| June 2022 |❌ Not tested|
120
+
| Node.js 17 | 17.2.0| June 2022 |✅ Yes |
121
121
122
122
#### MongoDB
123
123
Parse Server is continuously tested with the most recent releases of MongoDB to ensure compatibility. We follow the [MongoDB support schedule](https://www.mongodb.com/support-policy) and only test against versions that are officially supported and have not reached their end-of-life date.
@@ -143,7 +143,7 @@ Parse Server is continuously tested with the most recent releases of PostgreSQL
After starting the server, you can visit http://localhost:1337/playground in your browser to start playing with your GraphQL API.
789
+
After starting the server, you can visit http://127.0.0.1:1337/playground in your browser to start playing with your GraphQL API.
790
790
791
791
***Note:*** Do ***NOT*** use --mountPlayground option in production. [Parse Dashboard](https://github.com/parse-community/parse-dashboard) has a built-in GraphQL Playground and it is the recommended option for production apps.
***Note:*** *If you want to use [Cloud Code](https://docs.parseplatform.org/cloudcode/guide/), add `-v cloud-code-vol:/parse-server/cloud --cloud /parse-server/cloud/main.js` to the command above. Make sure `main.js` is in the `cloud-code-vol` directory before starting Parse Server.*
811
811
812
-
After starting the server, you can visit http://localhost:1337/playground in your browser to start playing with your GraphQL API.
812
+
After starting the server, you can visit http://127.0.0.1:1337/playground in your browser to start playing with your GraphQL API.
813
813
814
814
***Note:*** Do ***NOT*** use --mountPlayground option in production. [Parse Dashboard](https://github.com/parse-community/parse-dashboard) has a built-in GraphQL Playground and it is the recommended option for production apps.
@@ -852,9 +852,9 @@ parseGraphQLServer.applyGraphQL(app); // Mounts the GraphQL API
852
852
parseGraphQLServer.applyPlayground(app); // (Optional) Mounts the GraphQL Playground - do NOT use in Production
853
853
854
854
app.listen(1337, function() {
855
-
console.log('REST API running on http://localhost:1337/parse');
856
-
console.log('GraphQL API running on http://localhost:1337/graphql');
857
-
console.log('GraphQL Playground running on http://localhost:1337/playground');
855
+
console.log('REST API running on http://127.0.0.1:1337/parse');
856
+
console.log('GraphQL API running on http://127.0.0.1:1337/graphql');
857
+
console.log('GraphQL Playground running on http://127.0.0.1:1337/playground');
858
858
});
859
859
```
860
860
@@ -865,7 +865,7 @@ $ npx mongodb-runner start
865
865
$ node index.js
866
866
```
867
867
868
-
After starting the app, you can visit http://localhost:1337/playground in your browser to start playing with your GraphQL API.
868
+
After starting the app, you can visit http://127.0.0.1:1337/playground in your browser to start playing with your GraphQL API.
869
869
870
870
***Note:*** Do ***NOT*** mount the GraphQL Playground in production. [Parse Dashboard](https://github.com/parse-community/parse-dashboard) has a built-in GraphQL Playground and it is the recommended option for production apps.
871
871
@@ -1045,7 +1045,7 @@ Parse GraphQL Server allows you to create a custom GraphQL schema with own queri
1045
1045
To start creating your custom schema, you need to code a `schema.graphql` file and initialize Parse Server with `--graphQLSchema` and `--cloud` options:
0 commit comments