TypeScript and SQL: Six Ways to Bridge the Divide

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • crosswalk

    Typed express router for TypeScript

  • 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.

  • zod

    TypeScript-first schema validation with static type inference

  • 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.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Simplifying Form Validation with Zod and React Hook Form

    1 project | dev.to | 4 May 2024
  • From Flaky to Flawless: Angular API Response Management with Zod

    1 project | dev.to | 25 Apr 2024
  • You can’t run away from runtime errors using TypeScript

    1 project | dev.to | 10 Apr 2024
  • Epic Next JS 14 Tutorial Part 4: How To Handle Login And Authentication in Next.js

    1 project | dev.to | 4 Apr 2024
  • Error handling in our form component for the NextAuth CredentialsProvider

    2 projects | dev.to | 1 Apr 2024