Hi! I am Sharad,
I am MEAN stack developer having 1 year of experience. I want to learn more about MEAN stack and improve my coding skill and knowledge about best practices.
So, I am building this Instagram clone using MEAN stack where I am using typescript for writing APIs in the node.
So my question is to experts regarding user authentication and session handling, which will be best practice to handle user auth and user session?
I read about passportjs is it right for user auth or any other you will suggest? also, I read about JWT tokens and express session, which will be best to use regarding security concern.
experts, please guide me on this.