crosswalk
vellum-client-generator
crosswalk | vellum-client-generator | |
---|---|---|
3 | 1 | |
83 | 3 | |
- | - | |
0.0 | 9.3 | |
almost 2 years ago | 7 days ago | |
TypeScript | MDX | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
crosswalk
-
TypeScript and SQL: Six Ways to Bridge the Divide
The lack of RTTI in TypeScript _is_ definitely a pain but the jump to "must use decorators" and "TypeScript is not a server language" is unjustified. There are many approaches to validation and RTTI with TS. For example, you can generate JSONSchema from your TS types (see https://github.com/danvk/crosswalk for an example of this approach) or you can use a tool like Zod (https://zod.dev/) to declare your schemas as runtime values and derive TS types from those.
Writing your backend in Java or C# comes with its own issues, i.e. you can't share code between backend and frontend.
-
tRPC – Move Fast and Break Nothing. End-to-end typesafe APIs made easy
I built something that sounds very similar at my last company called crosswalk. Open sourced here: https://github.com/danvk/crosswalk
One thing that worked surprisingly well: codegen TypeScript types from your database and use those in your API schema.
- recommended design pattern for TS+express?
vellum-client-generator
What are some alternatives?
sdk-node - Node.js SDK for the Squidex API
typed-graphql-builder - A fully type-safe graphql query builder, inspired by tql
oto - Go driven rpc code generation tool for right now.
vellum-client-python - Python SDK for Vellum API
zact - Nothing to see here
ts-websocket-compressor - This library compresses data sent over a WebSocket connection to improve throughput on devices that can't use compression for one reason or another.
trpc-openapi - OpenAPI support for tRPC 🧩
openapi-typescript - Generate TypeScript types from OpenAPI 3 specs
electron-trpc - Build type-safe Electron inter-process communication using tRPC