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

πŸ—„ Backend - Club Registration #77

Closed
tamalCodes opened this issue Feb 12, 2022 · 2 comments Β· Fixed by #86
Closed

πŸ—„ Backend - Club Registration #77

tamalCodes opened this issue Feb 12, 2022 · 2 comments Β· Fixed by #86
Assignees

Comments

@tamalCodes
Copy link
Member

I want to store the club details once they register


Guidelines ⚠

I have read the Contributing Guidelines πŸ”

I have read the Setup guidelines πŸ”


TO DO πŸ› 

image

image

I want to save the following information to the DB once the use gives it
Define the registration route as ➑ router.post("/register", async (req, res)
No need to connect the frontend with the backend now.

  • name
  • email
  • password
  • address
  • pincode
  • description

EXTRA ‡

If the CLUB already exists , res.json({ exists: true });
Else get the info from req.body
Encrypt the password with the help of BCRYPT JS (already installed)
The secret key for BCRYPT = thisismysecret123 , i will change it later

Once stored successfully , res.json({ sucess: true });


Completed / Doubts ? πŸš€

Once you are done with the code , please tag me in #milan with the Screenshot of whatever you made so that we can review that there together.
If you have any doubts, queries please tag me in #milan so that we can discuss the issue there together.
Please Donot DM.

Cheers πŸ₯‚

@KushalGhosh9899
Copy link
Contributor

I want to work on this issue under JWOC

@tamalCodes
Copy link
Member Author

Go for it , done/issues tag me in #milan

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

Successfully merging a pull request may close this issue.

2 participants