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.
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
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.