์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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 |
- nodejs
- CSS
- NextJs
- Component
- backend
- Mongoose
- frontend
- ECMAScript
- Flutter
- heroku
- react
- node.js
- ๋ฆฌ์กํธ
- form
- Session
- express
- graphQL
- DART
- JavaScript
- pug
- ES6
- API
- CLONE
- HTML
- MongoDB
- javscript
- ์๋ฐ์คํฌ๋ฆฝํธ
- TypeScript
- clonecoding
- GRID
- Today
- Total
Enjoy Programming
Iron session ๋ณธ๋ฌธ
https://github.com/vvo/iron-session
GitHub - vvo/iron-session: ๐ Node.js stateless session utility using signed and encrypted cookies to store data. Works with N
๐ Node.js stateless session utility using signed and encrypted cookies to store data. Works with Next.js, Express, NestJs, Fastify, and any Node.js HTTP framework. - GitHub - vvo/iron-session: ๐ No...
github.com
๊ธฐ์กด jwt ํ ํฐ์ ์ํธํ ๋์ง ์๋๋ค.
์ด๋ฌํ ๋จ์ ์ ๋ณด์ํด์ค iron session
iron session ?
์๋ช , ์ํธํ๋ ์ฟ ํค๋ฅผ ์ฌ์ฉํ๋ nodejs stateless ์ธ์ ๋๊ตฌ
payload -> payload encrypt -> send cookie && every call api to server with cookie --> server decrypt
์ด๋ฐฉ์์ด๋ค. ์ํธํ๊ฐ ๋๊ธฐ์ ์ ์ ๊ฐ ์ ๋ณด๋ฅผ ํ์ธํ ์ ์๋ค. ์ธ์ ์ ์ํ ๋ฐฑ์๋๋ฅผ ๊ตฌ์ถํ์ง ์์๋ ๋๋ค.
'JavaScript > Node.JS' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[Backend] Nestjs - Graphql APi (0) | 2023.04.18 |
---|---|
[error] Error: spawn apollo ENOENT ์ฝ๋์ ์คํ ์คํฌ๋ฆฝํธ ์๋ฌ (0) | 2022.07.15 |
socket.io ๊ฐ๋จํ ์ฑํ ํ ์คํธ (0) | 2021.08.09 |
Socket IO (0) | 2021.08.08 |
์ข์์ ๊ตฌํํ๊ธฐ (0) | 2021.07.12 |