Skip to content
This repository has been archived by the owner on Dec 14, 2022. It is now read-only.

Add Login And Signup in the backend, and add passport js. #9

Open
gamer-1478 opened this issue Oct 4, 2021 · 5 comments
Open

Add Login And Signup in the backend, and add passport js. #9

gamer-1478 opened this issue Oct 4, 2021 · 5 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request hacktoberfest hacktoberfest2021 help wanted Extra attention is needed UI-UX UI-UX work is needed

Comments

@gamer-1478
Copy link
Owner

Integrate Login And Signup Using Passport Js and Store the info in firestore. (make sure password is hashed)

*Notes

  1. Make A SigninRouter.js and place all code in it.
  2. Make the needed svelte pages.
  3. PLEASE NOTE NOT TO USE FIREBASE AUTH. but rather use firestore database in a users collection in a doc of user's email.

*Validation

  1. Password = min length 6, max 64 and it should have no spaces in the whole string
  2. Username = no special characters except _ and !. (no spaces too)
  3. email = Add email validation and remove all whitespaces from it.
@gamer-1478 gamer-1478 added documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed hacktoberfest hacktoberfest2021 UI-UX UI-UX work is needed labels Oct 4, 2021
@joshi-kaushal
Copy link

I'd love to try this one

@gamer-1478
Copy link
Owner Author

Cool. i'll assign it to you.

@joshi-kaushal
Copy link

hello @gamer-1478
can you please elaborate on what are you planning to implement? I glanced through the code and couldn't understand.

@gamer-1478
Copy link
Owner Author

gamer-1478 commented Oct 7, 2021

@joshi-kaushal I was planning on just adding passport js, using local auth. But in the function of search instead of searching a local json or object, we can query firebase for the document. that is in get user by id and get user by email functions.

@joshi-kaushal
Copy link

I am not able to do this, sorry. I am unasigning myself.

@joshi-kaushal joshi-kaushal removed their assignment Oct 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation enhancement New feature or request hacktoberfest hacktoberfest2021 help wanted Extra attention is needed UI-UX UI-UX work is needed
Projects
None yet
Development

No branches or pull requests

2 participants