Sling Academy
Home/Node.js/Nest.js Tutorials: From Basics to Advanced

Nest.js Tutorials: From Basics to Advanced

Nest.js is a progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript. It uses modern JavaScript, OOP, FP, and FRP elements, and supports Express and Fastify.

This comprehensive series of tutorials will help you learn Nest.js from the ground up.

1 NestJS ‘Hello World’ example: A step by step tutorial

2 Should You Use NestJS to Build Backend APIs?

3 Core NestJS Concepts You Need to Know

4 How to create a NestJS app in the current directory

5 Can you use vanilla JavaScript in NestJS

6 How to Run a NestJS App on a Custom Port

7 How to Integrate MongoDB with NestJS

8 How to Connect to a MySQL Database in NestJS

9 How to Connect to PostgreSQL in NestJS

10 How to Handle Authentication and Authorization in NestJS

11 How to Use WebSockets in NestJS for Real-Time Communication

12 How to Upgrade an Existing NestJS Project

13 How to Perform Unit Testing in NestJS Applications

14 How to Implement Caching in NestJS

15 How to Schedule Tasks in NestJS

16 How to Validate Data in NestJS

17 How to Structure Your First NestJS Application

18 How to Use GraphQL with NestJS

19 How to Use Dependency Injection in NestJS

20 NestJS: Configuration and Environment Variables

21 NestJS & MongoDB: A Simple CRUD Example

22 NestJS & PostgreSQL: A Simple CRUD Example

23 NestJS & SQLite: A Basic CRUD Example

24 How to get client IP address in NestJS

25 How to Deploy a NestJS Application to Heroku

26 How to Deploy a NestJS Application to Digital Ocean

27 How to set up NestJS with Docker Compose

28 How to Implement Microservices with NestJS

29 How to Use Interceptors and Guards in NestJS

30 How to Handle File Uploads in NestJS

31 How to Create Custom Decorators in NestJS

32 How to Implement Internationalization (i18n) in NestJS

33 How to Monitor and Log Errors in NestJS

34 How to Serve Static Files in NestJS

35 Using Cookies and Sessions in NestJS

36 NestJS & TypeORM Import Error: ‘Cannot use import statement outside a module’

37 NestJS: How to exclude entity field from returned by controller

38 NestJS: Using Class Validator to validate array of objects

39 Using ValidationPipe() in NestJS

40 How to Inject NestJS Service from another Module

41 NestJS: How to Validate Request Body with Joi

42 NestJS: How to Validate Nested Objects

43 NestJS: How to Send Custom Headers with Response

44 NestJS: How to Set Custom Status Code for Response

45 How to Handle CORS in NestJS

46 NestJS Circular Dependency Detected Error: How to Fix It

47 NestJS Invalid Module Error: How to Fix It

48 NestJS Unknown Exported Member Error: How to Fix It

49 NestJS Unhandle Promise Rejection Warning – Solutions

50 How to Use Exception Filters in NestJS for Error Handling

51 3 Ways to Handle Errors in NestJS

52 NestJS UnhandledPromiseRejectionWarning: How to Solve It

53 How to Compress Response Payload in NestJS

54 How to Manage Events in NestJS

55 3 Ways to Send Emails in NestJS

56 How to stream large files in NestJS

57 How to run a queue of tasks in NestJS

58 How to Push Server-Sent Events (SSE) in NestJS

59 How to Hash Passwords in NestJS

60 How to Implement Rate Limiting in NestJS

61 NestJS: Connecting to Different Databases Based on Routes

62 CSRF Protection in NestJS: How to Implement It

63 Mastering NestJS CLI: A Practical Guide

64 How to Use Passport.js in NestJS

65 How to Use Sequelize ORM in NestJS

66 How to Use Async Local Storage in NestJS

67 How to integrate Paypal payment in NestJS

68 How to Write Unit Tests in NestJS with Jest and Supertest

69 How to Use Multiple Databases in NestJS

70 How to Log Requests in NestJS

71 How to Extract and Parse Headers in NestJS

72 How to Return Raw HTML in NestJS

73 Fixing NestJS Error: Cannot Find Module When Running Tests

74 How to Use Global NestJS Modules in Decorator

75 NestJS & Mongoose Validation Error: Comprehensive Fix Guide

76 How to Programmatically Shutdown a NestJS Application

77 How to Automatically Generate Swagger Docs in NestJS

78 How to Automatically Send Emails in NestJS

79 NestJS: Validate request body based on one property

80 Solving NestJS Import Modules Error: Cannot Find Module

81 NestJS Error: Can’t Resolve Dependencies of the JWT_MODULE_OPTIONS

82 How to Redirect to Another URL in NestJS

83 How to Bulk Redirect URLs in NestJS

84 NestJS: How to Delete a File after Response is Sent to Client

85 Solving NestJS TypeError: Converting circular structure to JSON

86 Fixing NestJS Error in Production: Cannot Find Module ‘@nestjs/microservices’

87 NestJS: How to log stack trace of an error

88 Fixing ‘done’ Callback Issue in NestJS Testing

89 Nest CLI Error: ‘nest’ Command Not Found in Node.js

90 NestJS: How to inject service to validator constraint class

91 How to mock a service in NestJS unit tests

92 NestJS: How to Use ConfigService with TypeOrmModule

93 How to handle form-data in NestJS

94 How to Dockerize a NestJS Application for Production

95 NestJS Issue: Injected service is undefined in the constructor – A Fix Guide

96 NestJS InjectRepository Error: Cannot Read Property ‘prototype’ of Undefined

97 NestJS InjectRepository() Guide with Examples

98 NestJS & TypeORM Error: Cannot Connect to MySQL Database

99 Fixing NestJS & Supertest Error: request.cookies is undefined

100 NestJS Issue Fix: How to Inject a Service into a Subscriber

101 Fixing NestJS Error: Unexpected Value from WebSocketServer Decorator

102 NestJS Issue: Middleware Not Working – Solutions Explained

103 How to add Stripe payment to NestJS

104 NestJS: Using Faker.js to populate database (for testing)

105 NestJS: Generate N random users using Faker.js

106 NestJS File Upload Error – Multipart: Unexpected end of form

107 NestJS: How to create cursor-based pagination (2 examples)