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

passport를 사용하여 세션 , 쿠키 같은 로그인했을때의 정보를 가지고 클라이언트에서 자동으로 로그인되는 그런 기능들을 해줄 수 있다. 그냥 여권을 가지고있다고 생각하면된다. 손쉽게 처리를 할 수 있으니 편리하고 좋다. 그리고 다양한 SNS의 계정으로 로그인 해주는 좋은 모듈이다. 일단 공식사이트를 올려주겠다. https://www.passportjs.org/ Passport.js Simple, unobtrusive authentication for Node.js www.passportjs.org 우리는 local방식으로 로그인을 하는걸 구현할거다. local이란 DB에서 대조하여 로그인을 시켜주는 방식이다. 다른 방식으론 Social Authentication가 있다. 이것은 소셜 넷웤 인증방식이다..

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공식 사이트이다. 이 문서를 참고하여 포스팅한다. 일..

concurrently라이브러리를 사용하여 따로따로 실행하던 서버와 클라이언트를 동시에 실행할 수 있게 만들어볼거다. 사용해보니 굉장히 편하다. 먼저 나의 폴더구조이다. 한폴더에 클라이언트폴더가 안에있고 겉에는 서버실행파일인 server.js가 있다. npm install concurrently npm을 사용하여 concurrently를 다운받아주자. (맨 상단 폴더에서 해주어야된다) 그런다음 상위폴더에있는 package.json에 들어가서 스크립트를 추가해주어야된다. "backend" : "nodemon server.js", "frontend" : "npm run start --prefix client", "dev": "concurrently \"npm run backend\" \"npm run sta..