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

[Feature Request]: Implement Signup and Login (backend) #443

Closed
5 tasks done
devarsheecodess opened this issue Oct 8, 2024 · 5 comments · Fixed by #472
Closed
5 tasks done

[Feature Request]: Implement Signup and Login (backend) #443

devarsheecodess opened this issue Oct 8, 2024 · 5 comments · Fixed by #472

Comments

@devarsheecodess
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Feature Description

Backend is not yet created for this website, so i will create an express js app and work on implementing login and signup. I will write the entire logic, comment it which should be uncommented when the PA creates a mongo DB server and configures it in the server as i cant create the DB (it should be created only by project admin for security purposes). I will also use bcrypt js and jwt.

Use Case

Users will be able to create an account and login easily.

Benefits

No response

Priority

High

Record

  • I agree to follow this project's Code of Conduct
  • I'm a GSSOC contributor
  • I want to work on this issue
  • I'm willing to provide further clarification or assistance if needed.
Copy link

github-actions bot commented Oct 8, 2024

🙌 Thank you for bringing this issue to our attention! We appreciate your input and will investigate it as soon as possible !

@kunal649
Copy link
Contributor

kunal649 commented Oct 8, 2024

@devarsheecodess Ok first you go for it and notify plz ... im also ready for some backend logic too :) Waiting for update from your side.

@vimistify
Copy link
Owner

@devarsheecodess Ok first you go for it and notify plz ... im also ready for some backend logic too :) Waiting for update from your side.

for example? can you elaborate with screenshot

@devarsheecodess
Copy link
Contributor Author

The website has hardcoded username and password, but we have to give an option for users to signup and select their desired username and password.
I will create an express app for backend which is based on javascript, for users to login and signup.

brcypt js is an NPM package which hashes the passwords and keeps them secured i.e the actual passwords are not visible in the database.

JWT means json web token, it is used to handle sessions.

But for that we need mongo DB and mongo DB cluster should be created only by the project owner.
We can do one thing, first you can create a mongo DB database and add the connection string and then i can work on this task, it will be better.
Without mongo, i wont be able to test whether my logic is correct or not. I didnt think of this problem before...

Copy link

github-actions bot commented Oct 9, 2024

✅ This issue has been closed. Thank you for your contribution! If you have any further questions or issues, feel free to raise them, and we can discuss more!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants