Node.js
-
NestNode.js/Nest 2023. 8. 19. 16:18
Nest의 기본 개념에 대해 정리하였습니다. Nest.js는 Express위에서 동작하는 node.js 프레임워크 입니다. TypeScript를 사용합니다.(그러나 개발자가 바닐라 자바스크립트로 개발 가능) 기존 Node.js + Express의 장점이자 단점인 자율성(API url이나 파일구조 등)을 보완한 프레임워크로, 구조 및 규칙이 정해져있습니다. 하지만 그 구조 및 규칙을 따르기만 한다면, 큰 규모의 백엔드를 쉽게 만들 수 있습니다. OOP(Object Oriented Programming), FP(Functional Programming), FRP(Functional Reactive Programming)을 특징으로 가지고 있습니다. < Project Setup ..
-
Router ParametersNode.js/Express 2021. 11. 18. 19:54
이 글은 Express의 Router Parameters에 관한 심화 내용을 정리하였습니다. When building interfaces with Express, we will run into the pattern of expecting certain information in a requested URL and using that information to identify the data that is being requested. To give an example : app.get('/sorcerers/:sorcererName', (req, res, next) => { const sorcerer = Sorcerers[req.params.sorcererName]; res...
-
MiddlewareNode.js/Express 2021. 11. 18. 14:47
이 글은 Express의 Middleware에 관한 개념 및 사용법을 정리하기 위해 작성하였습니다. Writing code is a creative process. Programmers will be quick to differ in opinion on whether the solution to a problem should be implemented in one way or another. The problems programmers face most frequently will have several different solutions, all correct but all written differently with various factors considered. Be..
-
Express RoutesNode.js/Express 2021. 11. 14. 00:00
이 글은 Express를 이용해 Basic CRUD API를 구현하기 위해 필요한 개념 및 문법을 정리하기 위해 작성하였습니다. Express is a powerful but flexible Javascript framework for creating web servers and APIs. It can be used for everything from simple static file servers to JSON APIs to full production servers. You will be learning all the necessary skills to implement an API allowing clients to Create, Read, Update, and Del..
-
Node.jsNode.js 2021. 11. 9. 23:28
이 글은 Node.js 사용을 위해 필요한 기본 지식들을 정리하기 위해 작성하였습니다. Node.js is a JavaScript runtime, or an environment that allows us to execute JavaScript code outside of the browser. Though Node was created with the goal of building web servers and web applications in JavaScript, it can also be used for creating command-line applications or desktop applications. Reference : Learnyounode https://..