brandonxiang / taolj

A mini demo for nodejs bff

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

taolj

技术栈

  • fastify
  • graphql
  • grpc

fastify 作为中间层,向后可以连接 grpc 和 http 微服务。向前可以为前端提供 graphql 的 schema。

优点:

  • 逻辑稳定,易于维护
  • 改动较少(PB 调整后,重新生成 schema)

参考资料

About

A mini demo for nodejs bff


Languages

Language:TypeScript 81.3%Language:JavaScript 12.4%Language:CSS 4.0%Language:Go 1.4%Language:HTML 0.8%