The Open Source Firebase Alternative with GraphQL.
Nhost is an open source Firebase alternative with GraphQL, built with the following things in mind:
Nhost consists of open source software:
Visit https://docs.nhost.io for the complete documentation.
The Nhost CLI is the easiest way to start developing locally. It sets up a local environment that tracks database migrations and Hasura metadata.
Install the CLI:
brew install nhost/tap/nhost or curl -sSL https://raw.githubusercontent.com/nhost/nhost/main/cli/get.sh | bashnix profile install github:nhost/nhost#clinpm install -D @nhost/cli,
pnpm add -D @nhost/cli, yarn add -D @nhost/cli, or
bun add -d @nhost/cliStart building:
nhost login
nhost init
nhost upRead the full CLI Quickstart guide.
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.
Install the @nhost/nhost-js package and start building your app:
import { createClient } from '@nhost/nhost-js'
const nhost = createClient({
subdomain: 'your-project',
region: 'eu-central-1'
})
await nhost.auth.signInEmailPassword({
email: '[email protected]',
password: '<password>'
})
await nhost.graphql.request({
query: `
query GetUsers {
users {
id
displayName
email
}
}
`
})Nhost is frontend agnostic, which means Nhost works with all frontend frameworks.
First and foremost: Star and watch this repository to stay up-to-date.
Also, follow Nhost on GitHub Discussions, our Blog, and on X. You can chat with the team and other members on Discord and follow our tutorials and other video material at YouTube.
This repository, and most of our other open source projects, are licensed under the MIT license.
Here are some ways of contributing to making Nhost better:
Local development: functions is unhealthy, UNABLE_TO_VERIFY_LEAF_SIGNATURE
docs: Flutter SDK client reference page — in active development
nhost ingress gRPC and mTLS support
Add `nhost whoami`
dashboard: table permissions, column comparisons inside a relationship can't reference the root table
Setting multiple secrets with cli command can trigger too many deployments
feat: TLS for Nhost Run services
cli: overlays with local settings
nhost-js client needs upload progress and cancel upload methods
dashboard: be able to redeploy any ref inside the deployments list, not just the first item