예를 들어 웹의 경우는 별도의 설치 없이 브라우저만 있으면 접속이 가능하기 때문에 접근성이 매우 뛰어납니다. 그리고 네이티브 앱의 경우는 일반적인 웹보다 빠르고 더 뛰어난 사용자 경험을 제공합니다.
Express.js와 같은 HTTP 서버 프레임워크를 사용하며 선택적으로 Fastify를 사용하도록 구성할 수 있습니다.
Keyword : 느슨한 결합, 유지관리가 쉬운, 즉시 사용가능한, Angular의 아키텍처를 참고한
# Nest.js CLI 설치
npm i -g @nestjs/cli
# 권한 에러 발생 시
sudo npm i -g @nestjs/cli
만약 Permission denied 문제가 있다면 sudo
명령어를 앞에 붙이고 설치합니다.
설치가 완료되었다면 nest
CLI를 사용해 봅니다.
nest
# 결과
Usage: nest <command> [options]
Options:
-v, --version Output the current version.
-h, --help Output usage information.
Commands:
new|n [options] [name] Generate Nest application.
build [options] [app] Build Nest application.
start [options] [app] Run Nest application.
info|i Display Nest project details.
add [options] <library> Adds support for an external library to your project.
generate|g <schematic> [name] [path]