Best SPA Typescript <-> Golang integration

This page summarizes the projects mentioned and recommended in the original post on /r/golang

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • typescriptify-golang-structs

    A Golang struct to TypeScript class/interface converter

  • I have been looking into various ways of doing this properly, including openapi, swagger and grpc, connect-go etc. My conclusion is that these are overkill for this project and that something like https://github.com/tkrajina/typescriptify-golang-structs which generates typescript definitions from go structs, are probably more than enough.

  • twirp

    A simple RPC framework with protobuf service definitions

  • Twirp is nice. You can code-gen the front end and the backend code and you get swagger for free if you want it

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • twirp-swagger-gen

    A Twirp RPC Swagger/OpenAPI 2.0 generator

  • Twirp is nice. You can code-gen the front end and the backend code and you get swagger for free if you want it

  • webrpc

    webrpc is a schema-driven approach to writing backend services for modern Web apps and networks

  • webrpc

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