SSR API
- 主要言語
- TypeScript
- スター
- 3
- フォーク
- 1
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
## Requirements
We need to add out of the box support for Server Side Rendering in BlueRain. This may require some modification in BlueRain as well as `bluerain-cli-web`.
- BlueRain should have a helper method or property to check if the app is running in SSR mode
- Each plugin may add SSR support by hooking into SSR specific hook
- We need to have a way to access SSR context/state which server can use after boot. A use case of this can be router context to return correct HTTP status code from the server.
- How add custom auth on the server side, with cookie or tokens, etc? We may need to have server specific hooks inside or outside BlueRain (i.e. adding custom express middlewares).
- Explore to add support for the .ssr files just like we have platform specific files (e.g. *.web.ts, *.iso.ts, *.android.ts)
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
まず BlueRain core と bluerain-cli-web のアーキテクチャを読み、*.web.ts や *.iso.ts など、既存のプラットフォーム固有ファイルに重点を置きます。SSR モードの検出、プラグインフック、サーバーコンテキスト、認証ミドルウェア、*.ssr ファイルをどのように組み合わせるべきかを定義します。SSR API と統合境界が仕様化され、両方のコンポーネントでサポートされれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- express, typescript
- 領域
- backend, web-dev
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 20/100