There are many ways to build your GraphQL server in NodeJS. Some will require a lot of work, some will require almost no code at all. This time we'll focus on real-time GraphQL API or so-called 'live query' feature. We'll explore the best libraries and services to use to build your own real-time GraphQL API server, highlight some pros and cons and mistakes to avoid.
6. 6
Skychute
PropTech
Development
Breaking new ground using
software in the property industry.
● 5 B2B Products transforming
business of the biggest Property
Developers and Agencies in Australia
● $10B worth of property sold
7. 7
Skychute
PropTech
Development
Breaking new ground using
software in the property industry.
● 5 B2B Products transforming
business of the biggest Property
Developers and Agencies in Australia
● $10B worth of property sold
● 4 new feature deployments a week
with the team of 2 engineers
8. 8
Skychute
PropTech
Development
Breaking new ground using
software in the property industry.
● 5 B2B Products transforming
business of the biggest Property
Developers and Agencies in Australia
● $10B worth of property sold
● 4 new feature deployments a week
with the team of 2 engineers
● 11 programming languages, 4
technology stacks, all sorts of tests
16. Author info
Post Body Media Stats
Likes User info User info User info
Comments
Comment
Body Media Stats
Sub-comments
User info
17. GET /posts/123
GET /posts/123/author
GET /posts/123/likes
GET /posts/123/comments
GET /comments/546/comments
GET /comments/674/comments
GET /comments/853/comments
Author info
Post Body Media Stats
Likes User info User info User info
Comments
Comment
Body Media Stats
Sub-comments
User info
48. Data Model Fields, relationships
Business model Permissions, rules, triggers
Layers
49. Data Model Fields, relationships
Business model Permissions, rules, triggers
GraphQL Schema Shape of the API
Layers
50. Data Model Fields, relationships
Business model Permissions, rules, triggers
GraphQL Schema Shape of the API
Resolvers API Implementation
Layers
51. Data Model Fields, relationships
Business model Permissions, rules, triggers
GraphQL Schema Shape of the API
Resolvers API Implementation
GraphQL API Backend Façade
Layers
52. Data Model Fields, relationships
Business model Permissions, rules, triggers
GraphQL Schema Shape of the API
Resolvers API Implementation
GraphQL API Backend Façade
GraphQL Client Frontend data service
Layers
53. Data Model
Business model
GraphQL Schema
Resolvers
GraphQL API
GraphQL Client
Layers
Generated
Manual
Manual
Manual
Manual
No static checks for Web client
54. Data Model
Business model
GraphQL Schema
Resolvers
GraphQL API
GraphQL Client
Layers
Generated
Basic permissions
Generated
Generated
None
Manual
55. Data Model
Business model
GraphQL Schema
Resolvers
GraphQL API
GraphQL Client
Layers
Generated
Manual
Generated
Generated
Generated, type-safe web client
Prisma
Manual
56. Data Model
Business model
GraphQL Schema
Resolvers
GraphQL API
GraphQL Client
Layers
Generated
Basic permissions, no validation
Generated
Generated
Generated
None
140. Platform / feature Prisma.io Hasura.io
Schema generation
Automatic
Resolvers
Automatic
Real-time Not so great
Authentication /
Sign up
Manual
Permissions Manual
Validation Manual
141. Platform / feature Prisma.io Hasura.io
Schema generation
Automatic Automatic
Resolvers
Automatic Automatic
Real-time Not so great Great
Authentication /
Sign up
Manual Manual
Permissions Manual Pretty good
Validation Manual Weak
142. Platform / feature Prisma.io Hasura.io In your dreams
Schema generation
Automatic Automatic Automatic
Resolvers
Automatic Automatic Automatic
Real-time Not so great Great Great
Authentication /
Sign up
Manual Manual Included
Permissions Manual Pretty good Included
Validation Manual Weak Included
143. Platform / feature Prisma.io Hasura.io RRAA
Schema generation
Automatic Automatic Automatic
Resolvers
Automatic Automatic Automatic
Real-time Not so great Great Great
Authentication /
Sign up
Manual Manual Included
Permissions Manual Pretty good Included
Validation Manual Weak Included