Skip to content

Feature Workflow

  • Start with db schema using drizzle
  • Infer types from db schema using drizzle-zod
  • Create types and type validators
  • Use type validators in api routes
  • Consume API routes using react-query queries and mutations, strongly typed with inferred types
  • Consume inferred types in React components and render the data