Thursday, 25 June 2020
Persistent Login Session using Angular and Passport in Express
Chapter-59: Persistent Login Session using Angular and Passport in Express. Hello viewers and welcome back to Mastering MEAN.js course. In our previous video we did update and delete cart items. In today's video we will fix a bug that we have so far in our project. In today's video we will retain the user once he or she is logged in or registered to product mart. Therefore, once a user is logged in and he or she refreshes the page it should be logged in only. So in our today session we have below requirements to meet. Users should be able to login to our application only If they have already registered and entered correct credentials. Once a user is logged in and refreshes the page then the user should remain logged in and the system should identify them. Next we will also make sure once a user is logged out then it should be navigated to the login page. We also have a requirement to handle any http errors happening in Angular and show the error to the user. Finally we want to show http errors in some toaster format and he requirement is to use angular material snacks module. With that being said, let's see after finishing this session what you are going to learn. First thing you will learn is How in angular you can create an HTTP interceptor to handle global angular http errors. Next you will learn how we can use angular material snacks modules to popup and show messages and auto close them. Next on the server side you will learn how passport local is used in express js as middleware for first time user authentication. Next on the server side you will learn how passport jwt can be used in express as middleware for authentication of re-visitors etc. In this video I will show you the architecture, explain the requirement and show you what we will code. If you want to get the complete coding video, source code, step by step textual guide with source code that you can copy paste to your app and the slides then please subscribe to ELITE or PRO plan in full stack master. Here is the link to subscribe https://ift.tt/3aOsy8V Currently I have 2 paid courses and many free courses. Below are Paid Courses: 1- Mastering MEAN.js: https://ift.tt/2N9aqfF 2- Event Driven JavaScript Application & Cloud Deployment https://ift.tt/3deCM2A There are many free courses also check them out: 3- https://ift.tt/3ddgfDq I am making many new courses that will help you in your software engineering career. Future Course List: 1- Mono Repo: The complete course 2- RxJS Operators: The Beyond Basic Course 3- NgRX: The complete course with Tests 4- Build iOS & android App: Using React Native So don't wait and join me at full stack master and I am super excited to teach you at full stack master see you soon! Why should I subscribe to Full Stack Master? Hi! My name is Rupesh Tiwari. I am a software architect and pluralsight author. My life's mission is to help students, beginners and professionals to increase their programming & system design skills. By just not making them a coding expert rather than teaching them the real Software Engineering Principles. Hence they get their dream job, make more money and ultimately they live a better life. I'm a full stack developer/architect with 1+ decades of experience. I do software analysis, modeling and coding in my day to day activity with big IT industries. I teach people how to design software and code and make them full stack developers. I've created 1 course in pluralsight on Unit Testing RxJS using Marble Diagrams. https://ift.tt/3cvkv1y. Also authored many courses on YouTube https://youtube.com/fullstackmaster. Now I am focusing more on creating premium quality JavaScript courses on Full Stack Master. My goal is to give all of the courses required to a developer/beginner to become a complete software engineer. I create courses on software architecture style, programming on MEAN stack and much more on modeling and software architecture styles. Show your support and subscribe to full stack master visit now https://ift.tt/3aOsy8V Much Love, - Rupesh Tiwari🙏 Website: https://ift.tt/2LbdDwo FullStack Master: https://ift.tt/2yZHFyu FullStack Master Subscribe/Pricing: https://ift.tt/3aOsy8V Email: fullstackmaster1@gmail.com Facebook/Chat: https://ift.tt/34HNI67 Instagram:https://ift.tt/2SaGFwU Twitter: http://twitter.com/rupeshtiwari_co Slack: https://ift.tt/2LM9VHx Medium: https://ift.tt/3e6MXrW LinkedIn:https://ift.tt/2S7w4CP YouTube:https://www.youtube.com/fullstackmaster Pinterest:https://ift.tt/2LbZgYS Stackoverflow: https://ift.tt/2RjTJR6 #angular #express #nodejs| https://youtu.be/r3P6UoyhLcA| Full Stack Master
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment