Nest.js

효딩딩·2022년 10월 24일
0

Nest.js 란?

  • Nest (NestJS)는 효율적이고 확장 가능한 Node.js 서버 측 애플리케이션을 구축하기위한 프레임워크
  • 프로그레시브 JavaScript를 사용하며 TypeScript를 기반으로 구축되어 있음
  • 기본적으로 Nest는 Express (기본값)와 같은 강력한 HTTP Server 프레임워크를 사용

Nest.js 의 특징은?

1. 효율성

  • NestJS를 이용하면 확장 가능하며 유지 관리가 쉬운 서버 애플리케이션을 쉽게 개발할 수 있음.
  • OOP (객체 지향 프로그래밍), FP (함수형 프로그래밍), FRP (함수 반응성 프로그래밍) 요소를 결합함.
  • TypeScript 기반의 Framwork 이고 DI, IoC, Module 을 통해 확장이 용이햠.
  • Functional Programming(FP) : 어떤 문제를 해결하는데 있어서 이미 만들어진 함수를 활용하는 방식을 말함.
  • Functional Reactive Programming(FRP): 비동기적인 데이터 처리를 간단한 함수를 통해 수행하는 프로그래밍을 말함.

2. 안정성

  • Nestjs는 typescript를 적극적으로 도입함으로서 서버 애플리케이션 개발 시 발생할 수 있는 오류들을 사전에 방지할 수 있도록 함.
  • Modlule로 나눠져있기 때문에 Unit Test를 쉽게 작성이 가능함.

3. 확장성

  • Class 를 캡슐화 하고 Import가 가능하게 구현함.

출처:
https://nestjs.com/
https://choseongho93.tistory.com/318
https://www.nestybirds.com/nestjs/#nestjs-%EC%86%8C%EA%B0%9C


(영문 해석)

What is Nest.js?

  • Nest.JS is a framework that helps build Node.JS server-side applications.

  • The Nest framework is built using TypeScript which allows developers to build highly scalable and testable applications.

  • Built on top of Express.JS, Nest.JS offers multiple functionalities and out-of-the-box APIs.

  • Developers can leverage the features of Nest.JS to build applications with less code.

  • Nest.JS depends heavily on Angular architecture. A bunch of files is nested under a structured environment.

  • Nest.JS divides the files into multiple modules helping developers focus on a single feature at a time.

How is Nest.JS different from other frameworks?

  • Nest.JS offers a good structure and CLI tools for beginners to get started
  • With the help of a single command, developers can scaffold a whole new feature.
  • Nest.JS provides the module, controller, service and a testing pile to get started. Also, multiple templates and boilerplates are available for different projects.
  • As the Nest framework is entirely in TypeScript, developers with no experience in backend development but experience in front-end development can easily use Nest.JS.

Source:
https://nestjs.com/
https://devcycle.com/blog/why-use-nest-js
https://www.turing.com/blog/what-is-nest-js-why-use-it-in-2022/

profile
어제보다 나은 나의 코딩지식

0개의 댓글