기록일지

  • 홈
  • 태그
  • 방명록

node.js 2

TIL : Mini Node Server

1. Node.js = Chrome V8 javascript 엔진으로 빌드된 javascript 런타임 (V8 : 자바스크립트를 기계어로 컴파일 해준다. / 런타임 : 자바스크립트가 구동중인 환경) - 이벤트 기반의 non blocking 모델로 속도가 빠르다. - 별도의 설치 없이 node 상에서 require('') 방식으로 쓸 수 있는 모듈이 있다. ex) fs, http, url, path const fs = require('fs'); const http = require('http'); fs.readFile('./something.json', (err, data) => { console.log(data); }) http.get('http://localhost:5000/api', (res) => ..

TIL 👩🏻‍💻 2021.04.30

TIL : 개발환경 구축

1. Homebrew 설치 brew.sh/ 나는 M1 맥북 프로를 사용 중인데 M1은 설치 방법이 약간 다른지 계속 설치가 잘 되지 않았다. 'Warning: /opt/homebrew/bin is not in your PATH.' 이런 식의 오류가 계속 떴었는데 검색해 봤더니 다행히 다른 분 중에도 이런 오류가 뜨신 분들이 있었다. # We'll be installing Homebrew in the /opt directory. cd /opt # Create a directory for Homebrew. This requires root permissions. sudo mkdir homebrew # Make us the owner of the directory so that we no longer requ..

TIL 👩🏻‍💻 2021.04.05
1
더보기
프로필사진

공부 중 👀 / 잘못된 정보는 댓글로 남겨주세요! ᕦ( ᐛ )ᕡ

  • 분류 전체보기 (84)
    • TIL 👩🏻‍💻 (42)
    • 언어 (3)
      • Javascript (2)
      • Typescript (0)
      • Python (1)
    • 인공지능 (0)
      • 딥러닝 (0)
    • Project (37)
      • plantingg (11)
      • jigu-tory (26)
    • Algorithm (2)
    • 기타 (0)

방문자수Total

  • Today :
  • Yesterday :

Tag

aws, SR, 코드스테이츠, OOP, jigutory, TOY, async, CORS, promise, await, node.js, 알고리즘, plantingg, ES6, CSS, 반복문, 스코프 체인, 비동기, 변수, Callback,

Calendar

«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

Copyright © Kakao Corp. All rights reserved.

티스토리툴바