전체 글
-
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 Routers카테고리 없음 2021. 11. 14. 23:14
이 글은 Express의 Router 메소드를 이용하는 방법을 정리하기 위해 작성하였습니다. If you keep writing code in one file, the file will be getting quite long and hard to read. To clean up our code and separate our application into a file, Use Routers. Routers are mini versions of Express applications — they provide functionality for handling route matching, requests, and sending responses, but they do not star..
-
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://..
-
API 및 REST API카테고리 없음 2021. 11. 5. 16:06
이 글은 API 및 REST API에 대한 개념을 공부하기 위해 작성하였습니다. : API(Application Programming Interface애플리케이션 프로그래밍 인터페이스, 응용 프로그램 프로그래밍 인터페이스)는응용 프로그램에서 사용할 수 있도록,운영 체제나프로그래밍 언어가 제공하는 기능을 제어할 수 있게 만든인터페이스를 뜻한다. 주로 파일 제어, 창 제어, 화상 처리, 문자 제어 등을 위한 인터페이스를 제공한다. - 위키백과 -> 쉽게 말해, API는 프로그램들이 서로 상호작용할 수 있도록 해주는 매개체입니다. API를 이용하면 원격 서버에 저장된 데이터를 활용할 수 있습니다. API is a constract to exchange data. APIs redu..
-
What is the Back-End?Back-end 2021. 11. 2. 22:55
이 글은 웹개발 중 백엔드(Back-end)에 관한 기본 개념을 정리하기 위해 작성하였습니다. While the front-end is the part of the website that makes it to the browser, the back-end consists of all the behind-the-scenes processes and data that make a website function and send resources to clients. When we eat at a restaurant, we’ll order to our tastes, make substitutions, etc; the resul..
-
StateReact 2021. 10. 30. 17:28
이 글은 React의 State에 관한 문법 및 개념을 정리하기 위해 작성하였습니다. React components will often need dynamic information in order to render. For example, imagine a component that displays the score of a basketball game. The score of the game might change over time, meaning that the score is dynamic. There are two ways for a component to get dynamic information : props and state T..