Nhost

The Open Source Firebase Alternative with GraphQL.

README

Nhost


Nhost


Quickstart  •  Website  •  Docs  •  Blog  •  Twitter  •  Discord

Nhost is an open source Firebase alternative with GraphQL, built with the following things in mind:

- Open Source
- GraphQL
- SQL
- Great Developer Experience

Nhost consists of open source software:

- Database: PostgreSQL
- Instant GraphQL API: Hasura
- Authentication: Hasura Auth
- Storage: Hasura Storage
- Serverless Functions: Node.js (JavaScript and TypeScript)
- Nhost CLI for local development

Architecture of Nhost






Visit https://docs.nhost.io for the complete documentation.

Get Started


Option 1: Nhost Hosted Platform


1. Sign in to Nhost.
2. Create Nhost app.
3. Done.

Option 2: Self-hosting


Since Nhost is 100% open source, you can self-host the whole Nhost stack. Check out the example docker-compose file to self-host Nhost.

Sign In and Make a Graphql Request


Install the @nhost/nhost-js package and start build your app:

  1. ``` js
  2. import { NhostClient } from '@nhost/nhost-js'

  3. const nhost = new NhostClient({
  4.   subdomain: '<your-subdomain>',
  5.   region: '<your-region>'
  6. })

  7. await nhost.auth.signIn({ email: 'elon@musk.com', password: 'spaceX' })

  8. await nhost.graphql.request(`{
  9.   users {
  10.     id
  11.     displayName
  12.     email
  13.   }
  14. }`)
  15. ```

Frontend Agnostic


Nhost is frontend agnostic, which means Nhost works with all frontend frameworks.


Resources


- Start developing locally with the Nhost CLI

Nhost Clients



Integrations



Applications



Community ❤️


First and foremost: Star and watch this repository to stay up-to-date.

Also, follow Nhost on GitHub Discussions, our Blog, and on Twitter. You can chat with the team and other members on Discord and follow our tutorials and other video material at YouTube.

Nhost is Open Source


This repository, and most of our other open source projects, are licensed under the MIT license.

ROSS Index - Fastest Growing Open-Source Startups in Q1 2022 | Runa Capital

How to contribute


Here are some ways of contributing to making Nhost better:

- Try out Nhost, and think of ways to make the service better. Let us know here on GitHub.
- Join our Discord and connect with other members to share and learn from.
- Send a pull request to any of our open source repositories on Github. Check our contribution guide and our developers guide for more details about how to contribute. We're looking forward to your contribution!

Contributors



plmercereau
Pilou
elitan
Johan Eliasson
szilarddoro
Szilárd Dóró
nunopato
Nuno Pato
gdangelo
Grégory D'Angelo
ejkkan
Erik Magnusson
guicurcio
Guido Curcio
subatuba21
Subha Das
sebagudelo
Sebagudelo
mrinalwahal
Mrinal Wahal
timpratim
Pratim
chrtze
Christopher Möller
GavanWilhite
Gavan Wilhite
FuzzyReason
Vadim Smirnov
macmac49
Macmac49
subhendukundu
Subhendu Kundu
heygambo
Christian Gambardella
dbarrosop
David Barroso
hajek-raven
Filip Hájek
MelodicCrypter
Hugh Caluscusin
jerryjappinen
Jerry Jäppinen
mdp18
Max
mustafa-hanif
Mustafa Hanif
nbourdin
Nicolas Bourdin
piromsurang
Piromsurang Rungserichai
Savinvadim1312
Savin Vadim
Svarto
Svarto
muttenzer
Muttenzer
alexander-mart
Alexander Mart
ahmic
Amir Ahmic
akd-io
Anders Kjær Damgaard
Sonichigo
Animesh Pathak
chrisli-03
Chris
massless
Chris Wetherell
rustyb
Colin Broderick
daguitosama
Dago
dminkovsky
Dmitry Minkovsky
dohomi
Dominic Garms
gaurav1999
Gaurav Agrawal
alveshelio
Helio Alves
nkhdo
Hoang Do
eltociear
Ikko Ashimine
jladuval
Jacob Duval
leothorp
Leo Thorp
LucasBois1
Lucas Bois
MarcelloTheArcane
Max Reynolds
nachoaldamav
Nacho Aldama
ghoshnirmalya
Nirmalya Ghosh
quentin-decre
Quentin Decré
elephant3
Siarhei Lipchyk
altschuler
Simon Altschuler
atapas
Tapas Adhikary
uulwake
Ulrich Wake
kwarabei
Vadim
TheRedLancer
Zach Burnaby
komninoschat
Komninos
meesvandongen
Meesvandongen