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:
- Database: PostgreSQL
- Instant GraphQL API: Hasura
- Authentication: Hasura Auth
- Storage: Hasura Storage
- Serverless Functions: Node.js (JavaScript and TypeScript)
- Nhost CLI for local development
Visit https://docs.nhost.io for the complete documentation.
- Create Nhost account (you can use GitHub to sign up)
- Create Nhost app
- Done!
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 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
}
}`)
Nhost is frontend agnostic, which means Nhost works with all frontend frameworks.
Nhost libraries and tools
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.
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:
- 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!
If you discover a security vulnerability within Nhost, please e-mail security@nhost.io. All security vulnerabilities will be promptly addressed.