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
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 π₯
The text was updated successfully, but these errors were encountered:
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 π
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 laterOnce 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 π₯
The text was updated successfully, but these errors were encountered: