간단한 api, get, post, delete, put
const express = require('express')const app = express()app.listen(1234)let Gan = { title : "간다효", subscribe : 30000, videos : 2000,}let Shuu = { title : "슈카", subscribe : 20000, videos : 11,}let Chim = { title : "침착맨", subscribe : 30000, videos : 888,}let db = new Map()var id = 1db.set(id++, Gan)db.set(id++, Shuu)db.set(id++, Chim)app.get('/', (req, res) => { res.se..
npm, install, uninstall, let, const, var
노드의 기본을 몇가지 알아보자. npm이 기본적으로 같이 깔린다.버전을 확인하고 싶으면 npm -v로 버전을 확인하자. npm은 사이트에 가서 검색하면 나온다.https://www.npmjs.com/ npm | HomeBring the best of open source to you, your team, and your company Relied upon by more than 17 million developers worldwide, npm is committed to making JavaScript development elegant, productive, and safe. The free npm Registry has become the center of Javawww.npmjs.com 여기에 fi..