Back-end Engineering
51 learners
Securing and Testing your MVC NestJS App
In this course, we will learn how to secure a NestJS application using bcrypt and session-based authentication. Additionally, we will implement comprehensive testing, including unit tests with mocks and component tests without mocks, while using the MVC pattern throughout.
NestJS
NodeJS
TypeScript
4 lessons
19 practices
1 hour
API Integration, Design, & Development
Lessons and practices
Run User Registration with Hashed Passwords
Improving User Login Feedback
Fix User Password Storage
Enhance Registration Security with Password Validation
Implement Secure User Registration
Tracking Visits with Session in NestJS
Session Management Timeout
Running a Basic Session-Based Authentication Setup
Resetting Session Data
Session-Based Authentication using PassportJS
Adding Logout Functionality
Ensure Unique Usernames in Registration
Fix Session Persistence Issue
Create an Admin Authentication Guard
Run Unit Tests for AppController
Adding Tests for New Method
Run Unit Tests with Mocks
Update User Details with Tests
Implement and Test a New UserService Method
Meet Cosmo:
The smartest AI guide in the universe
Our built-in AI guide and tutor, Cosmo, prompts you with challenges that are built just for you and unblocks you when you get stuck.

Join the 1M+ learners on CodeSignal
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal