Sign up for Hasura Newsletter
Loading...

数据建模:Slack

在课程的这一部分,我们将为实时 Slack 克隆创建数据模型。我们的 Slack 应用程序将具有以下基本功能:

  • 用户可以注册。
  • 用户可以创建工作空间。
  • 可以由工作空间的所有者或管理员管理该工作空间。
  • 可以将用户添加到他们所属工作空间中的频道。
  • 用户可以向他们所属工作空间中的频道发送消息。
  • 用户可以向同一工作空间中的其他用户发送消息。
  • 用户可以看到他们所属工作空间中有哪些用户在线。

从广义上讲,这意味着我们在该应用程序中几乎没有顶级模型。

我们将在后续步骤中进行详述。

Did you find this page helpful?
Start with GraphQL on Hasura for Free
  • ArrowBuild apps and APIs 10x faster
  • ArrowBuilt-in authorization and caching
  • Arrow8x more performant than hand-rolled APIs
Promo
footer illustration
Brand logo
© 2024 Hasura Inc. All rights reserved
Github
Titter
Discord
Facebook
Instagram
Youtube
Linkedin