Skip to content

[Feature] Log in system with JWT/Session #97

Description

@rajatkb

The system currently needs a login system, which would allow users to register and curate a feed through email or through the frontend application according to themselves. Including setting up reminders of their choice,

Describe the solution you'd like
Use Passport or custom implemented solution (Should be properly scrutinised for its security), for enabling user login and creating user identity when creating routes.

Additional context

  • Starting with creating a Mongo Schema for a user along with a model to interact with it (look in Model folder)
  • Implement a service that can act as the auth service.
  • Implement middleware or use passport to inject user session data or validate user using jwt.
    NOTE : While hashing password make sure to take note of crypto package's synchronous nature. Do explore crypto-async once to see if it's a good fit for usage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgssoc20GSSOC label for gscco20 taghardGSSOC label for beginner tag

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions