Log in to GraphQL EditorGet started
Nhost - open source Firebase alternative with GraphQL
Michal

Michał Tyszkiewicz

8/9/2021

Nhost - open source Firebase alternative with GraphQL

Most devs are probably at least somewhat familiar with Firebase, Google’s out of the box backend-solution for mobile & web apps. It's been a few years since Google bought it and as usual the community has provided us with a growing number of alternatives. Although Firebase does work with GraphQL that connection can always be improved to give us more and that is exactly where Nhost comes in.

Nhost = PostgreSQL + Hasura's GraphQL Engine + Hasura Backend Plus

I touched a bit recently on combining technologies to get the most out of them when talking about the GRAND Stack, well this will be a bit of a deja vu as Nhost is also a stack. It's basically PostgreSQL combined with Hasura's GraphQL Engine and Hasura Backend Plus, this together creates an open source Backend as a Service. Nhost uses them to get you everything you need:

  • out of the box backend with a relational database,
  • user authentication
  • data storage,
  • serverless fucntions,
  • GraphQL API.

Hasura

Source: nhost.io

The main draw

Well that’s just the inner workings and if it's supposed to be an alternative to Firebase the most interesting part is obviously the features. After all no one gets interested in a tool based just on how it works but rather what it can do for them, so let's dive into that:

  • out of the box: provides you with a solid base for starting a project, database, storage, scalability, authentication, user management and API,
  • customization and versatility: aside from the defaults it can be customized and works well with others. Hasura Backend Plus supports customisable storage rules on any S3-compatible instance and works with third party Open Authentication providers like GitHub, Google, Facebook, Twitter and others,
  • performance: PostgreSQL and Hasura GraphQL Engine are preconfigured to work as fast as possible,
  • subscriptions: one often voiced complaint about GraphQL is the lack of a good subscription solution and manual query updates. No worries there, Nhost handles all that for you via Hasura,
  • Dart and Flutter support: provides easy to use software development kit packages for Flutter devs (beta).

Nhost

Source: nhost.io

Who is it for?

Well you the reader, right? Well to be exact it's geared towards indie devs, startups and small to medium teams, at least for now according to the developers. The project has raised 3 million dollars for its next stage of development with prominent investors including the founders of GitHub, Netlify and WorkOS.
So you can bank on it growing quite a bit in the near future and if it doesn't sound convincing to you yet, it might soon as they add new features. For now it's already a useful tool which provides you with a great base out of the box for starting your project. Even if you’re already using Firebase, Strapi or Openbase it's always good to check out an alternative and see if it does something better, after all its open source.

Check out our other blogposts

GQLess - a GraphQL client without queries
Tomek Poniatowicz
Tomek Poniatowicz
GQLess - a GraphQL client without queries
2 min read
over 4 years ago
Communication with GraphQL Server in JS with Pokemon Schema
Artur Czemiel
Artur Czemiel
Communication with GraphQL Server in JS with Pokemon Schema
3 min read
over 5 years ago
Getting started with GraphQL in Python
Tomek Poniatowicz
Tomek Poniatowicz
Getting started with GraphQL in Python
3 min read
about 5 years ago

Ready for take-off?

Elevate your work with our editor that combines world-class visual graph, documentation and API console

Get Started with GraphQL Editor