npgsqlrest-docs/examples/2_static_type_checking at main · NpgsqlRest/npgsqlrest-docs · GitHub
Skip to content

Latest commit

 

History

History

Folders and files

README.md

Example 2: Static Type Checking

Demonstrates end-to-end type safety from PostgreSQL to TypeScript. NpgsqlRest auto-generates TypeScript interfaces from PostgreSQL function return types, so any schema changes are caught at compile time.

Running

bun run dev

Then open http://127.0.0.1:8080 in your browser.