From a340bccc4f7728cf922e24bcc316a2e4d34a6fb9 Mon Sep 17 00:00:00 2001 From: Arturo Ortega Date: Mon, 22 Jul 2019 14:39:39 -0500 Subject: [PATCH 1/4] custom pages example and an email adapter is added --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/README.md b/README.md index 0fbf3e44ae..df236c3fb8 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,7 @@ The full documentation for Parse Server is available in the [wiki](https://githu - [Basic Options](#basic-options) - [Client Key Options](#client-key-options) - [Email Verification & Password Reset](#email-verification-and-password-reset) + - [Custom Pages](#custom-pages) - [Using Environment Variables](#using-environment-variables-to-configure-parse-server) - [Available Adapters](#available-adapters) - [Configuring File Adapters](#configuring-file-adapters) @@ -288,6 +289,7 @@ var server = ParseServer({ ``` You can also use other email adapters contributed by the community such as: +- [parse-smtp-template (Multi Languaje and Multi Template)](https://github.com/macarthuror/parse-smtp-template) - [parse-server-postmark-adapter](https://www.npmjs.com/package/parse-server-postmark-adapter) - [parse-server-sendgrid-adapter](https://www.npmjs.com/package/parse-server-sendgrid-adapter) - [parse-server-mandrill-adapter](https://www.npmjs.com/package/parse-server-mandrill-adapter) @@ -298,6 +300,27 @@ You can also use other email adapters contributed by the community such as: - [simple-parse-smtp-adapter](https://www.npmjs.com/package/simple-parse-smtp-adapter) - [parse-server-generic-email-adapter](https://www.npmjs.com/package/parse-server-generic-email-adapter) +### Custom Pages + +Parse server can let you change the default pages of the app and redirect the user to other path or domain. + +```js +var server = ParseServer({ + ...otherOptions, + + customPages { + passwordResetSuccess: "http://yourapp.com/passwordResetSuccess", + verifyEmailSuccess: "http://yourapp.com/verifyEmailSuccess", + parseFrameURL: "http://yourapp.com/parseFrameURL", + linkSendSuccess: "http://yourapp.com/linkSendSuccess", + linkSendFail: "http://yourapp.com/linkSendFail", + invalidLink: "http://yourapp.com/invalidLink", + invalidVerificationLink: "http://yourapp.com/invalidVerificationLink", + choosePassword: "http://yourapp.com/choosePassword" + } +}) +``` + ### Using environment variables to configure Parse Server You may configure the Parse Server using environment variables: From 442656fa0c2623d6018e28a8608d4cb2348403f4 Mon Sep 17 00:00:00 2001 From: Arturo Ortega Date: Mon, 22 Jul 2019 15:31:48 -0500 Subject: [PATCH 2/4] npm link of email adapter --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index df236c3fb8..ff9fb846ef 100644 --- a/README.md +++ b/README.md @@ -289,7 +289,7 @@ var server = ParseServer({ ``` You can also use other email adapters contributed by the community such as: -- [parse-smtp-template (Multi Languaje and Multi Template)](https://github.com/macarthuror/parse-smtp-template) +- [parse-smtp-template (Multi Languaje and Multi Template)](https://www.npmjs.com/package/parse-smtp-template) - [parse-server-postmark-adapter](https://www.npmjs.com/package/parse-server-postmark-adapter) - [parse-server-sendgrid-adapter](https://www.npmjs.com/package/parse-server-sendgrid-adapter) - [parse-server-mandrill-adapter](https://www.npmjs.com/package/parse-server-mandrill-adapter) From 5bd95d87820fb6aa075a3bf93ec23013a9e1e63e Mon Sep 17 00:00:00 2001 From: macarthuror Date: Mon, 22 Jul 2019 16:22:21 -0500 Subject: [PATCH 3/4] spelling and grammar changes Co-Authored-By: Tom Fox --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ff9fb846ef..2172fb1570 100644 --- a/README.md +++ b/README.md @@ -302,7 +302,7 @@ You can also use other email adapters contributed by the community such as: ### Custom Pages -Parse server can let you change the default pages of the app and redirect the user to other path or domain. +It’s possible to change the default pages of the app and redirect the user to another path or domain. ```js var server = ParseServer({ From 84e768deb82764ddf4597ab4ccaaa3afd7b48cb4 Mon Sep 17 00:00:00 2001 From: macarthuror Date: Mon, 22 Jul 2019 16:22:38 -0500 Subject: [PATCH 4/4] spelling changes Co-Authored-By: Tom Fox --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2172fb1570..9f36c553f7 100644 --- a/README.md +++ b/README.md @@ -289,7 +289,7 @@ var server = ParseServer({ ``` You can also use other email adapters contributed by the community such as: -- [parse-smtp-template (Multi Languaje and Multi Template)](https://www.npmjs.com/package/parse-smtp-template) +- [parse-smtp-template (Multi Language and Multi Template)](https://www.npmjs.com/package/parse-smtp-template) - [parse-server-postmark-adapter](https://www.npmjs.com/package/parse-server-postmark-adapter) - [parse-server-sendgrid-adapter](https://www.npmjs.com/package/parse-server-sendgrid-adapter) - [parse-server-mandrill-adapter](https://www.npmjs.com/package/parse-server-mandrill-adapter)