profile
On a journey to be a front-end developer

FFmpeg

A tool to manipualte media file. You can change format of the video, change the video into an audio file, or extract a frame(a screenshot) from a vide

2022년 8월 12일
·
0개의 댓글
·

Common in a good painter and a good programmer

Being a good programmer is like a being a good painter. So if I adapt the concept of being a good painter to this programmer world, maybe I can be a d

2022년 8월 3일
·
0개의 댓글
·

Creating a Model

Creating DB and Model with MongoDB and Mongoose

2022년 8월 1일
·
0개의 댓글
·

Properties of Cookies and Environment file

String of text to sign the cookies. Verifies the browser got the cookies from OUR backend. Prevents session highjack.Shows the what kind of backend ga

2022년 7월 26일
·
0개의 댓글
·

saveUninitialized and resave

uninitialize session if it is new but not modified. Save session in the db and give cookies to the browser only when the session is modified. (In my p

2022년 7월 26일
·
0개의 댓글
·

Session store

Session is created when a browser first reachs to a backend. And browser only gets the sessionID. Problem is that the default server-side session stor

2022년 7월 26일
·
0개의 댓글
·

User Authentication

middleware express-session send browser a cookie.Cookies: pieces of information that backend can give to the browser. A way of transporting and sendin

2022년 7월 25일
·
0개의 댓글
·

🎣 Hooks (Middleware)

Middleware in Mongoose > Middleware is basically intercepts request and do something inside of the middleware and call next() to pass the request. (Ex

2022년 7월 23일
·
0개의 댓글
·

When you set a rules on the schema

There are two parts to make specific requirement for the data to be inserted.more requirements make the data more specific.But there are similar requi

2022년 7월 22일
·
0개의 댓글
·

Callback and promise(Async await)

Callback is a function which runs after certain action is executed. Just like EventListener: btn.addEventListener("click", callbackFunction); callback

2022년 7월 22일
·
0개의 댓글
·

MongoDB and Mongoose

MongoDB > MongoDB is an open source cross-platform document-oriented database program. Classified as a NoSQL database program, MongoDB uses JSON-like

2022년 7월 21일
·
0개의 댓글
·

Sending data to back-end

mixing variable with text #{variableName} Ex) mixing variable with attributes(href, class, id...) \`${variableName}\` (inside backticks) Ex) POST

2022년 7월 21일
·
0개의 댓글
·

Pug

About Pug 🐶

2022년 7월 20일
·
0개의 댓글
·

URL parameters

router.get(":parameter", controller);It is like ${variableName} inside of HTML elements.It lets you put variables inside of the routes.You can check t

2022년 7월 19일
·
0개의 댓글
·

Separating and exporting

If the request, router, and controller stored in a single page, it's gonna be very inefficient for editing or finding the specific part of the code. S

2022년 7월 19일
·
0개의 댓글
·

Router

Allows you to manage URLs and controllers. Known as "mini application". Router(https://expressjs.com/en/4x/api.htmlRouter let you minimize and or

2022년 7월 18일
·
0개의 댓글
·

External Middleware (Morgan)

What is Morgan? > Morgan is HTTP request logger middleware for node.js Morgan link When Morgan function is called, Morgan returns middleware as order

2022년 7월 18일
·
0개의 댓글
·

Middleware?

software in the middle 🙄Middle of what => Between Request and Response.All middlewares are handlers, and all handlers are middlewares(?)middleware =

2022년 7월 18일
·
0개의 댓글
·

Request & Response

A way servers communicate with users, or servers communicate with each other.A HTTP method, a type of RequestFor example, when a user try to go to a w

2022년 7월 18일
·
0개의 댓글
·

Making a server with NodeJS and Express

In the server.jsexpress functionWhat is server(application)?Basically, server is a computer(without monitor or keyboard) which is turned on 24/7 and c

2022년 7월 18일
·
0개의 댓글
·