yongjhih / docker-parse-server

Provide docker images and docker stack for parse-server npm versions and latest commit
https://hub.docker.com/r/yongjhih/parse-server/
Apache License 2.0
475 stars 166 forks source link

Does this code support password reset and signup? #39

Open gowridev opened 8 years ago

gowridev commented 8 years ago

I am curious to know ,Does this code support password reset and signup functionality given in parse server? Could you create a docker repository for parse server example

yongjhih commented 8 years ago

I don't know how to support it yet.

Actually, this project already been merged with parse-server-example. But including more useful configuration with related images as docker stack. docker repo: https://hub.docker.com/r/yongjhih/parse-server/

cleever commented 8 years ago

I think that enabling static assets from /public folder first, will facilitate..

Putting this in the index.js:

// Serve static assets from the /public folder app.use('/public', express.static(path.join(__dirname, '/public')));

And exporting the /public folder in a docker volume like a cloud code folder.

So we can put any custom page in public folder.

And set them in custom pages variables, something like this:

customPages: { invalidLink: process.env.CUSTOM_PAGE_INVALID_LINK, verifyEmailSuccess: process.env.CUSTOM_PAGE_VERIFY_EMAIL_SUCESS choosePassword: process.env.CUSTOM_PAGE_CHOOSE_PASSWORD, passwordResetSuccess: process.env.CUSTOM_PAGE_PASSWORD_RESET_SUCCESS }

From this, we can set CUSTOM_PAGE_INVALID_LINK to https://mydomain.com/invalidlink.html.

zzsdeo commented 8 years ago

There is a way to earn a password reset functionality with parse in docker?