filmov
tv
NestJS Crash Course | Build Real-World REST API with TypeScript, PostgreSQL & Node.js

Показать описание
Welcome to this crash course where we will build Nest JS Rest API completely from scratch! I'm open for any comments! Thanks for view!
Join my telegram channel:
Assets for course (postmen, repo, presentaion...):
00:00 - About project and stack
00:30 - Demo of finished project
02:05 - Documentation
03:30 - Show assets and project demo
05:43 - Install Nest CLI
07:30 - Check NestJS project structure
08:14 - About src folder
09:54 - What is module
10:43 - How controller works
13:38 - What is service
17:30 - Decorator, controller, module and service
19:15 - Check project parts
20:00 - Create tag resource
25:26 - What command use to run
26:52 - Set up absolute path imports (TypeScript)
30:40 - Set up Database (PostgreSQL)
34:47 - Create new user for app (PostgreSQL)
37:37 - Install TypeORM
38:14 - Set up database configuration
40:54 - What is entity in TypeORM
43:40 - Create tag entity
45:09 - Why don’t use synchronize on production
45:47 - Apply and check tag entity changes in database
47:30 - Create new tags in database via terminal
49:50 - What is Repository in Nest
55:00 - Switch to Postmen
55:43 - Create user
01:00:55 - What is DTO
01:06:05 - Create and save user in database
01:11:55 - Hash password using bcrypt
01:15:09 - Migrations
01:17:30 - Create and use migrations
01:25:00 - Create user response format
01:31:10 - What is JWT (Json Web Token)
01:33:51 - Generate JWT token
01:38:20 - Move variables to env file
01:39:56 - Fix create users with same email
01:44:28 - Add validations in NestJS (UsePipes)
01:47:38 - Add login request
01:54:21 - Check and compare hashed password (bcrypt)
01:57:50 - Middleware
02:00:27 - Set up middleware
02:05:21 - Implementing auth method
02:16:44 - Create custom decorator
02:21:34 - What is guards in Nest js
02:24:25 - Create Auth Guard
02:28:15 - Add update user method
02:34:27 - Create resource for articles
02:39:48 - Create article entity
02:45:25 - How relations work in PostgreSQL
02:51:03 - Add create article method
03:07:30 - Generate slug
03:12:05 - Add get article by slug
03:12:32 - Set up environment in Postmen
03:20:16 - Delete article method
03:28:29 - How to fetch relations in TypeORM
03:31:34 - Update article method ( Controller, Service )
03:43:10 - Get articles and work with query parameters
03:45:55 - What is queryBuilder
03:48:15 - Work with query params (Query decorator)
03:58:00 - Liking articles
04:11:49 - Disliking articles
04:20:50 - Get articles by favourite
04:38:40 - Implement get all articles with filter (JavaScript issues)
04:51:31 - Follow user functionality
05:05:20 - Unfollow user method
05:13:16 - Create feed
05:28:21 - Test the app!
In this crash course, you’ll build a full-featured blog API using NestJS, TypeScript, TypeORM, and PostgreSQL from scratch. Learn to structure scalable backends, implement authentication, create reusable modules & services, and write clean, production-ready code. No prior backend experience needed — just JavaScript! Perfect for developers looking to level up with real-world NestJS skills.
This crash course is created as for beginners and for developers with experience too.
#nestjs #typeorm
Join my telegram channel:
Assets for course (postmen, repo, presentaion...):
00:00 - About project and stack
00:30 - Demo of finished project
02:05 - Documentation
03:30 - Show assets and project demo
05:43 - Install Nest CLI
07:30 - Check NestJS project structure
08:14 - About src folder
09:54 - What is module
10:43 - How controller works
13:38 - What is service
17:30 - Decorator, controller, module and service
19:15 - Check project parts
20:00 - Create tag resource
25:26 - What command use to run
26:52 - Set up absolute path imports (TypeScript)
30:40 - Set up Database (PostgreSQL)
34:47 - Create new user for app (PostgreSQL)
37:37 - Install TypeORM
38:14 - Set up database configuration
40:54 - What is entity in TypeORM
43:40 - Create tag entity
45:09 - Why don’t use synchronize on production
45:47 - Apply and check tag entity changes in database
47:30 - Create new tags in database via terminal
49:50 - What is Repository in Nest
55:00 - Switch to Postmen
55:43 - Create user
01:00:55 - What is DTO
01:06:05 - Create and save user in database
01:11:55 - Hash password using bcrypt
01:15:09 - Migrations
01:17:30 - Create and use migrations
01:25:00 - Create user response format
01:31:10 - What is JWT (Json Web Token)
01:33:51 - Generate JWT token
01:38:20 - Move variables to env file
01:39:56 - Fix create users with same email
01:44:28 - Add validations in NestJS (UsePipes)
01:47:38 - Add login request
01:54:21 - Check and compare hashed password (bcrypt)
01:57:50 - Middleware
02:00:27 - Set up middleware
02:05:21 - Implementing auth method
02:16:44 - Create custom decorator
02:21:34 - What is guards in Nest js
02:24:25 - Create Auth Guard
02:28:15 - Add update user method
02:34:27 - Create resource for articles
02:39:48 - Create article entity
02:45:25 - How relations work in PostgreSQL
02:51:03 - Add create article method
03:07:30 - Generate slug
03:12:05 - Add get article by slug
03:12:32 - Set up environment in Postmen
03:20:16 - Delete article method
03:28:29 - How to fetch relations in TypeORM
03:31:34 - Update article method ( Controller, Service )
03:43:10 - Get articles and work with query parameters
03:45:55 - What is queryBuilder
03:48:15 - Work with query params (Query decorator)
03:58:00 - Liking articles
04:11:49 - Disliking articles
04:20:50 - Get articles by favourite
04:38:40 - Implement get all articles with filter (JavaScript issues)
04:51:31 - Follow user functionality
05:05:20 - Unfollow user method
05:13:16 - Create feed
05:28:21 - Test the app!
In this crash course, you’ll build a full-featured blog API using NestJS, TypeScript, TypeORM, and PostgreSQL from scratch. Learn to structure scalable backends, implement authentication, create reusable modules & services, and write clean, production-ready code. No prior backend experience needed — just JavaScript! Perfect for developers looking to level up with real-world NestJS skills.
This crash course is created as for beginners and for developers with experience too.
#nestjs #typeorm