kapp VS Hasura

Compare kapp vs Hasura and see what are their differences.

kapp

kapp is a simple deployment tool focused on the concept of "Kubernetes application" — a set of resources with the same label (by carvel-dev)

Hasura

Blazing fast, instant realtime GraphQL APIs on your DB with fine grained access control, also trigger webhooks on database events. (by hasura)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
kapp Hasura
7 226
859 30,780
1.5% 0.3%
8.1 9.8
3 days ago 5 days ago
Go TypeScript
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

kapp

Posts with mentions or reviews of kapp. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-07-28.
  • HELM vs KUSTOMIZE
    8 projects | /r/kubernetes | 28 Jul 2022
  • How to handle the lifecycle of multiple COTS
    3 projects | /r/kubernetes | 27 Jul 2022
    If you want to take it one step further: you might be applying several resources at a time that are logically one "application". kapp (https://carvel.dev/kapp/) lets you group those together and give them a name, and provides a "terraform-like" experience where it shows you its execution plan before applying updates. So then you might do `ytt -f | kapp deploy -a name-of-thing` Or you could use helm's templating engine but then still pass the resulting yaml to kapp for its unification of the deployment step.
  • Dhall: A Gateway Drug to Haskell
    27 projects | news.ycombinator.com | 7 Jun 2022
    since you mentioned Kubernetes...

    > It would be nice if there was a separate state reconciliation system that one could adapt to use with Cue or Dhall or any other frontend

    this exactly was thinking behind https://carvel.dev/kapp for Kubernetes (i'm one of the maintainers). it makes a point to not know how you decided to generate your Kubernetes config -- just takes it as input.

    > In particular the ability to import other files as semantic hashes seems like a great feature.

    it's an interesting feature but seems like it should be unnecessary given that config can be easily checked into git (your own and its dependencies).

  • Terraform should have remained stateless
    6 projects | news.ycombinator.com | 27 May 2022
    i think kubernetes is not a great example in favor of more client state (like tf) since k8s has uniform resource structure (metadata.*) and first class labeling support. but as you point out kubectl doesnt use labels well (at least imho).

    when building https://carvel.dev/kapp (which i think of as "optimized terraform" for k8s) the goal was absolutely to take advantage of those k8s features. we ended up providing two capabilities: direct label (more advanced) and "app name" (more user friendly). from impl standpoint, difference is how much state is maintained.

    "kapp deploy -a label:x=y -f ..." allows user to specify label that is applied to all deployed resources and is also used for querying k8s to determine whats out there under given label. invocation is completely stateless since burden of keeping/providing state (in this case the label x=y) is shifted to the user. downside of course is that all apis within k8s need to be iterated over. (side note, fun features like "kapp delete -a label:!x" are free thanks to k8s querying).

    "kapp deploy -a my-app -f ..." gives user ability to associate name with uniquely auto-generated label. this case is more stateful than previous but again only label needs to be saved (we use ConfigMap to store that label). if this state is lost, one has to only recover generated label.

    imho k8s api structure enables focused tools like kapp to be much much simpler than more generic tool like terraform. as much as i'd like for terraform to keep less state, i totally appreciate its needs to support lowest common denominator feature set.

    common discussion topics:

  • Deploy Neo4J's APOC plugin with code thanks to CARVEL vendir
    21 projects | dev.to | 4 Jul 2021
    kapp - Install, upgrade, and delete multiple Kubernetes resources as one "application"
  • Open Application Model – An open standard for defining cloud native apps
    4 projects | news.ycombinator.com | 19 Mar 2021
    I really like this approach for simplifying Kubernetes. A few projects similar to OAM in that it provides a higher level "Application" CRD:

    https://github.com/vmware-tanzu/carvel-kapp

Hasura

Posts with mentions or reviews of Hasura. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-01.
  • The Many Ways Not to Build an API
    4 projects | dev.to | 1 Apr 2024
    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.
  • The 2024 Web Hosting Report
    37 projects | dev.to | 20 Feb 2024
    Today, this ecosystem is going strong with new providers like Hasura, AppWrite and Supabase powering millions of projects. There are a few reasons people choose this style of hosting, especially if they are more comfortable with frontend development. BaaS lets them set up a database in a secure way, expose some business logic on top of the data, and connect via a dev-friendly SDK from their app or website code to save data easily. These modern tools build a blend of managed database with curated plugins such as authentication, great admin dashboards, and function as a service type capability - all in one package, and often offered as a integrated hosted service.
  • Ask HN: Is There a Zapier for APIs?
    3 projects | news.ycombinator.com | 19 Feb 2024
    Hi! If you’ve ever thought about something like using GraphQL for something like this.. You might like Hasura. (Obligatory I work for Hasura)

    We’ve got an OpenAPI import and you can setup cron-jobs or one-off jobs and do things like load in headers from the environment variables to pass through. There isn’t currently an easy journey for chaining multiple calls together without writing any code at all, but you can wrap pretty much any API endpoint via OpenAPI import or a custom action, and you can even make minor edits to things like the API contract format to change aliases/naming.

    Our goal is to join all the things, databases and API’s. Most people know us for instant GraphQL API’s that give you CRUD on your database, but we also wrap APIs.

    Not sure if something like this would fit your use-case and do check out some of the other things mentioned, but depending what you are trying to do I think Hasura might potentially work.

    You can find out more here: https://hasura.io

  • Ask HN: What is the easiest way to create a CRUD web app in 2024?
    2 projects | news.ycombinator.com | 16 Feb 2024
  • 2024 Web Development Wish List
    7 projects | dev.to | 10 Jan 2024
    Nested Mutation - 113 thumbs up, and still open since 2019... another case of not listening to the users?
  • Hasura and Keycloak integration with NestJS server
    5 projects | dev.to | 7 Dec 2023
    Hasura is an open-source real-time GraphQL API server with a strong authorization layer on your database. You can subscribe to database events via webhooks. It can combine multiple API servers into one unified graphQL API. Hasura is a great tool to build any CRUD GraphQL API. Hasura does not have any authentication mechanisms; e.g., you need an auth server to handle sign-up and sign-in.
  • 🤩 20 Awesome Tools For Your Web Dev Toolkit 🛠️
    7 projects | dev.to | 24 Nov 2023
    7. Hasura
  • Writing filters, sorting and pagination for all my queries is exhausting and repetitive. Is there a better way?
    2 projects | /r/graphql | 21 Oct 2023
    I built that repo to share some techniques behind the Hasura engine. Do check that out if you'd like to branch out a bit from your initial requirements; everything is declaratively defined in metadata, it is not a node/golang solution. https://hasura.io/
  • Database Review: Top Five Missing Features from Database APIs
    19 projects | dev.to | 14 Sep 2023
    Hasura (GraphQL)
    19 projects | dev.to | 14 Sep 2023
    Hasura ✅❌ - Insert but not Update

What are some alternatives?

When comparing kapp and Hasura you can also consider the following projects:

supabase - The open source Firebase alternative.

postgrest - REST API for any Postgres database

Kong - 🦍 The Cloud-Native API Gateway and AI Gateway.

crystal - 🔮 Graphile's Crystal Monorepo; home to Grafast, PostGraphile, pg-introspection, pg-sql2 and much more!

KrakenD - Ultra performant API Gateway with middlewares. A project hosted at The Linux Foundation

Neo4j - Graphs for Everyone

fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production

DreamFactory - DreamFactory API Management Platform

express-graphql - Create a GraphQL HTTP server with Express.

faunadb-js - Javascript driver for FaunaDB v4

graphjin - GraphJin - Build NodeJS / GO APIs in 5 minutes not weeks

Postwoman - 👽 Open source API development ecosystem - https://hoppscotch.io