~/talk

Understanding GraphQL, databases and Prisma

Talkat GraphQL Conf. 2022 · on Thursday, 2022-09-29· [graphql, databases]
slides:none on file

Explains how Postgres DDL, the Prisma schema and a GraphQL schema each have distinct roles and how Prisma serves as the single source of truth by mapping its schema to the database and producing a client; shows using Prisma to generate a type-safe Prisma Client and recommends code-first GraphQL builders (Nexus/TypeGraphQL) plus GraphQL Code Generator to produce client types so the API exposes a curated subset of data while keeping type safety across DB, server and clients.

AI-written summary · about

  1. 0:00Introduction
  2. 2:22Data
  3. 4:05Understanding Data
  4. 5:53Data is hard to model
  5. 9:33What is a schema
  6. 11:10Benefits of schemas
  7. 14:18There are schemas everywhere
  8. 14:51Multiple schemas
  9. 16:55Define your data in your domain
  10. 17:33Example Stack
  11. 17:52Database Schema
  12. 18:43SQL
  13. 19:15Prisma Schema
  14. 22:02GraphQL Schema
  15. 23:30GraphQL Types
  16. 30:31Outro
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.