강의

멘토링

로드맵

Inflearn brand logo image
BEST
Programming

/

Back-end

[Code Factory] [Beginner] NestJS REST API Backend Complete Conquest Master Class - NestJS Core

JavaScript, TypeScript Next is backend development! You will be able to develop REST API backends using NestJS, develop and deploy Socket IO.

(5.0) 107 reviews

1,672 learners

  • codefactory
백엔드
개발자
nestjs
restapi
NestJS
REST API
backend
JavaScript
TypeScript

Reviews from Early Learners

What you will learn!

  • NestJS

  • TypeORM

  • Postgresql

  • Docker

  • Docker Compose

  • REST API

Anyone can do it, even if it's their first time with backend!
Learn server development with trendy NestJS.

NestJS Framework Master Class: Part 1

We focus on learning all the core features used in the lifecycle of NestJS, a Node.js-based backend server framework.

If you have learned JavaScript or TypeScript
Now it's backend development!

  • Learn how to properly use the detailed features of NestJS and various annotations .
  • We provide detailed lectures that are faithful to the documentation.

If you only know Javascript and Typescript, this course will teach you how to build a REST API with NestJS and deploy it to production in various ways on AWS using Socket IO.

Anyone who wants to learn Node.js-based backend server technology

For those looking for follow-up lectures after learning JS/TS

Anyone who wants to learn trendy and popular backend technologies

This course is not just a superficial beginner's course on how to get started with NestJS. It covers all the features provided by NestJS and gradually increases the difficulty level, so you can learn through examples which features to use in which situations .

If you are curious about the basics of JS/TS


What you learn
Check it out.

💡 We have created a detailed curriculum that gradually increases the difficulty so that even students who are learning backend and REST API design for the first time can follow along. Learn backend design by designing a backend that imitates Instagram, one of the most popular SNS.

You will be able to build and deploy a REST API backend using NestJS.

You can design various databases using TypeORM.

Let's develop and implement a real-time chat service using Socket.IO.

You can set up a development environment and a production environment using Docker.

Detailed Curriculum

1. Introduction to the lecture and various theories

Acquire the basic knowledge required to learn the NestJS course. It is based on keynotes and contains not only information about NestJS, but also essential knowledge before starting practical work, such as a backend engineer guide, a simple overview and technical explanation of Node.js, HTTP, and an introduction to NestJS.

2. Preferences

We'll go through the setup on macOS and Windows to learn NestJS.

3. Server configuration using Node.js and Express

We will configure a server using HTTP, a package provided by default in Node.js, and briefly configure a server using Express, a popular Node library used internally by NestJS, and examine its pros and cons.

4. Organize the project concept

Explains the Instagram SNS concept that will be used in the lecture.

5. Controller

Learn about controllers, one of the front-line elements that make up NestJS's REST API.

6. Query and Parameters

Among the various ways to receive data from the controller, we will learn about using Query and Parameter.

7. Service

Let's implement a service that handles the logic to be executed in the controller.

8. Module, Provider and Inversion of Control (IoC)

Learn about modules, which are responsible for grouping together multiple components that make up an API, and how Provider Dependency Injection is performed through an IoC container.

9. SQL and Docker

Learn basic SQL knowledge to connect databases in Nest. Additionally, learn briefly how to use Docker to run Postgresql.

10. Connecting to a database with TypeORM

Learn how to manage data by linking with Postgresql using TypeORM so that data previously managed only in memory can be managed in the long term.

11. TypeORM Theory (Function Summary)

This is a theoretical lecture that provides an overall overview of TypeORM's features. You will learn about commonly used functions and parameters.

12. Table Relation

Learn the theory and implementation using TypeORM about One to One Relationship, One to Many Relationship, Many to One Relationship, and Many to Many Relationship.

13. Using the Debugger

Learn how to set up the NestJS debugger in VSCode and use it to debug.

14. Authentication

Learn about authentication procedures using tokens and how to build a login/membership system.

15. Pipe

Explore the many uses of Pipe to validate and transform values.

16. Implementing BaseModel using inheritance

Learn how to avoid creating repeated properties and columns when implementing tables with TypeORM.

17. PgAdmin

Learn how to query Postgresql database tables using PgAdmin.

18. Guard

Learn about Guard, which is responsible for protecting endpoints and controllers.

19. Custom Decorator

Let's create a Decorator ourselves and explore what kind of logic can be implemented using the Decorator.

20. Deepening Postman Features

In addition to the ability to simply send requests, you will learn about features that will make API testing more efficient, such as how to use environment variables, how to set up the Environment, how to set up Tests, and how to load tokens.

21. Class Validator

Learn about Class Validator, a feature that allows you to validate class properties using Decorator.

22. Class Transformer

Learn about Class Transformer, a feature that allows you to transform class properties using Decorator.

23. Pagination Basics - Cursor Pagination

Learn the most basic way to implement cursor-based pagination.

24. Pagination Basics - Page Pagination

Learn the most basic way to implement page-based pagination.

25. Pagination Deepening - Generalizing

Learn how to generalize logic so that you can easily implement pagination across multiple endpoints.

26. Using the Config Module

Learn how to use the Config module, which allows you to inject environment variables into the NestJS framework.

27. File Upload - Classic Method

Learn about the most classic file upload method.

28. Static File Serving

Learn how to set up NestJS to serve static files externally. Continuing from the previous section, learn how to view uploaded files via links.

29. File Upload - Pre-Upload Method

Learn how to implement file uploads in a relatively faster way than the classic method by first uploading the file and then providing only the file path, rather than bundling all data at once with Form Data.

30. Transaction

Learn how to implement the transactional functionality of a database, which is an All or Nothing feature, using TypeORM.

31. Interceptor

Learn how to use interceptors in NestJS and simple RxJS usage. Learn how to implement transactions as interceptors with a nice example.

32. Exception Filter

Learn how to use Exception Filter, a representative method of exception handling in NestJS.

33. Middleware

Learn about the middleware that is applied first to incoming requests in NestJS.

34. Websocket Socket.IO - Basics

Learn the basics of using Socket.IO.

35. Websocket Socket.IO - Advanced

Let's learn about various decorators related to Socket IO provided by NestJS.

36. Module Nesting

Let's explore the need for creating submodules using a Post-Comment example.

37. RBAC - Role Based Access Control

Learn how to implement RBAC-based APIs, which are especially important when building server functions related to admin pages.

38. Authorization

Learn how to build authorization functionality in NestJS style.

39. Following System

Let's implement a following system.

40. Working with Follow Count and Comment Count

Let's implement logic related to various Count functions.


More than 9,000 cumulative students
This is the knowledge sharing code factory!

I have been active on Inflearn and YouTube since the start of the Flutter lecture in 2022. I achieved the Inflearn 2022 Rookie of the Year with only the Flutter lecture, which is a relatively small ecosystem, and now I am preparing various lectures to expand the lecture pipeline to my main technology areas, Javascript stack, DevOps, and cloud.

(People met by Inflearn, Code Factory Interview >>)

If you find it difficult to judge my teaching ability from Javascript lectures, check out the Flutter lecture reviews on Code Factory in Inflearn! Code Factory will always develop and produce good lectures.

★★★★★

I am a 17-year developer. I recommend this course to those who are new to Flutter, and it is also very useful for practical projects. There is no better course than this. This is the real deal. It is a course that is so neatly explained that I feel like I am paying a lot for it, and it is a course that has helped me a lot.

★★★★★

This is a lecture that is really close to perfection. I bought almost all the books to study Flutter, and I also looked at a lot of online clone coding. I also listened to lectures on other platforms that explained Flutter step by step. But this is the most useful. It is the most practical and cost-effective. I sincerely advise you to learn this first and fill in the gaps.

★★★★★

Among all the lectures, I think Code Factory's lecture is the best of the best. Most of the other lectures I've seen tend to neglect or skip over certain parts, so as a learner, I often miss the connection and feel regretful, but Code Factory's lecture is not like that. Once you listen to it, you won't regret it. Rather than regretting it, I think you'll be satisfied and become a true fan like me.

★★★★★

I think this is one of the best lectures on Flutter among all platforms, YouTube, and offline lectures worldwide. I am so glad that I can take this lecture because Korean is my native language. I think there is no other lecture that is as good as this one, where practical and technical parts are balanced, and where you can properly understand the concepts one by one and go through the steps.

Special additional benefits for students

1) I regularly do live broadcasts on YouTube . I receive all types of development concerns and questions, and I try to allocate time to answer immediately if you have difficulties while giving lectures. Don't be stressed out because of an instructor who can't communicate anymore!

2) After purchasing the course, you can enter the paid Discord community by authenticating your Inflearn email. Also, please actively utilize the Code Factory official Kakao channel, which is very active!

3) No matter what programming technique you learn, setting up the environment is one of the elements that students find very difficult. Of course, trying to solve it yourself is a very important element to become a good developer, but if you absolutely cannot do it, don't delay and use me. Come to the Kakao channel, tell me about the lecture, and then apply remotely. After coordinating the time, I will personally take care of all the environment settings! Don't give up before you even start!

Go to Code Factory integrated link


Q&A 💬

Q. I learned JavaScript/TypeScript, but I don't know what to learn next.

If you are familiar with Javascript and Typescript, you are ready to move on to libraries or frameworks based on JS/TS. NestJS is one of the most popular frameworks in the JS/TS world. Learning NestJS will broaden your career options and help you choose the next technology to learn. If you are not sure what to learn, start studying with Code Factory's NestJS course!

Q. I know JavaScript/TypeScript, but I want to learn server technology.

NestJS is the most popular server framework in the JS/TS world. Many people start their servers with Express, but it is better for beginners to learn the well-structured NestJS framework first. Furthermore, NestJS uses Express internally, so you can learn how to use Express as well.

Q. I want to learn server, but I don't know which framework to choose.

Nowadays, you can learn various server frameworks. There are many other frameworks besides NestJS, but among them, NestJS is the most loved framework in the world and is one of the most used frameworks especially in MSA. If you want to learn a framework that is future-oriented and at the same time loved right now, choose NestJS!

💾 Guide to the practice environment

Before taking the course, please check the OS and PC specifications you are currently using.

Windows

  • WSL version 1.1.3.0+
  • Windows 10/11 64bit Home or Pro 21H2 version or later
  • 4GB or more RAM
  • Systems capable of Hardware Virtualization

macOS Intel

  • macOS 11 or later
  • 4GB or more RAM
  • Systems without VirtualBox installed

macOS ARM64

  • No requirements as of September 18, 2023 (compatible with all latest M series MacBooks)

📢 Learning materials, player knowledge guide

Recommended for
these people

Who is this course right for?

  • Anyone who wants to learn how to develop a REST API backend

  • Someone who has just finished a Javascript and Typescript course

  • People who want to learn Node.JS

Need to know before starting?

  • Javascript

  • Typescript

Hello
This is

28,014

Learners

1,481

Reviews

1,891

Answers

5.0

Rating

6

Courses

안녕하세요 프로그래밍 강사 코드팩토리입니다!

코드팩토리 통합 링크
https://links.codefactory.ai

 

🏭 코드팩토리 유튜브 바로가기
🔥 코드팩토리 Discord 바로가기
💬 코드팩토리 카카오 오픈톡 바로가기

 

💼 주식회사 코드팩토리 대표

 

🏆 2023년 인프런 베스트셀러 수상

🏆 <<Must Have 코드팩토리의 플러터 프로그래밍>> 서적 2023 상반기 교보문고 컴퓨터/IT 부문 베스트셀러 23위

🏆 AWS Certified Developer Associate

🏆 AWS Certified Solutions Architect

Curriculum

All

214 lectures ∙ (24hr 36min)

Published: 
Last updated: 

Reviews

All

107 reviews

5.0

107 reviews

  • chihwani님의 프로필 이미지
    chihwani

    Reviews 2

    Average Rating 5.0

    5

    53% enrolled

    모든 강의 시작은 이분꺼 꼭 보세요. 플러터, 타스, 네스트 등 다른 강의 결재하셔서 돈 버리지 마시고 그냥 이거 하나로 끝내세요. 그 만큼 강의 퀄리티가 높고 강의 질의응답도 정말 잘됩니다. 아쉬운건 강의가 몇개 없다는 것. 그만큼 하나씩 하나씩 강의나올때 마다 퀄리티가 좋습니다. 밑에 분 처럼 믿고 보는 코드팩토리. 몇년 지나면 아마 인프런에서 독립하지 않을까 예언을 해봅니다.

    • 코드팩토리
      Instructor

      감사합니다!

  • Wevement님의 프로필 이미지
    Wevement

    Reviews 1

    Average Rating 5.0

    5

    84% enrolled

    어이가 없습니다. 여기저기서 조금조금 배워서 알게 된 백엔드 관련 지식들이 NestJS 강의라는 이름 아래에 전부 정리되어 있습니다. 스프링이던 장고던 심지어 백엔드가 진로가 아닌분이라도 해당 강의를 수강하길 적극 추천드립니다. 강의 자료 퀄리티만 봐도 얼마나 많은 걸 체계적으로 알려주기 위해 노력했는 지가 보일 정도입니다. 아직 강의를 많이 보진 못했지만 조만간 완강할 듯 합니다. 좋은 강의 감사합니다!

  • 52님의 프로필 이미지
    52

    Reviews 2

    Average Rating 5.0

    5

    7% enrolled

    선생님 저 수강평 처음써봐요. 그냥 사랑합니다. part2 빨리 내놓아주세요

  • 김종식님의 프로필 이미지
    김종식

    Reviews 10

    Average Rating 4.4

    5

    100% enrolled

    많은 백엔드 강의를 보고 왔지만 이렇게 까지 깔끔한 강의는 정말 처음이네요. 중간에 정보를 제공해주는 챕터들이 있는데 , 그 내용들도 초보자가 알아 듣기 쉽게 설명을 하고 넘어가는 부분이 인상적이었습니다. 특히나 OOP 라는 개념을 배웠지만 어떻게 이것을 잘 활용 할 수 있을까에 대한 궁금증이 많았는데, 이번 강의에서 추상화하는 단계를 통해 여러 가지 형식으로 변환이 가능하다는 코드를 보니 더욱 재밌었습니다. 타입스크립트에서 제공하는 제네릭은 단순히 타입을 지정하는 것이면서도 유연하게 타입을 선택할 수 있는데, 이것을 페이지네이션 일반화 챕터에서 보면서 경험 해볼 수 있어서 너무 좋았습니다. 그리고 많이 놀랍던 것은 이렇게 코드를 리팩토링을 하면서도 공부하는 사람이 헷갈리지 않게 작성할 수 있다는 게 신기 하네요. 회사에 백엔드 선임이 없는 상황에 JS 로 스택을 변경하고 Nest를 배우는데 코딩팩토리님이 정성껏 만들어주신 강의가 제 커리어에도 많은 도움이 되고 앞으로도 좋은 기반을 만들어 주신듯 합니다. 더 좋은 강의 부탁드리며 다음 강의 부터는 생각하지도 말고 바로 구매 들어가겠습니다 ㅎ + 초급강의라고는 하지만 초급강의라기엔 깊이가 있는 내용들이 많습니다. 재상용성을 높이기 위해 추상화를 많이 하는데 처음 백엔드 공부하시는 분들은 후반 강의들은 좀 어렵게 느껴 질 수 있겠습니다.

  • dhj100님의 프로필 이미지
    dhj100

    Reviews 19

    Average Rating 5.0

    5

    45% enrolled

    믿고 듣는 코드팩토리님 강의! 현재 nestjs를 사용해서 개발 중인데, 좀 더 깊게 공부해보고자 코드팩토리님 강의 나오자마자 구매하고 듣는중입니다. 잘 듣겠습니다. 나중에 나올 Part 2도 기대중입니다.

Limited time deal ends in 1 days

$74,250.00

25%

$77.00

codefactory's other courses

Check out other courses by the instructor!

Similar courses

Explore other courses in the same field!