-
Notifications
You must be signed in to change notification settings - Fork 8
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
kitarp29 added registration system and backend #13
Conversation
Great, your work is indeed awesome, thanks a lot for your contribution, I am merging your PR. |
I tested your work and I see there is no validation like the same user can register more than 1 time and also if the user has not registered and tries to login it does not show errors neither it consoles it to the log. The screen just keeps loading and most important after registering and joining the room the chat app doesn't work, mostly because you out the socket code in the app.get('/index.js) which is the wrong place to put it up . So for now I am reverting back your pull request and hoping that you improve all the errors |
Hey @shrinish123 |
This is an image from my database login which clearly shows that multiple registrations form the same user are possible, And about where to put the socket code, I will research this and get back to you. All the Best |
Ok, I can take care of that. In the |
I will tell you about the socket code by tonight |
Hey, @shrinish123 Sorry I got occupied with college exams. |
issue #5
Hey, @shrinish123 I implemented an email register and login system in the repo.
I made the system in Mongo DB, though the DB, for now, is an offline one.
You can create a Mongo DB with your Id and easily connect it with the app.
For testing purposes, you can clone the repo and start MongoDB offline. Here .
If you want to make a MongoDB online and connect it Here, Create the cluster and replace this
mongodb://localhost:27017/userDB
with your URL.The UI/UX is not that great but still fulfills the purpose.
Things I implemented-
Mongoose
and created the userschema for the DBejs
as it is an easier and faster way to transfer variables among pages via server.More things to work on -
/public
folder)ScreenShots-