/nhost

Nhost is a serverless backend for web and mobile apps.

Primary LanguageTypeScriptMIT LicenseMIT



Quickstart   •   Website   •   Docs   •   Blog   •   Twitter   •   Discord


Nhost is a serverless backend for web and mobile apps built with the following things in mind:

  • Open Source
  • Developer Productivity
  • SQL
  • GraphQL

Nhost consists of open source software:

Architecture of Nhost




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

How to get started

Option 1: One-click deployment with Nhost (recommended)

  1. Create Nhost account (you can use GitHub to sign up)
  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 a user and make your first GraphQL query

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

import { NhostClient } from '@nhost/nhost-js'

const nhost = new NhostClient({
  backendUrl: 'https://awesome-app.nhost.run'
})

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

await nhost.graphql.request(`{
  users {
    id
    displayName
    email
  }
}`)

Frontend Agnostic

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

Resources

Nhost libraries and tools

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.

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 for more details about how to contribute. We're looking forward to your contribution!

Security

If you discover a security vulnerability within Nhost, please e-mail security@nhost.io. All security vulnerabilities will be promptly addressed.