Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nhost/cli
Nhost CLI
https://github.com/nhost/cli
authentication backend cli graphql hasura local postgresql serverless storage
Last synced: about 2 hours ago
JSON representation
Nhost CLI
- Host: GitHub
- URL: https://github.com/nhost/cli
- Owner: nhost
- License: mit
- Created: 2020-03-30T22:11:12.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T12:27:17.000Z (10 days ago)
- Last Synced: 2024-10-29T14:53:33.822Z (10 days ago)
- Topics: authentication, backend, cli, graphql, hasura, local, postgresql, serverless, storage
- Language: Go
- Homepage: https://docs.nhost.io/development/cli/overview
- Size: 79.3 MB
- Stars: 77
- Watchers: 6
- Forks: 28
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
Nhost CLI
[![Go Report Card](https://goreportcard.com/badge/github.com/nhost/cli)](https://goreportcard.com/report/github.com/nhost/cli)
[Nhost](http://nhost.io) is an open-source Firebase alternative with GraphQL.
The Nhost CLI is used to set up a local development environment. This environment will automatically track database migrations and Hasura metadata.
It's recommended to use the Nhost CLI and the [Nhost GitHub Integration](https://docs.nhost.io/platform/github-integration) to develop locally and automatically deploy changes to production with a git-based workflow (similar to Netlify & Vercel).
## Services
- [Nhost Dashboard](https://github.com/nhost/nhost/tree/main/dashboard)
- [Postgres Database](https://www.postgresql.org/)
- [Hasura's GraphQL Engine](https://github.com/hasura/graphql-engine)
- [Hasura Auth](https://github.com/nhost/hasura-auth)
- [Hasura Storage](https://github.com/nhost/hasura-storage)
- [Nhost Serverless Functions](https://github.com/nhost/functions)
- [Minio S3](https://github.com/minio/minio)
- [Mailhog](https://github.com/mailhog/MailHog)## Get Started
### Install the Nhost CLI
```bash
sudo curl -L https://raw.githubusercontent.com/nhost/cli/main/get.sh | bash
```### Initialize a project
```bash
nhost init
```### Initialize a project with a remote project as a starting point
```bash
nhost init --remote
```### Start the development environment
```bash
nhost up
```### Use the Nhost Dashboard
```bash
nhost up --ui nhost
```## Documentation
- [Get started with Nhost CLI (longer version)](https://docs.nhost.io/platform/overview/get-started-with-nhost-cli)
- [Nhost CLI](https://docs.nhost.io/platform/cli)
- [Reference](https://docs.nhost.io/reference/cli)## Build from Source
Make sure you have [Go](https://golang.org/doc/install) 1.18 or later installed.
The source code includes a self-signed certificate for testing purposes. Nhost workers with configured access to AWS may use the `cert.sh` script to generate a real certificate from Let's Encrypt.
```bash
go build -o /usr/local/bin/nhost
```
This will build the binary available as the `nhost` command in the terminal.## Dependencies
- [Docker](https://docs.docker.com/get-docker/)
- [Docker Compose](https://docs.docker.com/compose/install/)
- [curl](https://curl.se/)
- [Git](https://git-scm.com/downloads)## Supported Platforms
- MacOS
- Linux
- Windows WSL2