Closed anmol420 closed 1 month ago
@LakshmiSowmya04 Moreover finding someone with the user-id provided my mongodb is quite frustrating, so why not add username in the User model which will make things easier.
@anmol420 its true that we cant find by object id but we do have username option in schema and regarding user registering fo university...this website is for people more like a gossip channel having participants from same college ....if already college or university existing it wont allow to create again....i thin kyou can implement in such a way duplicacy channel for a single college should not be allowed
@LakshmiSowmya04 Like if you view any of the other alumini apps or sites, first the university has to register itself on the portal then only user can register his/her self under the college/university name, if this doesn't happens then anyone can write any university name (wheather true or false), hence leading to misinformation. And regarding same college people having the chat, again you need a university database for this as this website will support multiple university having a seperate chat section which is independent from the other University/College.
Thats why I suggested to add university schema and database for the above mentioned problem.
@LakshmiSowmya04 Like if you view any of the other alumini apps or sites, first the university has to register itself on the portal then only user can register his/her self under the college/university name, if this doesn't happens then anyone can write any university name (wheather true or false), hence leading to misinformation. And regarding same college people having the chat, again you need a university database for this as this website will support multiple university having a seperate chat section which is independent from the other University/College.
Thats why I suggested to add university schema and database for the above mentioned problem.
that's why I added a point that we will handle no duplicacy allowed ....if it is fine we will add an option to add usn number....okay tell me what do u want to keep under university schema
Under University Schema -
Now when the user will register themselves on our portal then he/her would get an option to choose his/her university from a drop-down list so that if the university as not been registered on our portal student will not allowed to enter and this way many universities will try registeration on the portal which is far better than the students writing the name of their university. Drop-down list will contain all the names of the university which will be under the university database, hence will result in better mangement.
Also I will add the university ref in the user schema, in place of University section.
anmol i have mentioned in discord ...make a PR asap for this
ok @LakshmiSowmya04 ! on it
"University" model which will be used to register the university/college so that each user can be afflicted to the university and the university also gets a home page with Some posts and chat options for alumns and the onboard students.
This model could be linked with the user model which will help us in finding the university which is registered on the portal, which is better than user registering his/her own university.