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 | 29 | 30 |
Tags
- backend
- ์๋ฐ์คํฌ๋ฆฝํธ
- form
- MongoDB
- heroku
- HTML
- node.js
- TypeScript
- frontend
- API
- Component
- Session
- clonecoding
- react
- DART
- Flutter
- ๋ฆฌ์กํธ
- graphQL
- express
- ECMAScript
- CSS
- pug
- Mongoose
- javscript
- GRID
- JavaScript
- ES6
- nodejs
- NextJs
- CLONE
Archives
- Today
- Total
Enjoy Programming
Iron session ๋ณธ๋ฌธ
https://github.com/vvo/iron-session
๊ธฐ์กด 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 |