ashishnagpal2498 / hackstation

It is a web-app that help you track your coding status, showing it in form of dashboard. It also provides reminders to users for various competitive coding contests.
https://hackstation.netlify.app/
28 stars 44 forks source link

Create User schema #42

Closed ashishnagpal2498 closed 2 years ago

ashishnagpal2498 commented 3 years ago

🚀 Feature

tirlochanarora16 commented 3 years ago

@ashishnagpal2498, what properties are to be included in the user schema?

P.S: The backend branch is behind the master branch.

ashishnagpal2498 commented 3 years ago

Email, username, Name, organization, bio, GitHub and LinkedIn profile link, phone number. Rest you can add accordingly. Password should be separate schema (use bcrypt to encrypt it).

PS:- Let it be behind. I'll look into it. Also SWOC21 last day tomorrow. Submit a PR by end of day.

tirlochanarora16 commented 3 years ago

Can I use the mongoose library for creating Schema? @ashishnagpal2498

ashishnagpal2498 commented 3 years ago

Ya ya go ahead.

tirlochanarora16 commented 3 years ago

Hey it's showing a 403 forbidden error while I try to push my branch. @ashishnagpal2498

ashishnagpal2498 commented 3 years ago

Did you fork the repository ? I hope you are submitting a PR correctly.

tirlochanarora16 commented 3 years ago

@ashishnagpal2498 sorry I forgot to fork the repository, do you still require a PR or the project is submitted for SWOC?

ashishnagpal2498 commented 3 years ago

Yes you can submit till end of the day.

tirlochanarora16 commented 3 years ago

created PR for user schema @ashishnagpal2498

ankit-cerulean-1 commented 3 years ago

@ashishnagpal2498 , I have created Userschema for this, i will create a PR for same. Please check it.