Software Alternatives, Accelerators & Startups

Gin Gonic VS ts-rest

Compare Gin Gonic VS ts-rest and see what are their differences

Gin Gonic logo Gin Gonic

Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin. - ...

ts-rest logo ts-rest

Simplify E2E type-safety for your Typescript REST APIs
  • Gin Gonic Landing page
    Landing page //
    2024-03-21
  • ts-rest Landing page
    Landing page //
    2023-05-06

Category Popularity

0-100% (relative to Gin Gonic and ts-rest)
Web Frameworks
100 100%
0% 0
API Tools
0 0%
100% 100
Developer Tools
85 85%
15% 15
Go Lang
100 100%
0% 0

User comments

Share your experience with using Gin Gonic and ts-rest. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Based on our record, Gin Gonic seems to be a lot more popular than ts-rest. While we know about 84 links to Gin Gonic, we've tracked only 7 mentions of ts-rest. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Gin Gonic mentions (84)

  • Ask HN: Good examples of Go back ends?
    Most golang backends I've seen meanwhile use or switched to using the "gin" framework to build their APIs. A lot of them also have conventions for the frontend, where the assets usually are stored in /public, so they can be go:embed later as an embed.FS instance into the binary. Having said that, there's plenty of examples on github. I'd recommend to take a look at bigger projects or templates and understand how... - Source: Hacker News / 4 months ago
  • From Laravel to Sponge: How to Easily Develop Web Services with Golang
    Excellent Performance: Sponge is built on the gin framework, providing outstanding performance for web service development. - Source: dev.to / 5 months ago
  • Uploading and Serving Images from MongoDB in Golang
    In this blog, we will delve into the fascinating realm of handling images in a Golang application, leveraging the power of the Gin framework for RESTful API development, MongoDB as a robust NoSQL database, and the mongo-driver library for seamless interaction with MongoDB. To store images efficiently, we'll explore the intricacies of GridFS, a specification within MongoDB for storing large files as separate chunks. - Source: dev.to / 5 months ago
  • Building RESTful API with Hexagonal Architecture in Go
    For building the RESTful Point of Sale service API, I've considered and selected a combination of technologies that would work seamlessly together. For handling HTTP requests and responses, using the Gin HTTP web framework would make sense because I think it seems complete and popular among Go community too. To ensure data integrity and persistence, I'm using PostgreSQL database with pgx as the database driver,... - Source: dev.to / 8 months ago
  • Different CORS settings for different paths?
    I have created an application with Go in Gin-Gonic. In my frontend (Nuxt3/TypeScript) I always get a CORS error:. Source: 9 months ago
View more

ts-rest mentions (7)

  • Popular Libraries For Building Type-safe Web Application APIs
    Ts-rest is an open-source project, and it has a fast-growing community. You can check out their documentation here. - Source: dev.to / about 2 months ago
  • The Many Ways Not to Build an API
    Surprisingly, thanks to the power of TypeScript, new Node.js RPC frameworks like tRPC and ts-rest now provide extremely pleasant and snappy developer experiences. - Source: dev.to / about 2 months ago
  • Show HN: Build type-safe web APIs with JavaScript, instantly
    It is worth noting there are also options to get both compile time type safety and runtime validation using TypeScript. Personally I’m a fan of ts-rest: https://ts-rest.com/ Write a specification of your endpoints in TypeScript, and from that one spec you get: - Server side validation of requests/responses - A TypeScript API client - Auto-generated docs (OAS) - TypeScript types for requests and responses to use in... - Source: Hacker News / 7 months ago
  • Show HN: REST Alternative to GraphQL and tRPC
    Strong disagree. The barrier you presume is that OpenAPI specs are hard to write. Raw oAPI in yaml is indeed a pain, but there are good DSL's out there. I personally love Zod->OpenAPI, via https://ts-rest.com which uses https://www.npmjs.com/package/@anatine/zod-openapi. https://github.com/asteasolutions/zod-to-openapi is another alternative for Zod.... - Source: Hacker News / 8 months ago
  • Will you, and when will you, use trpc in your code?
    I’ve recently been exploring https://ts-rest.com/ and it seems like a pretty solid project that can solve issues in my codebase. Source: 11 months ago
View more

What are some alternatives?

When comparing Gin Gonic and ts-rest, you can also consider the following products

Buffalo Go Framework - A Go web development eco-system, designed to make your life easier.

Fern - Describe your API endpoints, types, errors, and examples. Generate SDKs, documentation, and server boilerplate.

Beego - Beego Web is official blog and documentation website for beego app web framework

TrueVault - TrueVault is a HIPAA compliant database as a service. Healthcare applications use TrueVault to store protected health information (PHI). TrueVault provides all client­-side and server-side functionalities required by HIPAA.

FastAPI - FastAPI is an Open Source, modern, fast (high-performance), web framework for building APIs with Python 3.6+ based on standard Python type hints.

tapir - Tapir provides a programmer-friendly, reasonably type-safe API to expose, consume and document HTTP endpoints, using the Scala language.