Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create registration workflow #86

Open
nilaymaj opened this issue Sep 4, 2020 · 1 comment
Open

Create registration workflow #86

nilaymaj opened this issue Sep 4, 2020 · 1 comment

Comments

@nilaymaj
Copy link
Collaborator

nilaymaj commented Sep 4, 2020

Create two new screens:

  1. Registration page: User can enter his/her roll no and click Register. When the user clicks register, send a request to the registration route in the backend. (this will send a verification mail to the user).
  2. Set password page: Get the unique verification token from the URL's query part. Allow the user to set a new password, and send a request with this password and the token to the set password route in the backend. If response is success, show something like "Password set" and a button to redirect the user to the actual app.

Note that these screens must be outside of the main app. You can add a wrapper outside the main app component that uses React Router to show the right screen - up to you. Feel free to ping me if you need any help.

@bhagwatgarg
Copy link
Contributor

I'll work on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants