このようなアプリを構築するために誰かが提供できる良い例やガイダンスはありますか?
Client (client.company.com)
Node.js
Angular
Jade
ExpressJS
Server (private) (server.company.com)
node.js
"rest" api (express)
API は現在非公開で、ホストされたサーバーからのみアクセスできます。
例えばレシピを作成するページがあれば、そうでしょうか?クライアント
- angular form with router that posts to client.company.com/recipe
- express would need route to handle that /recipe
- that route would then post to api server server.company.com/recipe
- then response would be propagated through the layers back to the ui.
クライアントにAPIルートを複製させる権利はありますか? 単純化して重複を少なくするためにできることはありますか?