すげー雑にcookieとかを受けて表示できるようなサンプルを作りたかっただけ。
- cookieをヘッダに組み込む方法を勉強したよ
- javascriptでデザインパターンとかどうやって実現するのだ
- プロトタイプベース言語の特性とかコールバックとか非同期処理とか
https://qiita.com/shizuma/items/2b2f873a0034839e47ce
https://qiita.com/taiponrock/items/9001ae194571feb63a5e
https://daiki-sekiguchi.com/2018/09/11/nodejs-how-to-use-es6/
https://qiita.com/foursue/items/d80667eff2faed8613f2
https://barikanblog.com/javascript-es6-babel/
https://www.utali.io/entry/2016/10/05/031358
https://qiita.com/kenju/items/4d32598ffddf86af82f2
npm run build
npm run start
curl.exe http://localhost:3000/cookie -H 'Cookie: foo=6; bar=28; baz=496'
curl.exe http://localhost:3000/design_pattern?pattern=[]
- adapter
- decorator
- facade
- factory
- iterator
- mediator
- observer
- proxy
- singleton
- strategy
- template
curl.exe http://localhost:3000/prototype_test
curl.exe http://localhost:3000/async_use_fs