在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):nareshbhatia/graphql-bookstore开源软件地址(OpenSource Url):https://github.com/nareshbhatia/graphql-bookstore开源编程语言(OpenSource Language):TypeScript 97.3%开源软件介绍(OpenSource Introduction):GraphQL Bookstore[This is the code repo for my GraphQL tutorial on Medium.] Most GraphQL tutorials use simplistic examples to demonstrate its capabilities. Unfortunately, when we start building real applications, we run into complexities that these tutorials do not address. This repo demonstrates the use of GraphQL to implement a rich domain with multiple entities and relationships. We use the Apollo GraphQL tools and libraries for this implementation.
Here's the domain model of our book domain:
Here's the front-end of the application. It is intentionally designed to show all the entities and relationships on one page. This allows us to demonstrate several features of the Apollo Cache, for example, how normalization keeps application data consistent across multiple components. We have one server implementation that uses Apollo: We have two client implementations using React Apollo: |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论