stack VS Hasura

Compare stack vs Hasura and see what are their differences.

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
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
stack Hasura
47 228
3,949 30,810
0.3% 0.4%
9.9 9.8
7 days ago 5 days ago
Haskell TypeScript
BSD 3-clause "New" or "Revised" License 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.

stack

Posts with mentions or reviews of stack. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-24.
  • Leaving Haskell Behind
    7 projects | news.ycombinator.com | 24 Aug 2023
    Ah, didn't run into this issue, as I don't use vscode.

    Apparently there is some work being done to improve the stack <> hls experience, but I wouldn't know how it's going and when it's being delivered: https://github.com/commercialhaskell/stack/issues/6154

  • Help, i get this error when executing the command "xmonad"
    1 project | /r/xmonad | 1 Jun 2023
    this is it: # This file was automatically generated by 'stack init' # # Some commonly used options have been documented as comments in this file. # For advanced use and comprehensive documentation of the format, please see: # https://docs.haskellstack.org/en/stable/yaml\_configuration/ # Resolver to choose a 'specific' stackage snapshot or a compiler version. # A snapshot resolver dictates the compiler version and the set of packages # to be used for project dependencies. For example: # # resolver: lts-3.5 # resolver: nightly-2015-09-21 # resolver: ghc-7.10.2 # # The location of a snapshot can be provided as a file or url. Stack assumes # a snapshot provided as a file might change, whereas a url resource does not. # # resolver: ./custom-snapshot.yaml # resolver: https://example.com/snapshots/2018-01-01.yaml resolver: url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/20/23.yaml # User packages to be built. # Various formats can be used as shown in the example below. # # packages: # - some-directory # - https://example.com/foo/bar/baz-0.0.2.tar.gz # subdirs: # - auto-update # - wai packages: - xmonad - xmonad-contrib # Dependency packages to be pulled from upstream that are not in the resolver. # These entries can reference officially published versions as well as # forks / in-progress versions pinned to a git hash. For example: # # extra-deps: # - acme-missiles-0.3 # - git: https://github.com/commercialhaskell/stack.git # commit: e7b331f14bcffb8367cd58fbfc8b40ec7642100a # # extra-deps: [] # Override default flag values for local packages and extra-deps # flags: {} # Extra package databases containing global packages # extra-package-dbs: [] # Control whether we use the GHC we find on the path # system-ghc: true # # Require a specific version of Stack, using version ranges # require-stack-version: -any # Default # require-stack-version: ">=2.11" # # Override the architecture used by Stack, especially useful on Windows # arch: i386 # arch: x86_64 # # Extra directories used by Stack for building # extra-include-dirs: [/path/to/dir] # extra-lib-dirs: [/path/to/dir] # # Allow a newer minor version of GHC than the snapshot specifies # compiler-check: newer-minor
  • ANN: stack-2.11.1
    2 projects | /r/haskell | 18 May 2023
    Fix incorrect warning if allow-newer-deps are specified but allow-newer is false. See #6068.
  • [ANN] First release candidate for stack-2.11.1
    1 project | /r/haskell | 5 May 2023
    You can download binaries for this pre-release from: Release rc/v2.11.0.1 (release candidate) · commercialhaskell/stack · GitHub .
  • PEP 582 rejected - consensus among the community needed
    7 projects | /r/Python | 28 Mar 2023
    Fair enough! Thanks for the suggestion, then. In fact, the non-Python language I develop most in (Haskell, with the Stack package manager) has exactly that behaviour as a default: new packages are installed to a sandboxed local directory, and it takes an explicit request to install something globally. (And even then, you can switch between different global "known good configurations" of package versions which work well together – a pretty handy feature.)
  • Any open source projects to contribute to for beginners
    8 projects | /r/haskell | 13 Feb 2023
  • How to suppress warnings from external packages?
    1 project | /r/haskell | 30 Jan 2023
    Opened a ticket on GitHub.
  • ANN: stack-2.9.3
    2 projects | /r/haskell | 17 Dec 2022
    In YAML configuration files, the hackage-security key of the package-index key or the package-indices item can be omitted, and the Hackage Security configuration for the item will default to that for the official Hackage server. See #5870.
  • `Stack build` fails with `gcc' failed in phase `Assembler'
    1 project | /r/haskell | 30 Nov 2022
    FYI this was solved in here: https://github.com/commercialhaskell/stack/issues/5958
  • [ANN] First release candidate for stack-2.9.3
    5 projects | /r/haskell | 22 Nov 2022
    Yes, that is correct. Stack's allow-newer: true configuration has always actually meant 'ignore bounds'. However, the author of the allow-newer-deps development has in mind a further development that will introduce an actual ignore-bounds key with the same expressive syntax that is used by Cabal. This is discussed at Stack #5910.

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-25.
  • Serious flaws in SQL – Edgar F. Codd (1990)
    2 projects | news.ycombinator.com | 25 Apr 2024
    > 2. ORMs do not hide SQL nastiness.

    This is certainly true!

    I mean: ORMs are now well known to "make the easy queries slightly more easy, while making intermediate queries really hard and complex queries impossible".

    I think the are of ORMs is over. It simply did not deliver.

    If a book on SQL is --say-- 100 pages, a book on Hibernate is 400 pages. So much to learn just to make the easy queries slightly easier to type? Just not worth it.

    I prefer jooq any day over ORMs. And dont get me started over what tools like Hasuna have to offer.

    There are also some languages (forgot the names) that are SQL-done-right. Select in the back, more type safe, more logic, more in the same steps as the query gets executed. These need to be adopted by PG and MySQL and we're good to go. (IMHO)

    https://www.jooq.org/

    https://hasura.io/

  • Ask HN: How Can I Make My Front End React to Database Changes in Real-Time?
    8 projects | news.ycombinator.com | 17 Apr 2024
    [4] https://github.com/hasura/graphql-engine/blob/master/architecture/live-queries.md
  • 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 V3 Engine is in alpha
    1 project | news.ycombinator.com | 20 Dec 2023
  • Hasura: Instant GraphQL on your Postgres data
    1 project | news.ycombinator.com | 14 Dec 2023
  • 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.

What are some alternatives?

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

ghcup-hs - THIS REPO IS A MIRROR, BUG REPORTS GO HERE:

supabase - The open source Firebase alternative.

Cabal - Official upstream development repository for Cabal and cabal-install

postgrest - REST API for any Postgres database

ghcid - Very low feature GHCi based IDE

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

castle - A tool to manage shared cabal-install sandboxes.

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

haskell-language-server - Official haskell ide support via language server (LSP). Successor of ghcide & haskell-ide-engine.

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

profiterole - GHC prof manipulation script

Neo4j - Graphs for Everyone