학과 샘플강의

Node.js 전체 : 5시간 30분|강의당평균 : 25분23초

알지오 2016. 11. 1. 09:20



Node.js

전체 : 5시간 30분|강의당평균 : 25분23초

01 Node.js 및 모듈 설치
Node.js 및 모듈 설치 방법에 대해 학습합니다.
24분
책갈피 : [00:00] 노드 설치/[01:04] 노드 모듈 설치 준비/[01:28] cmd 실행/[02:02] cmd 경로 이동 명령/[02:24] express 모듈 설치/[02:39] 명령 설명/[03:22] 명령 입력/[03:54] 에러가 나는 경우/[04:43] express 모듈이란/[05:03] 노드 개발 방법/[05:51] d드라이브로 이동/[06:13] 프로젝트 생성/[06:57] on.js 파일 열기, 주의점/[07:32] 서버 실행 방법/[08:23] 서버 해제 방법/[08:53] 내용 변경 적용 방법/[09:23] 노드로 들어가는 방법/[10:11] 노드에서 나오는 방법/[10:21] npm help 명령/[10:40] npm이란/[11:53] 코드로 모듈 추출/[13:08] 프로젝트안의 cmd 실행/[13:21] 에러가 나는 경우/[13:30] 정상적으로 설치한 경우/[13:48] package 파일/[14:44] app.js 파일/[15:44] npm start 명령/[16:41] index 파일/[18:33] index 파일을 이용한 실시간 수정/[19:17] cmd에 현재 구동되는 사항 출력/[19:26] 작업 끝내기/[19:59] npm start/[21:23] app 실행/[21:51] 타입과 문구 명령 입력/[22:01] 서버 실행 명령 입력/[22:40] 결과 확인/[23:15] 실행 중단

02 chapter 2
28분
책갈피 : [00:01] 이전 강의 복습/[00:39] 터미널 (cmd)/[01:19] 터미널 서비스의 장점/[01:52] 변경 내용 반영/[02:58] 실시간 반영 모듈 nodemon/[03:12] nodemon 모듈 설치 방법 /[03:57] 모듈 버전 확인/[04:45] 서버 시작 명령/[05:05] 실시간 반영 확인/[05:39] GIT/[06:14] GIT의 허브 기능/[06:48] index 파일이 없을 때 나오는 화면/[07:05] stylesheet/[08:43] error.jade/[08:47] layout.jade/[09:29] 페이지 속성 보기/[09:47] index.jade/[10:42] index.html을 만들 경우/[11:33] 웹 호스팅 서버/[11:46] 도메인 주소 체계/[12:27] 확장자 jade/[14:03] 포트 수정/[15:03] node -v/[15:45] npm config get prefix/[16:14] npm update express/[16:36] npm uninstall express/[16:50] npm cache clean -f/[17:10] npm install -g npm/[17:27] npm -v/[18:23] node.js setup 파일/[19:20] npm install express-generator -g/[19:41] express -h/[19:57] 새 프로젝트 창출/[20:33] 새 프로젝트 적용 방법/[21:13] 새 프로젝트에 모듈 설치/[22:03] 새 프로젝트 서버 실행/[22:46] GitHub/[23:41] GIT 설치, 가입 방법/[24:02] github.com/[25:27] PC와 연동 방법/[27:45] 주의사항

03 chapter 3
23분
책갈피 : [00:00] Git를 위한 PC 설정/[01:10] D드라이브 이동 명령/[01:27] 붙여넣기 Shift+insert/[01:50] Git 연동 로컬 정의/[02:18] master 출력된 경우/[03:13] git init/[04:02] git add ./[05:20] git commit -m ""/[07:00] 주소 복사/[08:02] 업로드 명령/[08:52] 업로드 확인/[09:40] 완료 명령/[10:01] Git 장점/[10:31] 필수적인 메일, 이름 인증/[11:56] git remote -v/[12:24] git status/[12:38] git pull/[13:55] 순서 요약/[15:05] 서버 실행/[15:53] 한글 깨짐 현상 해결/[17:21] npm install express --save/[17:57] npm install -d/[18:44] 한글 깨짐 현상 해결 모듈/[19:06] 템플릿/[19:55] 템플릿의 기본 개념/[20:42] index.ejs 파일/[21:45] 서버 구동/[22:16] index.js 파일

04 chapter 4
포트번호 변경/sudo/express --ejs/express express_jade/인코딩 방식
25분 
책갈피 : [01:02] Port/[01:29] 127.0.0.1/[01:42] ftp/[02:22] npm start/[02:54] 80 port/[03:15] sudo/[04:22] cmd/[04:31] ejs (탬플릿 생성)/[05:23] bin/[06:23] ejs명령/[07:19] EditPlus만 사용/[08:12] ejs/[08:18] html Tag/[09:27] 서버 재실행/[09:52] npm start/[10:26] title/[11:28] npm start/[12:25] UTF-8/[13:07] meta charset=euc-kr/[14:30] jade/[15:54] npm start/[16:10] ejs 파일 출력/[17:39] UTF-8/[18:06] index, error/[18:15] layout/[18:49] css파일/[19:43] include top/[20:01] Error 발생/[20:24] UTF-8/[21:13] include foot/[22:00] ejs/[22:06] jade/[23:44] 문법 코딩/[23:54] href/[24:57] checked/[25:12] input

05 chapter 5
24분 
책갈피 : [00:08] style/[00:22] background/[01:22] 연동되는 CSS 파일/[02:39] class/[02:49] 굴림, 돋움/[02:58] p태그/[03:17] 새로고침/[03:45] UTF-8/[04:06] BR 태그/[05:03] style 시트 추가/[05:48] link/[06:29] div/[07:18] ID값(#)/[08:24] Input/[09:47] value값/[10:48] section/[12:29] jade파일/[12:59] block content/[13:27] p태그/[13:30] b태그,u태그/[14:45] 주석/[15:38] -(마이너스) 표시한 주석/[15:56] layout/[16:53] case문/[17:19] default/[17:36] p태그/[17:57] 페이지 소스 보기/[18:15] 반복/[18:22] for문/[19:04] 문자열 보관/[20:25] link/[20:49] UTF-8/[21:56] 새창으로 링크/[22:35] ul목록/[22:49] 반복

06 chapter 6
al(clo), li=clo, css class, mixin, ejs 셋팅,app.js, index.ejs, UTF-8로 설정, meta 태그, viewport, bootstrap에 대한 모듈 설치, npm install,grunt
24분
책갈피 : [00:20] al(clo)/[00:30] li=clo/[00:48] li.88pet= clo/[01:22] F11/[01:39] css class/[01:45] h1, p태그/[02:04] 재생산 가능(class)/[02:15] 소스 판독/[02:22] hard(alz)/[03:07] mixin/[03:19] lilist/[03:46] ul(id=id)/[04:15] li로 출력/[04:38] 일반 문자열/[04:48] p태그/[05:19] 일반태그로 인식/[05:37] 스크립트 추가/[06:13] script./[06:20] jade/[06:26] ejs 셋팅/[06:46] app.js/[07:54] 이미지 태그/[08:17] index.ejs/[08:30] public/[09:50] 호스트 폴더(정적 내용)/[10:00] ejs 템플릿/[10:10] include/[10:30] view 폴더/[10:46] top.ejs/[11:42] foot/[12:03] UTF-8로 설정/[12:51] meta 태그/[12:57] viewport/[14:08] 익스프레스 모듈/[14:30] css 연동(bootstrap)/[15:33] p태그 저장/[16:05] bootstrap에 대한 모듈 설치/[17:58] 반응형 웹, 제이쿼리/[18:56] 미디어 스크린/[20:14] npm install/[21:45] start express/[22:11] node_modules/[22:47] grunt/[23:26] npm install grunt-cli -g /

07 chapter 7
http://startbootstrap.com/, grunt, git init, npm install, npm init, save-dev, Patal error, http://gruntjs.com/plugins, grunt-shell, mkdir db, 세션관리, 쿠키, get방식 및 post방식, alzioForm, webhtml, body-parser, npm start
23분
책갈피 : [00:17] glyphicon glyphicon-asterisk/[00:33] cdn/[00:44] 홈 버튼/[02:17] http://startbootstrap.com//[02:37] css, javascript, jquery/[03:08] grunt/[03:30] grunt first/[03:55] grunt-help/[04:03] git init/[04:48] npm install/[05:38] npm init/[05:51] grunt 모듈/[06:01] save-dev/[06:22] Patal error/[07:06] 'first'/[07:57] http://gruntjs.com/plugins/[08:58] shell/[09:07] grunt-shell/[10:18] mkdir db/[10:29] grunt.initConfig/[10:42] grunt.registerTask/[12:28] 세션관리/[12:42] express-generator/[13:41] 쿠키/[13:58] 미들웨어/[14:24] get방식, post방식/[14:52] p태그/[15:20] post/[16:33] 문서 정의/[16:41] alzioForm/[18:35] F12/[18:59] 서버 재실행/[19:45] input1/[20:05] webhtml/[21:15] body-parser/[21:17] npm install body -parser --save/[22:11] alzioForma/[22:42] post/[22:52] npm start

08 chapter 8
var os = require('os'), console.log(os.hostname()), totalmem, loadavg, release, console.log(os.cpus()), console.log(os.arch()), url module, domaM(전체 변수명), Url, url module 추출, var alsll=util.format(), fs.exists(), process
25분
책갈피 : [00:05] var os = require('os')/[00:34] app.js/[01:07] host name/[01:15] console.log(os.hostname())/[01:39] 29715.069427/[02:06] Windows_NT/[02:19] 64비트/[02:22] totalmem/[02:34] loadavg/[02:48] release/[03:04] console.log(os.cpus())/[03:31] console.log(os.arch())/[04:03] https://node.js.org/api/os.html/[04:13] url module/[04:18] var url = require("url")/[04:59] domaM(전체 변수명)/[05:16] console.log(domaM)/[05:39] Url/[06:03] url.parse()/[06:31] pathname, path/[07:54] href/[08:10] url module 추출/[08:43] var alsll=util.format()/[12:21] util.log()/[12:29] ('ALZIO-2100')/[13:01] var fs - require('fs')/[14:10] fs.exists()/[17:40] alzio_od.txt/[20:02] 언어 set/[20:30] console.log("ALZIO-2003!!")/[21:11] process/[23:00] 전역 객체/[23:42] arch

09 chapter 9
route, app.use('/', routes), var routes, express module, express -V, npm install morgan, user-agent, response-time, var net = require('net'), TCP, client OUT!!, connected, server open!!, Request / Cheerio, request.get()
26분
책갈피 : [00:08] route/[00:46] app.use('/', routes)/[01:33] var routes/[02:18] static/[02:39] public/[02:45] alzio_on_on/[03:58] express module/[04:17] dirname, 'public'/[05:09] express -V/[05:48] 명령창/[06:08] npm install morgan/[06:21] var morgan/[07:09] user-agent/[08:12] 서버 재실행/[08:55] response-time/[09:24] date/[09:55] short/[10:23] dev/[10:35] var net/[11:07] TCP/[11:58] net.createServer/[12:28] PC connected/[13:40] client.on/[13:50] client OUT!!/[14:18] connected/[14:37] server.listen/[14:47] server open!!/[14:58] localhost/[16:28] Request / Cheerio/[18:17] npm install cheerio/[19:01] var request/[19:23] request.get()/[20:48] var cheerio/[20:56] $('.krw')/[22:25] class="time"/[24:24] dmcfContents/[25:34] console.log(apap.text())

10 chapter 10
crypto, getCiphers, createCipher, cipheredOuput, nocipher, setTimeout, require('http'), writeHead, set-cookie, Content-Type, JSON.stringify, mime type, alzio_main_logo.png
26분
책갈피 : [00:04] crypto/[00:23] require('crypto')/[00:55] getCiphers/[02:10] 암호화 할 대상/[02:20] 변수선언/[02:37] 암호화/[02:50] createCipher/[03:00] aes192, pesss/[04:17] cipheredOuput/[04:41] nocipher/[05:07] goodheredOutput/[05:45] 5 - setInterval/[06:11] setTimeout/[06:45] npm start/[08:24] require('http')/[09:13] http.createServer/[09:46] var dateal=new Date()/[10:22] writeHead/[10:53] set-cookie/[11:19] request.headers.cookie/[12:04] F11/[12:25] Network→All/[14:06] 서버 재시작/[16:14] get방식/[16:28] Content-Type/[16:51] JSON.stringify/[19:22] 쿠키 삭제/[21:32] Content-Type/[21:48] text/html/[21:57] mime type/[22:44] 경로/[23:16] alzio_main_logo.png/[23:29] image/png/[25:41] public

11 chapter 11
npm install cookie-parser/app.use(cookieParser())/OK!!-cookie/JSON/name, property/call-cookie/redirect/session/bodyparser//login.html/ok-login
26분
책갈피 : [00:09] npm install cookie-parser/[00:33] app.js/[00:48] 일반 포트/[01:18] express/[01:33] app.use(cookieParser())/[01:47] route 정의/[01:55] get 방식/[02:07] OK!!-cookie/[02:15] response.send/[02:28] (request.cookies)/[02:39] Response.Cookies/[03:08] call-cookie/[03:33] JSON/[03:58] name, property/[04:06] 암호화/[04:24] call-cookie/[04:34] redirect/[04:40] npm start/[05:03] OK!!-cookie/[06:01] app.use(cookieParser())/[07:19] 계층 출력/[07:36] session/[08:04] JSON 보안키/[08:15] npm install cookie-session 설치/[08:45] bodyparser/[09:20] cookieParser/[09:31] secret/[10:13] 변수선언/[10:31] var alout/[11:23] new Date, toUTCString/[14:34] 세션방식/[16:18] bodyParser/[17:13] session.sig/[18:17] 포스트 방식/[19:13] /login.html/[19:59] submit/[20:11] bodyParser/[21:09] ok-login/[22:10] /public/[22:13] login.html/[23:46] redirect/[24:11] redirect/[25:53] LOGIN OK!!

12 chapter 12
27분
책갈피 : [00:46] mysql/[01:23] MongoDB/[01:53] https://mlab.com/[02:35] Master Services Agreement/[03:23] Ctrl + F/[03:26] Create new/[04:00] Single-node/[04:09] FREE (Sandbox)/[05:02] 미국 서버/[06:07] Add new database user/[07:04] alziodbb/[07:48] mongodb 접근 주소/[08:24] 모듈 설치/[08:28] npm install mongoose --save/[09:08] var mongoose=require('mongoose')/[09:40] mongoose.connect("")/[09:58] dbuser, dbpassword/[10:32] alziogbb 생성, alziodbb 제거/[11:50] 웹호스팅/[12:17] var db=mongoose.connection/[12:29] console, 'error:'/[13:06] 데이터베이스 Schema 정의/[13:14] var alziosche=mongoose.Schema/[13:25] alnam: String/[14:16] var data = "BEST!!"/[15:04] alziocokr.save(function(err,alziocokr)/[15:47] console.log/[17:41] system.indexes/[18:45] alziosche-2/[19:47] alziosche-3/[20:51] var Schema=mongoose.Schema/[21:25] hit : Number/[21:34] date : Date/[22:00] ALZIOCOKR-5, newSchema/[22:09] var newSchema=Schema/[22:22] var dbins=alziocomment()/[23:02] node teacher/[23:05] alzio node.js LEC/[23:44] dbins.date=new Date()/[24:23] dbins.hit=15/[26:33] alziocomment.find/[26:53] console.log(ALZIOCOKR)

13 chapter 13
29분 
책갈피 : [01:48] 클라우드/[02:42] github/[03:06] heroku 사이트 접속/[03:36] 회원가입/[04:33] Create New App/[05:09] toolbelt.heroku.com/[05:40] toolbelt.heroku.com 접속/[06:13] Heroku Toolbelt 설치/[07:30] heroku login/[08:21] 이메일, 비밀번호 입력/[08:59] heroku create alziocokr/[09:53] git 연동/[10:13] github 업로드/[11:09] 순서 정리/[11:44] git push heroku master/[12:48] git push origin master/[13:06] 결과 확인/[14:07] heroku logs/[15:01] GET/[16:57] 작업방법/[17:31] git push heroku master/[17:37] git push origin master/[18:18] app is awake/[18:35] Build Log/[18:55] package.json/[19:13] 배포방법/[19:34] heroku git:clone -a alziocokr/[20:11] cd alziocokr/[21:32] git push heroku master/[22:44] git add ./[23:03] git commit -am "make it better"/[23:53] git 순서/[25:33] git commit -m "alzio ok!"/[26:26] git push -u origin master/[26:50] git commit -am 메세지 변경/[26:59] git push heroku master


샘플확인 : 알지오 검색후 -> 강의검색란 ->Node.js



※ 다음 강의는 순차적으로 업데이트 진행중입니다.