일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 코틀린
- javaSrcript
- 옵션메뉴꾸미기
- framework
- toolkit
- Android
- ContextAPI
- hoos
- 리액트
- JavaScript
- Hooks
- Redux
- redux/toolkit
- 커스텀옵션메뉴
- 메뉴클릭
- Menu
- bottomNav
- custom
- JS
- Node
- state_checked
- 자바스크립트
- Dialog
- 안드로이드
- nodejs
- 팝업메뉴 꾸미기
- readAsDataURL
- 팝업메뉴
- itemBackground
- react
- Today
- Total
목록Node.js (9)
대기업을 향한 디벨롭 블로그

bcrypt 공식 사이트는 여기서 볼 수 있다. https://www.npmjs.com/package/bcrypt bcrypt A bcrypt library for NodeJS.. Latest version: 5.0.1, last published: 2 years ago. Start using bcrypt in your project by running `npm i bcrypt`. There are 3480 other projects in the npm registry using bcrypt. www.npmjs.com bcrypt는 암호를 해시하는데 사용하는 라이브러리다. bcrypt는 강력하고 여러곳에서 사용되고있다. 코드를 통해 사용법을 익혀보자. 먼저 bcrypt를 다운로드 해주어야된다 . npm ..

nodemailer 모듈을 이용하여 이메일을 보내볼거다. https://nodemailer.com/about/ Nodemailer :: Nodemailer Nodemailer Nodemailer is a module for Node.js applications to allow easy as cake email sending. The project got started back in 2010 when there was no sane option to send email messages, today it is the solution most Node.js users turn to by default. npm i nodemailer.com nodemailer공식 사이트이다. 이 문서를 참고하여 포스팅한다. 일..

nodejs로 서버를 만들면서 DB가 아닌 JSON파일에 데이터를 저장해볼거다. 일단 기본적인 셋팅을 해주겠다. // index.js const express = require('express'); const app = express(); app.listen(5001 , ()=>{ console.log('sercer oON '); }) 정말 간단하게 fs를 테스트 해볼거라 express를 가져와 서버를 5001번 포트에 열어준다. 그리고 const fs = require('fs'); fs를 불러와준다. fs는 FileSystem의 약자이다. File의 관련된 모듈이라고 생각하면된다. 그리고 data.json파일을 폴더에 추가해주자. //data.json { "name" : "mang", "age" : "..

body-parser이란... 클라이언트인 html파일에서 서버로 보낼데이터를 파싱한다고 생각하면된다. 파싱이란 쉽게말해 서버에서 클라이언트의 요청을 알아들을 수 있게 해주는 역할 이라고 생각하면될거같다. 영어를 우리말로 바꾸듯이 데이터를 깎고,다듬어서 서버로 보낸다.. 라고 이해하면 될 거 같다. 실습. npm install body-parser 1 const express = require('express'); 2 const app = express(); 3 const bodyparser = require('body-parser'); 4 app.use(body-parser.urlencoded({extended : true })); 이것이 body-parser라이브러리 추가 현재는 body-parser..