Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- tiles.xml
- PL/SQL
- JavaScript
- 블록체인
- 비트코인
- EC2
- 웹게임
- JSP
- phaser
- docker
- node.js
- Cookie
- autowired
- RDS
- Spring
- jQuery
- 웹소켓
- Servlet
- SQL
- HTML
- Ajax
- AWS
- express
- 도커
- 암호화
- 알고리즘
- model1
- 배포
- CSS
- websocket
Archives
- Today
- Total
목록파일업로드 (1)
記錄
생활코딩_Node.js) 파일업로드
이번 강의에서는 간단하게 파일 업로드를 하는 방법에 대해서 배웠다.const express = require('express');const bodyParser = require('body-parser'); // multer 모듈 추가const multer = require('multer'); // multer 모듈을 통해 미들웨어를 리턴해주고 upload에 할당// dest는 destination의 줄임말로 경로 설정을 한다const upload = multer({ dest: 'uploads/' })const app = express(); app.locals.pretty = true;app.set('view engine', 'jade');app.set('views', './views');app.use(e..
Web/Node.js
2018. 8. 1. 11:27