Software Alternatives, Accelerators & Startups

ZenStack VS ts-rest

Compare ZenStack VS ts-rest and see what are their differences

ZenStack logo ZenStack

Build scalable web apps with minimal code

ts-rest logo ts-rest

Simplify E2E type-safety for your Typescript REST APIs
  • ZenStack Landing page
    Landing page //
    2023-10-10
  • ts-rest Landing page
    Landing page //
    2023-05-06

Category Popularity

0-100% (relative to ZenStack and ts-rest)
Developer Tools
28 28%
72% 72
API Tools
19 19%
81% 81
Web Service Automation
100 100%
0% 0
Utilities
0 0%
100% 100

User comments

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

Social recommendations and mentions

ts-rest might be a bit more popular than ZenStack. We know about 7 links to it since March 2021 and only 6 links to ZenStack. 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.

ZenStack mentions (6)

  • PHP: Laravel, Ruby: Rails, JavaScript:?
    The ZenStack toolkit I’m building on top of Prisma aims to narrow down the gap further. It adds an Authorization layer on top of the schema and then automatically generates both APIs and frontend hooks for you. So, put simply, once you're done with your schema, you're almost done with your backend. You can then choose whatever frontend framework, like React, Vue, or Svelte, to get your UI done. - Source: dev.to / 7 days ago
  • The Many Ways Not to Build an API
    Another strategy is to model access control declaratively and enforce it in the application layer. ZenStack (built above Prisma ORM) and Hasura are good examples of this approach. The following code shows how access policies are defined with ZenStack and how a secured CRUD API can be derived automatically. - Source: dev.to / 2 months ago
  • Building an Admin Console With Minimum Code Using React-Admin, Prisma, and Zenstack
    ZenStack is a toolkit built above Prisma that adds access control, automatic CRUD web API, etc. It unleashes the ORM's full power for full-stack development. - Source: dev.to / 3 months ago
  • How Much Work Does It Take to Build a Programming Language?
    We need to have some concrete language to build to help make sense of things. I always felt real-world examples are much more effective than toys, so I'll use the ZModel language that we're building at ZenStack as an example. It's a DSL used to model database tables and access control rules. To keep the post short, I'm going only to use a small set of features to demonstrate. Our goal will be to compile the... - Source: dev.to / 4 months ago
  • Modeling Authorization in Prisma - No Theory, Just Code
    It's assumed that you know the basics of using Prisma. Prisma is an excellent ORM. But it doesn't have a built-in authorization solution. To supplement that, we'll use ZenStack throughout the samples. ZenStack is a toolkit that supercharges Prisma in many ways. One of the features is to provide a declarative way to model authorization. Its modeling language, ZModel, is a superset of Prisma Schema Language, so it... - Source: dev.to / 5 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 / 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: 12 months ago
View more

What are some alternatives?

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

Supabase - An open source Firebase alternative

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

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.

goa - A design driven approach for building microservices in Go

OneSignal - Customer engagement platform used by over 1 million developers and marketers; the fastest and most reliable way to send mobile and web push notifications, in-app messages, emails, and SMS.

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