본문 바로가기
Portfolio/Node, React login page

Node Document

by 일상코더 2022. 9. 4.

Node

 

     index.js 에 들어갈 기본적인 express js app 만들기     -   https://expressjs.com/en/starter/hello-world.html

 

Express "Hello World" example

Hello world example Embedded below is essentially the simplest Express app you can create. It is a single file app — not what you’d get if you use the Express generator, which creates the scaffolding for a full app with numerous JavaScript files, Jade

expressjs.com

   

    Node.js와 MongoDB를 위한 

    ODM(Object Data Mapping) 라이브러리 mongoose - https://www.npmjs.com/package/mongoose

 

mongoose

Mongoose MongoDB ODM. Latest version: 6.5.4, last published: 4 days ago. Start using mongoose in your project by running `npm i mongoose`. There are 12700 other projects in the npm registry using mongoose.

www.npmjs.com

 

   회원가입  후 db에 정보를 저장하기 전에 비밀번호를 암호화 하기위한

   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 3466 other projects in the npm registry using bcrypt.

www.npmjs.com

 

  로그인 화면 에서 client의 email과 비밀번호가 맞았을 때 만들어줄 토큰과

  authentification 에서 토큰을 복호화 시켜주기 위한

  jsonwebtoken 라이브러리 - https://www.npmjs.com/package/jsonwebtoken

 

jsonwebtoken

JSON Web Token implementation (symmetric and asymmetric). Latest version: 8.5.1, last published: 3 years ago. Start using jsonwebtoken in your project by running `npm i jsonwebtoken`. There are 20653 other projects in the npm registry using jsonwebtoken.

www.npmjs.com

 

 

'Portfolio > Node, React login page' 카테고리의 다른 글

login page algorithm  (0) 2022.09.04

댓글