๋ถ๋ฅ ์ ์ฒด๋ณด๊ธฐ
![[Node.js] ํด๋ผ์ด์ธํธ์ ์๋ฒ์ ๊ฐ๋
, AWS ํด๋ผ์ฐ๋ ์๋ฒ ํ๊ฒฝ ๊ตฌ์ถ ์ค์ต](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FYMWfq%2FbtrB67aYhBy%2FdQgmZxvlFcRafgjkdJodN1%2Fimg.png)
[Node.js] ํด๋ผ์ด์ธํธ์ ์๋ฒ์ ๊ฐ๋ , AWS ํด๋ผ์ฐ๋ ์๋ฒ ํ๊ฒฝ ๊ตฌ์ถ ์ค์ต
https://youtu.be/8IGgeaLlYW8 *๋๋ค์ฝ๋ฉ๋์ ์ ์ ํ๋ธ ๊ฐ์ข๋ฅผ ๋ณด๊ณ ํ์ตํ ๋ด์ฉ์ ์ ๋ฆฌํ ํฌ์คํ ์ ๋๋ค. ์๋ฒ๊ตฌ์ถ, ๋ฐ์ดํฐ๋ฒ ์ด์ค, Rest API ์์๋๋ก ์งํ ๋ชฉ์ฐจ 1. ํด๋ผ์ด์ธํธ์ ์๋ฒ์ ๊ฐ๋ 1. ํด๋ผ์ด์ธํธ 2. ์๋ฒ 3. ๋ฐฑ์๋ 4. ๋ฐ์ดํฐ๋ฒ ์ด์ค 5. ๊ด๋ จ ๋คํธ์ํฌ ๊ฐ๋ ์ ๋ฆฌ 2. AWS ํด๋ผ์ฐ๋ ์๋ฒ ํ๊ฒฝ ๊ตฌ์ถ ์ค์ต 1. EC2 ์๋ 2. SSH ์ ์ ๋ฐฉ๋ฒ 3. apt-get ํจํค์ง ๊ด๋ฆฌ์๋ก Nginx, Node, MySQL ์ค์นํ๊ธฐ 4. MySQL ์ธ๋ถ ์ ์ 1. ํด๋ผ์ด์ธํธ์ ์๋ฒ์ ๊ฐ๋ ์๋ฒ : ํด๋ผ์ด์ธํธ ์์ฒญ์ ์๋ต ํด๋ผ์ด์ธํธ: ์๋ ์๋ฒ: ํ์๋น ip ์ ๋๋ฉ์ธ ๊ฐ๋ ๋๋ฉ์ธ์ ๊ฐ์ง๋ ์์ดํผ๋ฅผ ๋ณผ ์ ์๋ ๋ช ๋ น์ด : nslookup ์ปค๋งจ๋์ฐฝ์ nslookup naver...
[Node.js] ๋ฐฑ์๋ ๊ฐ๋ ๊ธฐ์ด ์์๋ชจ์
https://youtu.be/8IGgeaLlYW8 https://youtu.be/Vk5W_RGYrnI https://youtu.be/5Vsvc1FKLDU
![[node.js] ์ด๊ฐ๋จ ์๋ฒ ๋ง๋ค๊ธฐ (2) Node + Express ์น์๋ฒ ๊ธฐ๋ณธ์ธํ](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FzaykZ%2FbtrB44mf5Ei%2F2EbsxFnc8Jx3a6UvsGyTbk%2Fimg.png)
[node.js] ์ด๊ฐ๋จ ์๋ฒ ๋ง๋ค๊ธฐ (2) Node + Express ์น์๋ฒ ๊ธฐ๋ณธ์ธํ
**์ฝ๋ฉ ์ ํ๋ ์ ํ๋ธ ์์์ ์ฐธ๊ณ ํ์ฌ ์งํํ์์ต๋๋ค. https://youtu.be/HeOh-go-fYY 1. ์ ์์ฝ ์๋ฒ๋ก GET ์์ฒญํ์ฌ ์ฒ๋ฆฌํ๊ธฐ const express = require("express"); //์ค์นํ ๋ผ์ด๋ธ๋ฌ๋ฆฌ ์ฒจ๋ถ const app = express(); //์ฒจ๋ถํ ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ฅผ ๊ฐ์ง๊ณ ๊ฐ์ฒด ์์ฑ //app.listen(ํ๋ผ๋ฏธํฐ1, ํ๋ผ๋ฏธํฐ2); ์์ ์ ์ปดํจํฐ์ ์๋ฒ๋ฅผ ์ด ์ ์๋ค. //app.listen(์๋ฒ๋์ธ ํฌํธ๋ฒํธ, ๋์ด ํ ์คํํ ์ฝ๋); app.listen(8080, function () { console.log("listening on 8080"); }); //8080 port๋ก ์น์๋ฒ๋ฅผ ์ด๊ณ , //์ ์ด๋ฆฌ๋ฉด console.log("listening on 8080..
[Node.js] console.log
1. console.clear(); console.log("logging....."); console.clear(); ์ฝ์์ฐฝ์ ์ง์์ค๋ค. 2. log level : ์๋ฒ์์ ๋ฐ์ํ๋ ์ฌ๋ฌ ์ด๋ฒคํธ์ ๋ํด์(์๋ฌ์ ์ํ์ ๋ฐ๋ผ์) console.log("log"); //๊ฐ๋ฐ console.info("info"); //๊ฐ๋ฐ console.warn("warn"); //๊ฒฝ๋ณด console.error("error"); //์๋ฌ, ์ฌ์ฉ์ ์๋ฌ, ์์คํ ์๋ฌ 3. assert : ์ฒซ๋ฒ์งธ ์ธ์๊ฐ false ์ผ๋๋ง ์ถ๋ ฅ console.assert(2 === 3, "not same!"); //Assertion failed: not same! console.assert(2 === 2, "same!"); //๋ฌด์๋ต 4. pri..
[Node.js] global
Global objects | Node.js v16.15.0 Documentation (nodejs.org) Global objects | Node.js v16.15.0 Documentation Global objects# These objects are available in all modules. The following variables may appear to be global but are not. They exist only in the scope of modules, see the module system documentation: The objects listed here are specific to Node.js. There ar nodejs.org console.log(global); ..
[2D WebGL][pixiJS] Renderer, Ticker, & Stage
https://youtu.be/2J0VUiozAVM ์ฝ๋ ์์ ์ ์ฝ๋ ์์ ํ
[Spine][pixiJs] Api ์ฌ์ดํธ
์คํ์ธ api ์ฌ์ดํธ http://ko.esotericsoftware.com/spine-api-reference#AnimationState-setAnimation ์ฐพ๊ธฐ ๊ธฐ๋ฅ ์ด์ฉํด์ api ๋ช ์ธ ํ์ธ, ๋ฒ์ญ๊ธฐ๋ผ๋ ๋๋ ค์… ์ด๋ฐ์์ผ๋ก AnimationState Methods addAnimation ( int trackIndex, string animationName, bool loop, float delay): TrackEntry Queues an animation by name. See addAnimation. addAnimation ( int trackIndex, Animation animation, bool loop, float delay): TrackEntry Adds an animation to ..
VSCode ํ ๋ฒ์ ์ฌ๋ฌ ๊ฐ ์ ํํ์ฌ ์์ ํ๋ ๋ฒ(๋ค์ค ์ ํ)
https://daldalhanstory.tistory.com/72
[์๋ฐ์คํฌ๋ฆฝํธ] ๋ฐ๋๋ผ ์๋ฐ์คํฌ๋ฆฝํธ ๊ฐฌ์ฑ
message.js export function message(msg){ const elem = document.createElement('p'); elem.innerHTML = msg; document.body.append(elem); } main.js import { message } from './message.js'; message('๊ฐ์ฑ...'); const likeBtn = document.querySelector('.main-button'); likeBtn.addEventListener("click",function(){ likeBtn.innerHTML="โค" const likesTab=document.querySelector(".favorites"); const newFavoriteImag..
![[์นํฉ][๋ฐ๋ฒจ] ํจํค์ง ์ด ์ค์น](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FbTqoby%2FbtrBGMLIBSR%2FDph9ua0Go3LgSttlfk4PEk%2Fimg.png)
[์นํฉ][๋ฐ๋ฒจ] ํจํค์ง ์ด ์ค์น
๋ฒ๋ค๋ง : ๋ชจ๋ ํ์ผ๋ค์ ํ๋ํ๋์ ๋ชจ๋๋ก ๋ณด๊ณ , ์ด ๋ชจ๋๋ค์ ๋ฐฐํฌ์ฉ์ผ๋ก ๋ณํฉํ๊ณ ํฌ์ฅํ๋ ์์ .(์ต์ ํ๋ ํด์ค) ์ด๋ฌํ ๋ฒ๋ค๋ง ์์ ์ ์ํํ๋ ํด์ ๋ฒ๋ค๋ฌ๋ผ๊ณ ํ๋ค. ํ์ฌ ์์ ์์๋ ๋ฒ๋ค๋ฌ ์ค์์ '์นํฉ'์ด ๊ฐ์ฅ ์ธ๊ธฐ๊ฐ ๋ง๋ค. ์ฒ์ package.json ์ํ { "name": "webpack-test", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "build": "cross-env NODE_ENV=production webpack --progress", "start": "webpack serve --progress" }, "keywords": [], "author": "", "license": "ISC" } webp..