Setting up AuthModule, User Entity and User Repository
Feature: Signing Up
Validation: Credentials and Password Strength
Error Handling: Username Conflicts
Securely Storing Passwords
Password Hashing With Bcrypt
Feature: Signing In
Setting up the JWT Module and Passport.js
Signing a JWT Token on Sign In (Authentication)
Implementing JWT Validation
Custom @GetUser Decorator
Guarding the Tasks Routes
Tasks and Users - Database Relation
Make Users Own Tasks
Serialize User Data
Restricting Getting All Tasks
BUG FIX: Getting All Tasks
Restricting Getting a Task By ID
Restricting Status Updates
Restricting Deleting A Task
THANK YOU! (+ Promotion)
Implementing Logs in our NestJS app
Introduction to Configuration
Windows: Environment Variables
Quick Intro to Environment Variables
Setting up ConfigModule
Config Schema Validation
JWT Secret Configuration
Having basic knowledge of TypeScript is recommended, but not required
NestJS is a Node.js back-end development framework built upon Express, leveraging the power of TypeScript.
Even considering the amount of superb libraries, helpers and tools that exist for server-side Node.js, none of them effectively solve the main problem - the architecture of an application.
NestJS provides an out-of-the-box application architecture which allows developers and teams to create highly testable, scalable, loosely coupled and easily maintainable applications.
Recently, the NestJS framework is gaining extreme popularity due to its incredible features;
Simple to use, easy to learn and easy to master
Powerful Command Line Interface (CLI) tool that boosts productivity and ease of development
Detailed, well-maintained documentation
Active codebase development and maintenance
Open-source (MIT license)
Supports dozens nest-specific modules that help you easily integrate with common technologies and concepts such as TypeORM, Mongoose, GraphQL, Logging, Validation, Caching, Websockets and much more
Easy of unit-testing applications
Made for Monoliths and Micro-services (entire section in the documentation regarding the Microservice type of a NestJS application, as well as techniques and recipes).
In this course I am going to guide you through the process of planning, developing and deploying a fully-featured back-end application, based on my experience developing and maintaining systems that support dozens of millions of concurrent users at scale.
Who this course is for:
Any developers willing to apply TypeScript on the back-end
Developers eager to learn how to develop performant, secure and production-ready REST APIs following best practices
Developers who want to learn how to deploy their application to the cloud (Amazon Web Services)
Developers who want to follow building a practical, real-world application from zero to production
Rating: 5.0 out of 5a year ago
I learned pretty much everything I needed to know in order to get up and running with nestjs really quickly. The wide coverage of testing was especially useful. Roles and migrations would have been nice.