mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-13 19:33:55 +03:00
noop: replace subdomain links with subpath (#3869)
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
This commit is contained in:
parent
85dae9be9f
commit
865b150c82
2
.github/PULL_REQUEST_TEMPLATE.md
vendored
2
.github/PULL_REQUEST_TEMPLATE.md
vendored
@ -42,7 +42,7 @@
|
||||
Does this PR change Hasura Catalog version?
|
||||
- [ ] No
|
||||
- [ ] Yes
|
||||
- [ ] Updated docs with SQL for downgrading the catalog <!-- https://docs.hasura.io/1.0/graphql/manual/deployment/downgrading.html#downgrading-across-catalogue-versions -->
|
||||
- [ ] Updated docs with SQL for downgrading the catalog <!-- https://hasura.io/docs/1.0/graphql/manual/deployment/downgrading.html#downgrading-across-catalogue-versions -->
|
||||
|
||||
#### Metadata
|
||||
<!-- Hasura metadata changes -->
|
||||
|
@ -72,7 +72,7 @@ The contributing guide for docs can be found at [docs/CONTRIBUTING.md](docs/CONT
|
||||
|
||||
### Community content
|
||||
|
||||
Since we launched our [learn page](https://learn.hasura.io/), we are happy about contributions:
|
||||
Since we launched our [learn page](https://hasura.io/learn/), we are happy about contributions:
|
||||
|
||||
- Fix errors in existing learn tutorials
|
||||
|
||||
|
16
README.md
16
README.md
@ -1,6 +1,6 @@
|
||||
# Hasura GraphQL Engine
|
||||
|
||||
[![Docs](https://img.shields.io/badge/docs-v1.0-brightgreen.svg?style=flat)](https://docs.hasura.io)
|
||||
[![Docs](https://img.shields.io/badge/docs-v1.0-brightgreen.svg?style=flat)](https://hasura.io/docs)
|
||||
[![CircleCI](https://circleci.com/gh/hasura/graphql-engine.svg?style=shield)](https://circleci.com/gh/hasura/graphql-engine)
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@ Hasura GraphQL Engine is a blazing-fast GraphQL server that gives you **instant,
|
||||
|
||||
Hasura helps you build GraphQL apps backed by Postgres or incrementally move to GraphQL for existing applications using Postgres.
|
||||
|
||||
Read more at [hasura.io](https://hasura.io) and the [docs](https://docs.hasura.io).
|
||||
Read more at [hasura.io](https://hasura.io) and the [docs](https://hasura.io/docs).
|
||||
|
||||
------------------
|
||||
|
||||
@ -36,7 +36,7 @@ Read more at [hasura.io](https://hasura.io) and the [docs](https://docs.hasura.i
|
||||
* **Admin UI & Migrations**: Admin UI & Rails-inspired schema migrations
|
||||
* **Postgres** ❤️: Supports Postgres types (PostGIS/geo-location, etc.), turns views to *graphs*, trigger stored functions or procedures with mutations
|
||||
|
||||
Read more at [hasura.io](https://hasura.io) and the [docs](https://docs.hasura.io).
|
||||
Read more at [hasura.io](https://hasura.io) and the [docs](https://hasura.io/docs).
|
||||
|
||||
## Table of contents
|
||||
<!-- markdown-toc start - Don't edit this section. Run M-x markdown-toc-refresh-toc -->
|
||||
@ -77,7 +77,7 @@ The fastest way to try Hasura out is via Heroku.
|
||||
|
||||
3. Make your first GraphQL query
|
||||
|
||||
Create a table and instantly run your first query. Follow this [simple guide](https://docs.hasura.io/1.0/graphql/manual/getting-started/first-graphql-query.html).
|
||||
Create a table and instantly run your first query. Follow this [simple guide](https://hasura.io/docs/1.0/graphql/manual/getting-started/first-graphql-query.html).
|
||||
|
||||
### Other one-click deployment options
|
||||
|
||||
@ -85,13 +85,13 @@ Check out the instructions for the following one-click deployment options:
|
||||
|
||||
| **Infra provider** | **One-click link** | **Additional information** |
|
||||
|:------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------------------------------------------------:|
|
||||
| DigitalOcean | [![Deploy to DigitalOcean](https://graphql-engine-cdn.hasura.io/img/create_hasura_droplet_200px.png)](https://marketplace.digitalocean.com/apps/hasura?action=deploy&refcode=c4d9092d2c48&utm_source=hasura&utm_campaign=readme) | [docs](https://docs.hasura.io/1.0/graphql/manual/guides/deployment/digital-ocean-one-click.html#hasura-graphql-engine-digitalocean-one-click-app) |
|
||||
| Azure | [![Deploy to Azure](http://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fstable%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json) | [docs](https://docs.hasura.io/1.0/graphql/manual/guides/deployment/azure-container-instances-postgres.html) |
|
||||
| DigitalOcean | [![Deploy to DigitalOcean](https://graphql-engine-cdn.hasura.io/img/create_hasura_droplet_200px.png)](https://marketplace.digitalocean.com/apps/hasura?action=deploy&refcode=c4d9092d2c48&utm_source=hasura&utm_campaign=readme) | [docs](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/digital-ocean-one-click.html#hasura-graphql-engine-digitalocean-one-click-app) |
|
||||
| Azure | [![Deploy to Azure](http://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fmaster%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json) | [docs](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/azure-container-instances-postgres.html) |
|
||||
|
||||
### Other deployment methods
|
||||
|
||||
For Docker-based deployment and advanced configuration options, see [deployment
|
||||
guides](https://docs.hasura.io/1.0/graphql/manual/getting-started/index.html) or
|
||||
guides](https://hasura.io/docs/1.0/graphql/manual/getting-started/index.html) or
|
||||
[install manifests](install-manifests).
|
||||
|
||||
## Architecture
|
||||
@ -122,7 +122,7 @@ processing - [read more](event-triggers.md).
|
||||
|
||||
### Derived data or data transformations
|
||||
|
||||
Transform data in Postgres or run business logic on it to derive another dataset that can be queried using GraphQL Engine - [read more](https://docs.hasura.io/1.0/graphql/manual/queries/derived-data.html).
|
||||
Transform data in Postgres or run business logic on it to derive another dataset that can be queried using GraphQL Engine - [read more](https://hasura.io/docs/1.0/graphql/manual/queries/derived-data.html).
|
||||
|
||||
## Demos
|
||||
|
||||
|
@ -45,7 +45,7 @@ const (
|
||||
const (
|
||||
StrTelemetryNotice = `Help us improve Hasura! The cli collects anonymized usage stats which
|
||||
allow us to keep improving Hasura at warp speed. To opt-out or read more,
|
||||
visit https://docs.hasura.io/1.0/graphql/manual/guides/telemetry.html
|
||||
visit https://hasura.io/docs/1.0/graphql/manual/guides/telemetry.html
|
||||
`
|
||||
)
|
||||
|
||||
|
@ -45,7 +45,7 @@ func NewInitCmd(ec *cli.ExecutionContext) *cobra.Command {
|
||||
# Create a directory with endpoint and admin secret configured:
|
||||
hasura init <my-project> --endpoint https://my-graphql-engine.com --admin-secret adminsecretkey
|
||||
|
||||
# See https://docs.hasura.io/1.0/graphql/manual/migrations/index.html for more details`,
|
||||
# See https://hasura.io/docs/1.0/graphql/manual/migrations/index.html for more details`,
|
||||
SilenceUsage: true,
|
||||
Args: cobra.MaximumNArgs(1),
|
||||
PreRunE: func(cmd *cobra.Command, args []string) error {
|
||||
|
@ -137,7 +137,7 @@ You can also configure the server in JWKS mode and set `HASURA_GRAPHQL_JWT_SECRE
|
||||
{ "type": "RS256", "jwk_url": "hostname:port/jwks" }
|
||||
```
|
||||
|
||||
More information in the [Hasura documentation](https://docs.hasura.io/1.0/graphql/manual/auth/authentication/jwt.html).
|
||||
More information in the [Hasura documentation](https://hasura.io/docs/1.0/graphql/manual/auth/authentication/jwt.html).
|
||||
|
||||
## Usage
|
||||
|
||||
|
@ -24,11 +24,11 @@ Further reading: [Firebase SDK for Cloud Functions](https://firebase.google.com/
|
||||
|
||||
Set `--auth-hook` or `HASURA_GRAPHQL_AUTH_HOOK` to the endpoint obtained above.
|
||||
|
||||
[GraphQL engine server flags reference](https://docs.hasura.io/1.0/graphql/manual/deployment/graphql-engine-flags/reference.html) for details.
|
||||
[GraphQL engine server flags reference](https://hasura.io/docs/1.0/graphql/manual/deployment/graphql-engine-flags/reference.html) for details.
|
||||
|
||||
## Create table and set permission
|
||||
|
||||
Follow [Common roles and auth examples](https://docs.hasura.io/1.0/graphql/manual/auth/authorization/common-roles-auth-examples.html)
|
||||
Follow [Common roles and auth examples](https://hasura.io/docs/1.0/graphql/manual/auth/authorization/common-roles-auth-examples.html)
|
||||
on Hasura doc for details of how to setup permission to a table.
|
||||
|
||||
Make sure to change id column of user table to TXT type as uid sent from webhook is firebase User UID format (e.g. 0LnvZc7405TjRTbjURhZYYVXPI52)
|
||||
|
@ -93,7 +93,7 @@ $ now
|
||||
|
||||
Once you have deployed this webhook, you can use it along with the GraphQL engine. You have to set the webhook URL as an environment variable in the docker container that runs the GraphQL engine.
|
||||
|
||||
*[Read the docs](https://docs.hasura.io/1.0/graphql/manual/auth/authentication/webhook.html).*
|
||||
*[Read the docs](https://hasura.io/docs/1.0/graphql/manual/auth/authentication/webhook.html).*
|
||||
|
||||
### Firebase
|
||||
|
||||
|
@ -90,4 +90,4 @@ The client just need to add `Authorization: Bearer <token>` to the request sendi
|
||||
|
||||
The endpoint (say `http://localhost:8080/webhook`) can be given as an environment variable `HASURA_GRAPHQL_AUTH_HOOK` to GraphQL Engine.
|
||||
|
||||
[Read more about webhook here](https://docs.hasura.io/1.0/graphql/manual/auth/authentication/webhook.html).
|
||||
[Read more about webhook here](https://hasura.io/docs/1.0/graphql/manual/auth/authentication/webhook.html).
|
||||
|
@ -78,4 +78,4 @@ HASURA_GRAPHQL_AUTH_WEBHOOK=http://localhost:5000/auth-webhook
|
||||
|
||||
All queries will be now validated through the webhook.
|
||||
|
||||
> Read more on [authentication and access control](https://docs.hasura.io/1.0/graphql/manual/auth/index.html).
|
||||
> Read more on [authentication and access control](https://hasura.io/docs/1.0/graphql/manual/auth/index.html).
|
||||
|
@ -24,7 +24,7 @@ Note: *If you want to add support for other platforms, please submit a PR or cre
|
||||
## Setup Postgres + Hasura GraphQL engine
|
||||
This boilerplate code assumes that you already have a HGE instance running.
|
||||
|
||||
If not you can visit the [docs](https://docs.hasura.io/1.0/graphql/manual/getting-started/index.html) and setup Postgres + HGE.
|
||||
If not you can visit the [docs](https://hasura.io/docs/1.0/graphql/manual/getting-started/index.html) and setup Postgres + HGE.
|
||||
|
||||
## Deploying the boilerplate examples
|
||||
|
||||
|
@ -8,7 +8,7 @@ Click on the following button to deploy GraphQL Engine on Heroku with the free P
|
||||
|
||||
[![Deploy to Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hasura/graphql-engine-heroku)
|
||||
|
||||
Checkout [docs](https://docs.hasura.io/1.0/graphql/manual/deployment/index.html) for other deployment options.
|
||||
Checkout [docs](https://hasura.io/docs/1.0/graphql/manual/deployment/index.html) for other deployment options.
|
||||
|
||||
|
||||
### Setup `netlify-cli`
|
||||
|
@ -8,7 +8,7 @@ Click on the following button to deploy GraphQL Engine on Heroku with the free P
|
||||
|
||||
[![Deploy to Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hasura/graphql-engine-heroku)
|
||||
|
||||
Checkout [docs](https://docs.hasura.io/1.0/graphql/manual/deployment/index.html) for other deployment options.
|
||||
Checkout [docs](https://hasura.io/docs/1.0/graphql/manual/deployment/index.html) for other deployment options.
|
||||
|
||||
|
||||
### Setup `now`
|
||||
|
@ -18,7 +18,7 @@ Typical use-cases:
|
||||
|
||||
## Docs
|
||||
|
||||
[Remote Schema documentation](https://docs.hasura.io/1.0/graphql/manual/remote-schemas/index.html)
|
||||
[Remote Schema documentation](https://hasura.io/docs/1.0/graphql/manual/remote-schemas/index.html)
|
||||
|
||||
## Architecture
|
||||
|
||||
|
@ -12,7 +12,7 @@ npm install
|
||||
> Note: if you clone this project through the Gatsby CLI, it will install the modules for you.
|
||||
|
||||
## Auth0
|
||||
This application uses Auth0 to manage identity. Refer to the [Auth0 integration guide](https://docs.hasura.io/1.0/graphql/manual/guides/integrations/auth0-jwt.html) for the configuration.
|
||||
This application uses Auth0 to manage identity. Refer to the [Auth0 integration guide](https://hasura.io/docs/1.0/graphql/manual/guides/integrations/auth0-jwt.html) for the configuration.
|
||||
|
||||
### Modify auth config
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
[![Deploy to heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hasura/graphql-engine-heroku)
|
||||
|
||||
Please checkout our [docs](https://docs.hasura.io/1.0/graphql/manual/deployment/index.html) for other deployment methods
|
||||
Please checkout our [docs](https://hasura.io/docs/1.0/graphql/manual/deployment/index.html) for other deployment methods
|
||||
|
||||
- Get the Heroku app URL (say `my-app.herokuapp.com`)
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
[![Deploy to heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hasura/graphql-engine-heroku)
|
||||
|
||||
Please checkout our [docs](https://docs.hasura.io/1.0/graphql/manual/deployment/index.html) for other deployment methods
|
||||
Please checkout our [docs](https://hasura.io/docs/1.0/graphql/manual/deployment/index.html) for other deployment methods
|
||||
|
||||
- Get the Heroku app URL (say `my-app.herokuapp.com`)
|
||||
|
||||
|
@ -13,7 +13,7 @@ Boilerplate to get started with Nextjs, Hasura GraphQL engine as CMS and postgre
|
||||
[![Deploy to
|
||||
heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hasura/graphql-engine-heroku)
|
||||
|
||||
Please checkout our [docs](https://docs.hasura.io/1.0/graphql/manual/deployment/index.html) for other deployment methods
|
||||
Please checkout our [docs](https://hasura.io/docs/1.0/graphql/manual/deployment/index.html) for other deployment methods
|
||||
|
||||
- Get the Heroku app URL (say `my-app.herokuapp.com`)
|
||||
- Create `author` table:
|
||||
|
@ -11,7 +11,7 @@
|
||||
[![Deploy to
|
||||
heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hasura/graphql-engine-heroku)
|
||||
|
||||
Please checkout our [docs](https://docs.hasura.io/1.0/graphql/manual/deployment/index.html) for other deployment methods
|
||||
Please checkout our [docs](https://hasura.io/docs/1.0/graphql/manual/deployment/index.html) for other deployment methods
|
||||
|
||||
- Get the Heroku app URL (say `my-app.herokuapp.com`)
|
||||
- Create `author` table:
|
||||
|
@ -11,7 +11,7 @@ Boilerplate to get started with Quasar Framework, Hasura GraphQL engine as CMS a
|
||||
[![Deploy to
|
||||
heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hasura/graphql-engine-heroku)
|
||||
|
||||
Please checkout our [docs](https://docs.hasura.io/1.0/graphql/manual/deployment/index.html) for other deployment methods
|
||||
Please checkout our [docs](https://hasura.io/docs/1.0/graphql/manual/deployment/index.html) for other deployment methods
|
||||
|
||||
- Get the Heroku app URL (say `my-app.herokuapp.com`)
|
||||
- Create `author` table:
|
||||
|
@ -11,7 +11,7 @@ A sample app to get started with [react-static](https://github.com/nozzle/react-
|
||||
[![Deploy to
|
||||
heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hasura/graphql-engine-heroku)
|
||||
|
||||
Please checkout our [docs](https://docs.hasura.io/1.0/graphql/manual/deployment/index.html) for other deployment methods
|
||||
Please checkout our [docs](https://hasura.io/docs/1.0/graphql/manual/deployment/index.html) for other deployment methods
|
||||
|
||||
- Get the Heroku app URL (say `my-app.herokuapp.com`)
|
||||
- Create `author` table:
|
||||
|
@ -7,5 +7,5 @@ This is the source code for a fully working group chat app that uses subscriptio
|
||||
- [Fully working app](https://realtime-chat.demo.hasura.app/)
|
||||
- [Backend](https://realtime-chat.demo.hasura.app/console)
|
||||
|
||||
For a complete tutorial about data modelling, [check out this blog](https://blog.hasura.io/building-a-realtime-chat-app-with-graphql-subscriptions-d68cd33e73f).
|
||||
For a complete tutorial about data modelling, [check out this blog](https://hasura.io/docs/building-a-realtime-chat-app-with-graphql-subscriptions-d68cd33e73f).
|
||||
|
||||
|
@ -107,7 +107,7 @@ class Chat extends React.Component {
|
||||
Source
|
||||
</a>
|
||||
|
|
||||
<a href="https://blog.hasura.io/building-a-realtime-chat-app-with-graphql-subscriptions-d68cd33e73f" target="_blank" rel="noopener noreferrer">
|
||||
<a href="https://hasura.io/blog/building-a-realtime-chat-app-with-graphql-subscriptions-d68cd33e73f" target="_blank" rel="noopener noreferrer">
|
||||
Blogpost
|
||||
</a>
|
||||
</div>
|
||||
|
@ -28,7 +28,7 @@ hosted on GitHub pages and the Postgres+GraphQL Engine is running on Postgres.
|
||||
git clone https://github.com/hasura/graphql-engine
|
||||
cd graphql-engine/community/sample-apps/realtime-location-tracking
|
||||
```
|
||||
- [Install Hasura CLI](https://docs.hasura.io/1.0/graphql/manual/hasura-cli/install-hasura-cli.html)
|
||||
- [Install Hasura CLI](https://hasura.io/docs/1.0/graphql/manual/hasura-cli/install-hasura-cli.html)
|
||||
- Goto `hasura/` and edit `config.yaml`:
|
||||
```yaml
|
||||
endpoint: https://realtime-backend2.herokuapp.com
|
||||
|
@ -29,7 +29,7 @@ hosted on GitHub pages and the Postgres+GraphQL Engine is running on Postgres.
|
||||
git clone https://github.com/hasura/graphql-engine
|
||||
cd graphql-engine/community/sample-apps/realtime-poll
|
||||
```
|
||||
- [Install Hasura CLI](https://docs.hasura.io/1.0/graphql/manual/hasura-cli/install-hasura-cli.html)
|
||||
- [Install Hasura CLI](https://hasura.io/docs/1.0/graphql/manual/hasura-cli/install-hasura-cli.html)
|
||||
- Goto `hasura/` and edit `config.yaml`:
|
||||
```yaml
|
||||
endpoint: https://random-string-123.herokuapp.com
|
||||
|
@ -11,7 +11,7 @@ A sample [Svelte 3](https://svelte.dev) app to demonstrate usage of GraphQL Quer
|
||||
[![Deploy to
|
||||
heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hasura/graphql-engine-heroku)
|
||||
|
||||
Please checkout our [docs](https://docs.hasura.io/1.0/graphql/manual/deployment/index.html) for other deployment methods
|
||||
Please checkout our [docs](https://hasura.io/docs/1.0/graphql/manual/deployment/index.html) for other deployment methods
|
||||
|
||||
- Get the Heroku app URL (say `my-app.herokuapp.com`)
|
||||
- Create `author` table:
|
||||
|
@ -10,7 +10,7 @@ A simple Todo PWA (Progressive Web App) inspired by [TodoMVC](http://todomvc.com
|
||||
[![Deploy to
|
||||
heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hasura/graphql-engine-heroku)
|
||||
|
||||
Please checkout our [docs](https://docs.hasura.io/1.0/graphql/manual/deployment/index.html) for other deployment methods
|
||||
Please checkout our [docs](https://hasura.io/docs/1.0/graphql/manual/deployment/index.html) for other deployment methods
|
||||
|
||||
- Get the Heroku app URL (say `my-app.herokuapp.com`)
|
||||
- Create `todos` table:
|
||||
|
@ -19,7 +19,7 @@ The react client is a forked version of [urigo/whatsapp-client-react](https://gi
|
||||
git clone https://github.com/hasura/graphql-engine
|
||||
cd graphql-engine/community/sample-apps/whatsapp-clone-typescript-react
|
||||
```
|
||||
- [Install Hasura CLI](https://docs.hasura.io/1.0/graphql/manual/hasura-cli/install-hasura-cli.html)
|
||||
- [Install Hasura CLI](https://hasura.io/docs/1.0/graphql/manual/hasura-cli/install-hasura-cli.html)
|
||||
- Apply the migrations:
|
||||
```bash
|
||||
cd hasura
|
||||
|
@ -25,8 +25,8 @@ Feel free to open pull requests to address these issues or to add/fix console f
|
||||
### Prerequisites
|
||||
|
||||
- [Node.js](https://nodejs.org/en/) (v8.9+)
|
||||
- [Hasura GraphQL Engine](https://docs.hasura.io/1.0/graphql/manual/getting-started/index.html)
|
||||
- [Hasura CLI](https://docs.hasura.io/1.0/graphql/manual/hasura-cli/install-hasura-cli.html) (for working with migrations)
|
||||
- [Hasura GraphQL Engine](https://hasura.io/docs/1.0/graphql/manual/getting-started/index.html)
|
||||
- [Hasura CLI](https://hasura.io/docs/1.0/graphql/manual/hasura-cli/install-hasura-cli.html) (for working with migrations)
|
||||
|
||||
### Set up and install dependencies
|
||||
|
||||
@ -44,7 +44,7 @@ npm ci
|
||||
|
||||
Hasura console can be developed in two modes, `server` or `cli` mode. If you are looking to add/tweak functionality related to migrations, check out [Develop with Hasura CLI](#develop-with-hasura-cli-cli-mode), otherwise check out [Develop with Hasura GraphQL engine](#develop-with-hasura-graphql-engine-server-mode).
|
||||
|
||||
Both modes require a running instance of GraphQL Engine. The easiest way to get Hasura GraphQL engine instance is by Heroku. You can get it by following the steps given in [this](https://docs.hasura.io/1.0/graphql/manual/getting-started/heroku-simple.html) link. Other methods to install Hasura GraphQL engine are documented [here](https://docs.hasura.io/1.0/graphql/manual/getting-started/index.html).
|
||||
Both modes require a running instance of GraphQL Engine. The easiest way to get Hasura GraphQL engine instance is by Heroku. You can get it by following the steps given in [this](https://hasura.io/docs/1.0/graphql/manual/getting-started/heroku-simple.html) link. Other methods to install Hasura GraphQL engine are documented [here](https://hasura.io/docs/1.0/graphql/manual/getting-started/index.html).
|
||||
|
||||
[Dotenv](https://github.com/motdotla/dotenv) is used for setting environment variables for development. In production, these environment variables are templated by the server or CLI.
|
||||
|
||||
|
@ -271,7 +271,7 @@ class Main extends React.Component {
|
||||
adminSecretHtml = (
|
||||
<div className={styles.secureSection}>
|
||||
<a
|
||||
href="https://docs.hasura.io/1.0/graphql/manual/deployment/securing-graphql-endpoint.html"
|
||||
href="https://hasura.io/docs/1.0/graphql/manual/deployment/securing-graphql-endpoint.html"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
@ -347,7 +347,7 @@ class Main extends React.Component {
|
||||
<span className={styles.middot}> · </span>
|
||||
<a
|
||||
className={styles.updateLink}
|
||||
href="https://docs.hasura.io/1.0/graphql/manual/deployment/updating.html"
|
||||
href="https://hasura.io/docs/1.0/graphql/manual/deployment/updating.html"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
@ -762,7 +762,7 @@ class Main extends React.Component {
|
||||
</li>
|
||||
<li className={'dropdown-item'}>
|
||||
<a
|
||||
href="https://docs.hasura.io/"
|
||||
href="https://hasura.io/docs/"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
|
@ -89,7 +89,7 @@ class About extends Component {
|
||||
<b>·</b>
|
||||
</span>
|
||||
<a
|
||||
href="https://docs.hasura.io/1.0/graphql/manual/deployment/updating.html"
|
||||
href="https://hasura.io/docs/1.0/graphql/manual/deployment/updating.html"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
|
@ -5,7 +5,7 @@ import ToolTip from '../../../../Common/Tooltip/Tooltip';
|
||||
import KnowMoreLink from '../../../../Common/KnowMoreLink/KnowMoreLink';
|
||||
|
||||
const enumCompatibilityDocsUrl =
|
||||
'https://docs.hasura.io/1.0/graphql/manual/schema/enums.html#create-enum-table';
|
||||
'https://hasura.io/docs/1.0/graphql/manual/schema/enums.html#create-enum-table';
|
||||
|
||||
export const EnumTableModifyWarning = ({ isEnum }) => {
|
||||
if (!isEnum) {
|
||||
|
@ -30,7 +30,7 @@ const Migrations = ({ dispatch, migrationMode }) => {
|
||||
<li>
|
||||
Read more about managing migrations with Hasura at the{' '}
|
||||
<a
|
||||
href="https://docs.hasura.io/1.0/graphql/manual/migrations/index.html"
|
||||
href="https://hasura.io/docs/1.0/graphql/manual/migrations/index.html"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
|
@ -597,7 +597,7 @@ class Schema extends Component {
|
||||
const heading = getSectionHeading(
|
||||
'Untracked custom functions',
|
||||
'Custom functions that are not exposed over the GraphQL API',
|
||||
<KnowMoreLink href="https://docs.hasura.io/1.0/graphql/manual/queries/custom-functions.html" />
|
||||
<KnowMoreLink href="https://hasura.io/docs/1.0/graphql/manual/queries/custom-functions.html" />
|
||||
);
|
||||
|
||||
return (
|
||||
|
@ -185,7 +185,7 @@ class ModifyTable extends React.Component {
|
||||
<Tooltip
|
||||
message={'Add a function as a virtual field in the GraphQL API'}
|
||||
/>
|
||||
<KnowMoreLink href="https://docs.hasura.io/1.0/graphql/manual/schema/computed-fields.html" />
|
||||
<KnowMoreLink href="https://hasura.io/docs/1.0/graphql/manual/schema/computed-fields.html" />
|
||||
</h4>
|
||||
<ComputedFieldsEditor
|
||||
table={table}
|
||||
|
@ -57,7 +57,7 @@ const Operations = ({
|
||||
<i className="fa fa-question-circle" aria-hidden="true" />
|
||||
</OverlayTrigger>
|
||||
|
||||
<KnowMoreLink href="https://docs.hasura.io/1.0/graphql/manual/event-triggers/invoke-trigger-console.html" />
|
||||
<KnowMoreLink href="https://hasura.io/docs/1.0/graphql/manual/event-triggers/invoke-trigger-console.html" />
|
||||
</span>
|
||||
),
|
||||
};
|
||||
|
@ -11,7 +11,7 @@ class AllowedQueriesNotes extends React.Component {
|
||||
<code>--enable-allowlist</code> flag set to <i>true</i>, only queries
|
||||
added to the allow-list will be allowed to be executed.
|
||||
<a
|
||||
href="https://docs.hasura.io/1.0/graphql/manual/deployment/allow-list.html"
|
||||
href="https://hasura.io/docs/1.0/graphql/manual/deployment/allow-list.html"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
|
@ -75,7 +75,7 @@ const MetadataOptions = props => {
|
||||
permissions, etc. that is used to generate the GraphQL schema and
|
||||
API.
|
||||
<a
|
||||
href="https://docs.hasura.io/1.0/graphql/manual/how-it-works/metadata-schema.html"
|
||||
href="https://hasura.io/docs/1.0/graphql/manual/how-it-works/metadata-schema.html"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
|
@ -21,7 +21,7 @@ const showTelemetryNotification = () => {
|
||||
Help us improve Hasura! The console collects anonymized usage stats
|
||||
which allows us to keep improving Hasura at warp speed.
|
||||
<a
|
||||
href="https://docs.hasura.io/1.0/graphql/manual/guides/telemetry.html"
|
||||
href="https://hasura.io/docs/1.0/graphql/manual/guides/telemetry.html"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
The documentation accompanying the Hasura GraphQL engine is written with
|
||||
[Sphinx](http://www.sphinx-doc.org/en/master/) and deployed to
|
||||
[docs.hasura.io](https://docs.hasura.io).
|
||||
[hasura.io/docs](https://hasura.io/docs).
|
||||
|
||||
## Contributing
|
||||
|
||||
|
19
docs/_theme/djangodocs/layout.html
vendored
19
docs/_theme/djangodocs/layout.html
vendored
@ -22,7 +22,7 @@
|
||||
|
||||
{% block linktags %}
|
||||
{{ super() }}
|
||||
<link rel="canonical" href="https://docs.{{ BASE_DOMAIN }}/1.0/{{ pagename }}{{ file_suffix }}" />
|
||||
<link rel="canonical" href="https://{{ BASE_DOMAIN }}/docs/1.0/{{ pagename }}{{ file_suffix }}" />
|
||||
{% endblock %}
|
||||
|
||||
{% block document %}
|
||||
@ -52,7 +52,7 @@
|
||||
<img class="responsive logo_img no-shadow" src="{{ pathto('_images/layout/logo-dark.svg', 1) }}" alt="Hasura Logo Dark" />
|
||||
</div>
|
||||
</a>
|
||||
<a href="https://docs.{{ BASE_DOMAIN }}" class="docs_label mobile-logo-docs">DOCS v{{version}}</a>
|
||||
<a href="https://{{ BASE_DOMAIN }}/docs" class="docs_label mobile-logo-docs">DOCS v{{version}}</a>
|
||||
</div>
|
||||
<div id="docs-header-actions">
|
||||
<div class="inline-block mobile-only" id="nav_tree_icon">
|
||||
@ -65,7 +65,7 @@
|
||||
<div class="inline-block header_links">
|
||||
<div class="social_icons_wrapper">
|
||||
<div class="social_icons">
|
||||
<a href="https://learn.hasura.io/" target="_blank" rel="noopener">
|
||||
<a href="https://hasura.io/learn/" target="_blank" rel="noopener">
|
||||
Tutorials
|
||||
</a>
|
||||
</div>
|
||||
@ -145,7 +145,7 @@
|
||||
</div>
|
||||
<div>
|
||||
Powered by <a target="_blank" rel="noopener" href="http://www.sphinx-doc.org">Sphinx</a>.
|
||||
| Copyright © 2019 <a target="_blank" rel="noopener" href="https://hasura.io">Hasura</a>.
|
||||
| Copyright © 2020 <a target="_blank" rel="noopener" href="https://hasura.io">Hasura</a>.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -276,16 +276,17 @@
|
||||
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
docsearch({
|
||||
apiKey: 'c59018461c19e20fe11459136e57900c',
|
||||
indexName: 'hasura',
|
||||
appId: 'WCBB1VVLRC',
|
||||
apiKey: '298d448cd9d7ed93fbab395658da19e8',
|
||||
indexName: 'graphql-docs-prod',
|
||||
inputSelector: '#search_element',
|
||||
transformData: function(suggestions) {
|
||||
if (window.location.origin !== 'https://docs.hasura.io') {
|
||||
if (window.location.origin !== 'https://hasura.io') {
|
||||
suggestions.forEach(suggestion => {
|
||||
if (window.location.origin === 'http://localhost:8000') {
|
||||
suggestion.url = suggestion.url.replace(/https:\/\/docs.hasura.io\/[^\/]*/, window.location.origin)
|
||||
suggestion.url = suggestion.url.replace(/https:\/\/hasura.io\/docs\/[^\/]*/, window.location.origin)
|
||||
} else {
|
||||
suggestion.url = suggestion.url.replace('https://docs.hasura.io', window.location.origin);
|
||||
suggestion.url = suggestion.url.replace('https://hasura.io\/docs', window.location.origin);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
4
docs/_theme/djangodocs/localtoc.html
vendored
4
docs/_theme/djangodocs/localtoc.html
vendored
@ -11,9 +11,9 @@
|
||||
<a class="version_txt">
|
||||
<select value="{{ version }}" onchange="location = this.value;" class="selected" aria-label="Select Version">
|
||||
{%- if version == '1.0' %}
|
||||
<option class="option_val" value="https://docs.{{ BASE_DOMAIN }}/1.0" selected="selected">v1.0</option>
|
||||
<option class="option_val" value="https://{{ BASE_DOMAIN }}/docs/1.0" selected="selected">v1.0</option>
|
||||
{%- else -%}
|
||||
<option class="option_val" value="https://docs.{{ BASE_DOMAIN }}/1.0">v1.0</option>
|
||||
<option class="option_val" value="https://{{ BASE_DOMAIN }}/docs/1.0">v1.0</option>
|
||||
{% endif %}
|
||||
</select>
|
||||
</a>
|
||||
|
@ -44,9 +44,13 @@ GRAPHIQL_DEFAULT_ENDPOINT = "http://localhost:8080/v1/graphql"
|
||||
if os.getenv("GRAPHIQL_DEFAULT_ENDPOINT"):
|
||||
GRAPHIQL_DEFAULT_ENDPOINT = os.getenv("GRAPHIQL_DEFAULT_ENDPOINT")
|
||||
|
||||
sitemap_domain = "https://hasura-stg.hasura-app.io/docs/"
|
||||
if(BASE_DOMAIN == "production"):
|
||||
sitemap_domain = "https://hasura.io/docs/"
|
||||
|
||||
# set context
|
||||
html_context = {
|
||||
"SITEMAP_DOMAIN": "https://docs.hasura.io/",
|
||||
"SITEMAP_DOMAIN": sitemap_domain,
|
||||
"BASE_DOMAIN": "hasura.io" if BASE_DOMAIN == "production" else "hasura-stg.hasura-app.io",
|
||||
"GRAPHIQL_DEFAULT_ENDPOINT": GRAPHIQL_DEFAULT_ENDPOINT,
|
||||
}
|
||||
@ -275,7 +279,7 @@ html_show_copyright = True
|
||||
# contain a <link> tag referring to it. The value of this option must be the
|
||||
# base URL from which the finished HTML is served.
|
||||
#
|
||||
html_use_opensearch = 'https://docs.hasura.io'
|
||||
html_use_opensearch = 'https://hasura.io/docs'
|
||||
|
||||
# This is the file name suffix for HTML files (e.g. ".xhtml").
|
||||
# html_file_suffix = None
|
||||
|
@ -2,8 +2,8 @@
|
||||
:description: Manage authenticaton with Hasura
|
||||
:keywords: hasura, docs, authentication, auth
|
||||
|
||||
Authentication
|
||||
==============
|
||||
GraphQL Authentication
|
||||
======================
|
||||
|
||||
.. contents:: Table of contents
|
||||
:backlinks: none
|
||||
|
@ -2,8 +2,8 @@
|
||||
:description: Manage authorization with Hasura
|
||||
:keywords: hasura, docs, authorization, auth
|
||||
|
||||
Authorization / Access control
|
||||
==============================
|
||||
GraphQL Authorization / Access control
|
||||
======================================
|
||||
|
||||
.. contents:: Table of contents
|
||||
:backlinks: none
|
||||
|
@ -1,9 +1,9 @@
|
||||
.. meta::
|
||||
:description: Manage authentication and authorization with Hasura
|
||||
:description: Manage GraphQL Authentication and Authorization with Hasura
|
||||
:keywords: hasura, docs, authentication, auth, authorization
|
||||
|
||||
Authentication & Authorization
|
||||
==============================
|
||||
GraphQL Authentication & Authorization
|
||||
======================================
|
||||
|
||||
.. contents:: Table of contents
|
||||
:backlinks: none
|
||||
|
@ -13,7 +13,7 @@ Guides: Deployment
|
||||
- :doc:`Digital Ocean One-click App on Marketplace <digital-ocean-one-click>`
|
||||
- :doc:`Azure Container Instances with Postgres <azure-container-instances-postgres>`
|
||||
- :doc:`Google Cloud Platform with Kubernetes engine and Cloud SQL <google-kubernetes-engine-cloud-sql>`
|
||||
- `Blog: Instant GraphQL on AWS RDS <https://blog.hasura.io/instant-graphql-on-aws-rds-1edfb85b5985>`__
|
||||
- `Blog: Instant GraphQL on AWS RDS <https://hasura.io/blog/instant-graphql-on-aws-rds-1edfb85b5985>`__
|
||||
|
||||
.. note::
|
||||
The above are guides to deploy the Hasura GraphQL engine on some specific platforms.
|
||||
|
@ -28,4 +28,4 @@ Guides / Tutorials / Resources
|
||||
.. note::
|
||||
|
||||
If you are new to GraphQL you can check out some front-end and back-end tutorials for building applications using
|
||||
GraphQL at `learn.hasura.io <https://learn.hasura.io/>`_.
|
||||
GraphQL at `hasura.io/learn <https://hasura.io/learn/>`_.
|
||||
|
@ -153,4 +153,4 @@ care of when switching to subscriptions.
|
||||
Related Blog
|
||||
------------
|
||||
|
||||
- `moving-from-apollo-boost-to-graphql-subscriptions-with-apollo-client <https://blog.hasura.io/moving-from-apollo-boost-to-graphql-subscriptions-with-apollo-client-cc0373e0adb0>`__.
|
||||
- `moving-from-apollo-boost-to-graphql-subscriptions-with-apollo-client <https://hasura.io/blog/moving-from-apollo-boost-to-graphql-subscriptions-with-apollo-client-cc0373e0adb0>`__.
|
||||
|
@ -14,5 +14,5 @@ Using AWS Cognito for authentication
|
||||
|
||||
Cognito can be used in both :doc:`JWT mode <../../auth/authentication/jwt>` and :doc:`webhook mode <../../auth/authentication/webhook>`.
|
||||
|
||||
- For JWT, `this blog post <https://blog.hasura.io/hasura-authentication-explained/#cognito>`__ contains detailed instructions.
|
||||
- For webhook, a thin wrapper/webhook that implements `this spec <https://docs.hasura.io/1.0/graphql/manual/auth/authentication/webhook.html#spec-for-the-webhook>`__ needs to be written. Boilerplates to write this webhook can be found `here <https://github.com/hasura/graphql-engine/tree/master/community/boilerplates/auth-webhooks>`__.
|
||||
- For JWT, `this blog post <https://hasura.io/blog/hasura-authentication-explained/#cognito>`__ contains detailed instructions.
|
||||
- For webhook, a thin wrapper/webhook that implements `this spec <https://hasura.io/blog/1.0/graphql/manual/auth/authentication/webhook.html#spec-for-the-webhook>`__ needs to be written. Boilerplates to write this webhook can be found `here <https://github.com/hasura/graphql-engine/tree/master/community/boilerplates/auth-webhooks>`__.
|
||||
|
@ -13,10 +13,10 @@ Guides: Integration/migration tutorials
|
||||
- :doc:`auth0-jwt`
|
||||
- :doc:`aws-cognito`
|
||||
- :doc:`apollo-subscriptions`
|
||||
- `Blog: Move from firebase to realtime GraphQL on Postgres <https://blog.hasura.io/firebase2graphql-moving-from-firebase-to-realtime-graphql-on-postgres-4d36cb7f4eaf>`__
|
||||
- `Blog: Create a Gatsby site using GraphQL on Postgres <https://blog.hasura.io/create-gatsby-sites-using-graphql-on-postgres-603b5dd1e516>`__
|
||||
- `Blog: Instant GraphQL on AWS RDS <https://blog.hasura.io/instant-graphql-on-aws-rds-1edfb85b5985>`__
|
||||
- `Blog: Using TimescaleDB with Hasura GraphQL <https://blog.hasura.io/using-timescaledb-with-hasura-graphql-d05f030c4b10>`__
|
||||
- `Blog: Move from firebase to realtime GraphQL on Postgres <https://hasura.io/blog/firebase2graphql-moving-from-firebase-to-realtime-graphql-on-postgres-4d36cb7f4eaf>`__
|
||||
- `Blog: Create a Gatsby site using GraphQL on Postgres <https://hasura.io/blog/create-gatsby-sites-using-graphql-on-postgres-603b5dd1e516>`__
|
||||
- `Blog: Instant GraphQL on AWS RDS <https://hasura.io/blog/instant-graphql-on-aws-rds-1edfb85b5985>`__
|
||||
- `Blog: Using TimescaleDB with Hasura GraphQL <https://hasura.io/blog/using-timescaledb-with-hasura-graphql-d05f030c4b10>`__
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
@ -13,5 +13,5 @@ Guides: Integrating with monitoring frameworks
|
||||
The following posts demonstrate integrating the Hasura GraphQL engine logs with some external
|
||||
monitoring frameworks:
|
||||
|
||||
- `Blog: GraphQL Observability with Hasura GraphQL engine and Honeycomb <https://blog.hasura.io/graphql-observability-with-hasura-graphql-engine-and-honeycomb-ee0a1a836c41>`__
|
||||
- `Blog: Uptime Monitoring for Hasura GraphQL engine with DataDog on GKE <https://blog.hasura.io/uptime-monitoring-for-hasura-graphql-engine-with-datadog-on-gke-4faff5832e7f>`__
|
||||
- `Blog: GraphQL Observability with Hasura GraphQL engine and Honeycomb <https://hasura.io/blog/graphql-observability-with-hasura-graphql-engine-and-honeycomb-ee0a1a836c41>`__
|
||||
- `Blog: Uptime Monitoring for Hasura GraphQL engine with DataDog on GKE <https://hasura.io/blog/uptime-monitoring-for-hasura-graphql-engine-with-datadog-on-gke-4faff5832e7f>`__
|
||||
|
@ -13,12 +13,12 @@ Sample apps & boilerplates
|
||||
Blogposts
|
||||
---------
|
||||
|
||||
- `Build a realtime chat app with GraphQL Subscriptions <https://blog.hasura.io/building-a-realtime-chat-app-with-graphql-subscriptions-d68cd33e73f>`__
|
||||
- `Build a realtime chat app with GraphQL Subscriptions <https://hasura.io/blog/building-a-realtime-chat-app-with-graphql-subscriptions-d68cd33e73f>`__
|
||||
- `Build a React To Do Application <https://hackernoon.com/building-a-react-todo-app-with-hasura-graphql-engine-511b703a7ef>`__
|
||||
- `Build a realtime Game of Thrones Voting App with GraphQL and Chart.js <https://dev.to/malgamves/building-a-real-time-game-of-thrones-voting-app-with-graphql-and-chart-js-37ma>`__
|
||||
- `Build a todo App with Hasura GraphQL Engine using Angular 6 <https://medium.com/@harshsrivastav123/todo-app-with-hasura-graphql-engine-using-angular-6-aa49957fac19>`__
|
||||
- `Build a Login app using React-native and Hasura without Redux <https://codeburst.io/making-a-login-app-using-react-native-and-hasura-without-redux-bb31d102038d>`__
|
||||
- `Build file upload and download for your Hasura app with S3 <https://blog.hasura.io/building-file-upload-downloads-for-your-hasura-app/>`__
|
||||
- `Build file upload and download for your Hasura app with S3 <https://hasura.io/blog/building-file-upload-downloads-for-your-hasura-app/>`__
|
||||
- `Public GraphQL queries with Hasura (unauthenticated users) <https://dev.to/mikewheaton/public-graphql-queries-with-hasura-2n06>`__
|
||||
- `Modelling teams and user security with Hasura <https://dev.to/lineup-ninja/modelling-teams-and-user-security-with-hasura-204i>`__
|
||||
|
||||
|
@ -32,7 +32,7 @@ Examples
|
||||
# Create a directory with endpoint and admin secret configured:
|
||||
hasura init <my-project> --endpoint https://my-graphql-engine.com --admin-secret adminsecretkey
|
||||
|
||||
# See https://docs.hasura.io/1.0/graphql/manual/migrations/index.html for more details
|
||||
# See https://hasura.io/docs/1.0/graphql/manual/migrations/index.html for more details
|
||||
|
||||
Options
|
||||
~~~~~~~
|
||||
|
@ -33,11 +33,11 @@ The fastest way to try event triggers out is via Heroku.
|
||||
|
||||
3. Configure your first event trigger and webhook
|
||||
|
||||
Create a table, configure the database update you want to use as a trigger and instantly invoke a webhook by adding a new row in your table. Follow this [simple guide](https://docs.hasura.io/1.0/graphql/manual/getting-started/first-event-trigger.html).
|
||||
Create a table, configure the database update you want to use as a trigger and instantly invoke a webhook by adding a new row in your table. Follow this [simple guide](https://hasura.io/docs/1.0/graphql/manual/getting-started/first-event-trigger.html).
|
||||
|
||||
### Other deployment methods
|
||||
|
||||
For Docker-based deployment and advanced configuration options, see [deployment guides](https://docs.hasura.io/1.0/graphql/manual/getting-started/index.html).
|
||||
For Docker-based deployment and advanced configuration options, see [deployment guides](https://hasura.io/docs/1.0/graphql/manual/getting-started/index.html).
|
||||
|
||||
### Demo (*30 seconds*)
|
||||
|
||||
|
@ -9,7 +9,7 @@ backed by an [Azure Database for
|
||||
PostgreSQL](https://azure.microsoft.com/en-us/services/postgresql/) Server.
|
||||
For a more detailed step-by-step guide on deplopying individual
|
||||
resources to Azure using the CLI, refer to the
|
||||
[documentation](https://docs.hasura.io/1.0/graphql/manual/guides/deployment/azure-container-instances-postgres.html).
|
||||
[documentation](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/azure-container-instances-postgres.html).
|
||||
|
||||
[![Deploy to Azure Button](https://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fmaster%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json)
|
||||
|
||||
@ -76,11 +76,11 @@ http://hasura-graphql-engine.centralindia.azurecontainer.io
|
||||
|
||||
## Next steps
|
||||
|
||||
- [Building your schema](https://docs.hasura.io/1.0/graphql/manual/schema/index.html)
|
||||
- [GraphQL Queries](https://docs.hasura.io/1.0/graphql/manual/queries/index.html)
|
||||
- [GraphQL Mutations](https://docs.hasura.io/1.0/graphql/manual/mutations/index.html)
|
||||
- [GraphQL Subscriptions](https://docs.hasura.io/1.0/graphql/manual/subscriptions/index.html)
|
||||
- [Event Triggers](https://docs.hasura.io/1.0/graphql/manual/event-triggers/index.html)
|
||||
- [Authentication/Access control](https://docs.hasura.io/1.0/graphql/manual/auth/index.html)
|
||||
- [Database Migrations](https://docs.hasura.io/1.0/graphql/manual/migrations/index.html)
|
||||
- [Guides/Tutorials/Resources](https://docs.hasura.io/1.0/graphql/manual/guides/index.html)
|
||||
- [Building your schema](https://hasura.io/docs/1.0/graphql/manual/schema/index.html)
|
||||
- [GraphQL Queries](https://hasura.io/docs/1.0/graphql/manual/queries/index.html)
|
||||
- [GraphQL Mutations](https://hasura.io/docs/1.0/graphql/manual/mutations/index.html)
|
||||
- [GraphQL Subscriptions](https://hasura.io/docs/1.0/graphql/manual/subscriptions/index.html)
|
||||
- [Event Triggers](https://hasura.io/docs/1.0/graphql/manual/event-triggers/index.html)
|
||||
- [Authentication/Access control](https://hasura.io/docs/1.0/graphql/manual/auth/index.html)
|
||||
- [Database Migrations](https://hasura.io/docs/1.0/graphql/manual/migrations/index.html)
|
||||
- [Guides/Tutorials/Resources](https://hasura.io/docs/1.0/graphql/manual/guides/index.html)
|
||||
|
@ -9,7 +9,7 @@ backed by an existing Postgres server (e.g. [Azure Database for
|
||||
PostgreSQL](https://azure.microsoft.com/en-us/services/postgresql/)).
|
||||
For a more detailed step-by-step guide on deplopying individual
|
||||
resources to Azure using the CLI, refer to the
|
||||
[documentation](https://docs.hasura.io/1.0/graphql/manual/guides/deployment/azure-container-instances-postgres.html).
|
||||
[documentation](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/azure-container-instances-postgres.html).
|
||||
|
||||
[![Deploy to Azure Button](https://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fmaster%2finstall-manifests%2fazure-container%2fazuredeploy.json)
|
||||
|
||||
@ -84,11 +84,11 @@ Once you open the console, switch to Data tab and you’ll be able to see the ta
|
||||
|
||||
## Next steps
|
||||
|
||||
- [Building your schema](https://docs.hasura.io/1.0/graphql/manual/schema/index.html)
|
||||
- [GraphQL Queries](https://docs.hasura.io/1.0/graphql/manual/queries/index.html)
|
||||
- [GraphQL Mutations](https://docs.hasura.io/1.0/graphql/manual/mutations/index.html)
|
||||
- [GraphQL Subscriptions](https://docs.hasura.io/1.0/graphql/manual/subscriptions/index.html)
|
||||
- [Event Triggers](https://docs.hasura.io/1.0/graphql/manual/event-triggers/index.html)
|
||||
- [Authentication/Access control](https://docs.hasura.io/1.0/graphql/manual/auth/index.html)
|
||||
- [Database Migrations](https://docs.hasura.io/1.0/graphql/manual/migrations/index.html)
|
||||
- [Guides/Tutorials/Resources](https://docs.hasura.io/1.0/graphql/manual/guides/index.html)
|
||||
- [Building your schema](https://hasura.io/docs/1.0/graphql/manual/schema/index.html)
|
||||
- [GraphQL Queries](https://hasura.io/docs/1.0/graphql/manual/queries/index.html)
|
||||
- [GraphQL Mutations](https://hasura.io/docs/1.0/graphql/manual/mutations/index.html)
|
||||
- [GraphQL Subscriptions](https://hasura.io/docs/1.0/graphql/manual/subscriptions/index.html)
|
||||
- [Event Triggers](https://hasura.io/docs/1.0/graphql/manual/event-triggers/index.html)
|
||||
- [Authentication/Access control](https://hasura.io/docs/1.0/graphql/manual/auth/index.html)
|
||||
- [Database Migrations](https://hasura.io/docs/1.0/graphql/manual/migrations/index.html)
|
||||
- [Guides/Tutorials/Resources](https://hasura.io/docs/1.0/graphql/manual/guides/index.html)
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
This Docker Compose setup runs [Hasura GraphQL Engine](https://github.com/hasura/graphql-engine) along with Postgres with the postgis extension using `docker-compose`.
|
||||
|
||||
See [this blog post for a tutorial](https://blog.hasura.io/graphql-and-geo-location-on-postgres-using-hasura-562e7bd47a2f).
|
||||
See [this blog post for a tutorial](https://hasura.io/blog/graphql-and-geo-location-on-postgres-using-hasura-562e7bd47a2f).
|
||||
|
||||
## Pre-requisites
|
||||
|
||||
|
@ -80,7 +80,7 @@ These limitations will be addressed in upcoming versions.
|
||||
|
||||
## Documentation
|
||||
|
||||
Read the complete [documentation](https://docs.hasura.io/1.0/graphql/manual/remote-schemas/index.html).
|
||||
Read the complete [documentation](https://hasura.io/docs/1.0/graphql/manual/remote-schemas/index.html).
|
||||
|
||||
## Translations
|
||||
|
||||
|
@ -33,7 +33,7 @@ CMD graphql-engine \
|
||||
|
||||
### Local
|
||||
|
||||
This is covered in the documentation here: https://docs.hasura.io/1.0/graphql/manual/migrations/auto-apply-migrations.html
|
||||
This is covered in the documentation here: https://hasura.io/docs/1.0/graphql/manual/migrations/auto-apply-migrations.html
|
||||
The below [Configuration](#configuration) will also be applicable.
|
||||
|
||||
### Heroku
|
||||
|
@ -388,4 +388,4 @@ telemetryNotice :: String
|
||||
telemetryNotice =
|
||||
"Help us improve Hasura! The graphql-engine server collects anonymized "
|
||||
<> "usage stats which allows us to keep improving Hasura at warp speed. "
|
||||
<> "To read more or opt-out, visit https://docs.hasura.io/1.0/graphql/manual/guides/telemetry.html"
|
||||
<> "To read more or opt-out, visit https://hasura.io/docs/1.0/graphql/manual/guides/telemetry.html"
|
||||
|
@ -137,7 +137,7 @@ migrateCatalog migrationTime = do
|
||||
permissionsMessage =
|
||||
"pgcrypto extension is required, but the current user doesn’t have permission to"
|
||||
<> " create it. Please grant superuser permission, or setup the initial schema via"
|
||||
<> " https://docs.hasura.io/1.0/graphql/manual/deployment/postgres-permissions.html"
|
||||
<> " https://hasura.io/docs/1.0/graphql/manual/deployment/postgres-permissions.html"
|
||||
|
||||
-- migrates an existing catalog to the latest version from an existing verion
|
||||
migrateFrom :: T.Text -> m (MigrationResult, RebuildableSchemaCache m)
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Hasura GraphQL Engine
|
||||
|
||||
[![Dokumenti](https://img.shields.io/badge/docs-v1.0-brightgreen.svg?style=flat)](https://docs.hasura.io)
|
||||
[![Dokumenti](https://img.shields.io/badge/docs-v1.0-brightgreen.svg?style=flat)](https://hasura.io/docs)
|
||||
[![CircleCI](https://circleci.com/gh/hasura/graphql-engine.svg?style=shield)](https://circleci.com/gh/hasura/graphql-engine)
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@ Hasura GraphQL Engine je nevjerovatno brzi GraphQL server koji vam nudi **trenut
|
||||
|
||||
Hasura vam pomaže da napravite GraphQL aplikacije podržane Postgres-om ili postepeno pređite na GraphQL za postojeće aplikacije pomoću Postgres-a.
|
||||
|
||||
Pročitajte više na [hasura.io](https://hasura.io) i [dokumentima](https://docs.hasura.io).
|
||||
Pročitajte više na [hasura.io](https://hasura.io) i [dokumentima](https://hasura.io/docs).
|
||||
|
||||
------------------
|
||||
|
||||
@ -36,7 +36,7 @@ Pročitajte više na [hasura.io](https://hasura.io) i [dokumentima](https://docs
|
||||
* **Administratorsko sučelje & Migracije**: Administratorska ploča & Rails-inspirisana migracija šeme
|
||||
* **Postgres** ❤️: Podržava Postgres tipove (PostGIS/geo-location, i sl.), pretvara poglede u *grafikone*, pokreće pohranjene funkcije ili procedure s mutacijama
|
||||
|
||||
Pročitaj više na [hasura.io](https://hasura.io) i [dokumentima](https://docs.hasura.io).
|
||||
Pročitaj više na [hasura.io](https://hasura.io) i [dokumentima](https://hasura.io/docs).
|
||||
|
||||
## Tabela sadržaja
|
||||
<!-- markdown-toc start - Don't edit this section. Run M-x markdown-toc-refresh-toc -->
|
||||
@ -77,7 +77,7 @@ Najbrži način da isprobate Hasura je putem Heroku-a.
|
||||
|
||||
3. Napravi prvi GraphQL upit
|
||||
|
||||
Kreiraj tabelu i odmah isprobaj svoj prvi upit. Prati ovaj [jednostavni vodič](https://docs.hasura.io/1.0/graphql/manual/getting-started/first-graphql-query.html).
|
||||
Kreiraj tabelu i odmah isprobaj svoj prvi upit. Prati ovaj [jednostavni vodič](https://hasura.io/docs/1.0/graphql/manual/getting-started/first-graphql-query.html).
|
||||
|
||||
### Ostale metode implementacije jednim klikom
|
||||
|
||||
@ -85,12 +85,12 @@ Pogledaj instrukcije za ostale mogućnosti implementacije jednim klikom:
|
||||
|
||||
| **Infra provajder** | **Veza** | **Dodatne informacije** |
|
||||
|:------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------------------------------------------------:|
|
||||
| DigitalOcean | [![Deploy to DigitalOcean](https://graphql-engine-cdn.hasura.io/img/create_hasura_droplet_200px.png)](https://marketplace.digitalocean.com/apps/hasura?action=deploy&refcode=c4d9092d2c48&utm_source=hasura&utm_campaign=readme) | [docs](https://docs.hasura.io/1.0/graphql/manual/guides/deployment/digital-ocean-one-click.html#hasura-graphql-engine-digitalocean-one-click-app) |
|
||||
| Azure | [![Deploy to Azure](http://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fstable%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json) | [docs](https://docs.hasura.io/1.0/graphql/manual/guides/deployment/azure-container-instances-postgres.html) |
|
||||
| DigitalOcean | [![Deploy to DigitalOcean](https://graphql-engine-cdn.hasura.io/img/create_hasura_droplet_200px.png)](https://marketplace.digitalocean.com/apps/hasura?action=deploy&refcode=c4d9092d2c48&utm_source=hasura&utm_campaign=readme) | [docs](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/digital-ocean-one-click.html#hasura-graphql-engine-digitalocean-one-click-app) |
|
||||
| Azure | [![Deploy to Azure](http://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fmaster%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json) | [docs](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/azure-container-instances-postgres.html) |
|
||||
|
||||
### Ostale metode implementacije
|
||||
|
||||
Za Docker-baziranu implementaciju i napredne konfiguracije, pogledajte [implementacijski vodič](https://docs.hasura.io/1.0/graphql/manual/getting-started/index.html) ili
|
||||
Za Docker-baziranu implementaciju i napredne konfiguracije, pogledajte [implementacijski vodič](https://hasura.io/docs/1.0/graphql/manual/getting-started/index.html) ili
|
||||
[instalirajte manifest](../install-manifests).
|
||||
|
||||
## Arhitektura
|
||||
@ -121,7 +121,7 @@ obradu - [pročitaj više](../event-triggers.md).
|
||||
|
||||
### Izvedeni podaci ili transformacije podataka
|
||||
|
||||
Pretvorite podatke u Postgres ili pokrenite poslovnu logiku na njemu da biste dobili drugi skup podataka koji se može zatražiti koristeći GraphQL Engine - [pročitaj više](https://docs.hasura.io/1.0/graphql/manual/queries/derived-data.html).
|
||||
Pretvorite podatke u Postgres ili pokrenite poslovnu logiku na njemu da biste dobili drugi skup podataka koji se može zatražiti koristeći GraphQL Engine - [pročitaj više](https://hasura.io/docs/1.0/graphql/manual/queries/derived-data.html).
|
||||
|
||||
## Demo
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Hasura GraphQL引擎
|
||||
|
||||
[![文档](https://img.shields.io/badge/docs-v1.0-brightgreen.svg?style=flat)](https://docs.hasura.io)
|
||||
[![文档](https://img.shields.io/badge/docs-v1.0-brightgreen.svg?style=flat)](https://hasura.io/docs)
|
||||
[![CircleCI](https://circleci.com/gh/hasura/graphql-engine.svg?style=shield)](https://circleci.com/gh/hasura/graphql-engine)
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@ Hasura GraphQL引擎是一个高性能的GraphQL服务器,可为您提供 **Po
|
||||
|
||||
Hasura可帮助您构建基于Postgres的GraphQL应用程序,或将使用Postgres的现有应用迁移到GraphQL上。
|
||||
|
||||
请参阅 [hasura.io](https://hasura.io) 和 [文档](https://docs.hasura.io) 了解更多。
|
||||
请参阅 [hasura.io](https://hasura.io) 和 [文档](https://hasura.io/docs) 了解更多。
|
||||
|
||||
------------------
|
||||
|
||||
@ -36,7 +36,7 @@ Hasura可帮助您构建基于Postgres的GraphQL应用程序,或将使用Postg
|
||||
* **管理界面和Schema迁移**: 管理界面和受Rails启发的Schema迁移
|
||||
* **Postgres** ❤️: 支持Postgres数据类型(PostGIS /地理位置等),将表视图转换为*图*,通过GraphQL变更触发存储函数或过程
|
||||
|
||||
请访问 [hasura.io](https://hasura.io) 和 [文档](https://docs.hasura.io) 了解更多
|
||||
请访问 [hasura.io](https://hasura.io) 和 [文档](https://hasura.io/docs) 了解更多
|
||||
|
||||
## 目录
|
||||
<!-- markdown-toc start - Don't edit this section. Run M-x markdown-toc-refresh-toc -->
|
||||
@ -83,12 +83,12 @@ Hasura可帮助您构建基于Postgres的GraphQL应用程序,或将使用Postg
|
||||
|
||||
| **基础设施提供商** | **一键式链接** | **附加信息** |
|
||||
|:------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------------------------------------------------:|
|
||||
| DigitalOcean | [![部署到 DigitalOcean](https://graphql-engine-cdn.hasura.io/img/create_hasura_droplet_200px.png)](https://marketplace.digitalocean.com/apps/hasura?action=deploy&refcode=c4d9092d2c48&utm_source=hasura&utm_campaign=readme) | [文档](https://docs.hasura.io/1.0/graphql/manual/guides/deployment/digital-ocean-one-click.html#hasura-graphql-engine-digitalocean-one-click-app) |
|
||||
| Azure | [![部署到 Azure](http://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fstable%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json) | [文档](https://docs.hasura.io/1.0/graphql/manual/guides/deployment/azure-container-instances-postgres.html) |
|
||||
| DigitalOcean | [![部署到 DigitalOcean](https://graphql-engine-cdn.hasura.io/img/create_hasura_droplet_200px.png)](https://marketplace.digitalocean.com/apps/hasura?action=deploy&refcode=c4d9092d2c48&utm_source=hasura&utm_campaign=readme) | [文档](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/digital-ocean-one-click.html#hasura-graphql-engine-digitalocean-one-click-app) |
|
||||
| Azure | [![部署到 Azure](http://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fmaster%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json) | [文档](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/azure-container-instances-postgres.html) |
|
||||
|
||||
### 其它部署方法
|
||||
|
||||
关于基于Docker的部署和其它高级配置选项,请参阅[部署指南](https://docs.hasura.io/1.0/graphql/manual/getting-started/index.html) 或者
|
||||
关于基于Docker的部署和其它高级配置选项,请参阅[部署指南](https://hasura.io/docs/1.0/graphql/manual/getting-started/index.html) 或者
|
||||
[安装清单](../install-manifests).
|
||||
|
||||
## 架构
|
||||
@ -119,7 +119,7 @@ GraphQL Engine提供了易用,可伸缩,高性能的往后端插入自定义
|
||||
|
||||
### 派生数据或数据处理
|
||||
|
||||
在Postgres中处理数据或对其做业务逻辑处理来导出另一套可以用GraphQL Engine处理的数据集 - [阅读更多](https://docs.hasura.io/1.0/graphql/manual/queries/derived-data.html).
|
||||
在Postgres中处理数据或对其做业务逻辑处理来导出另一套可以用GraphQL Engine处理的数据集 - [阅读更多](https://hasura.io/docs/1.0/graphql/manual/queries/derived-data.html).
|
||||
|
||||
## 演示
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Hasura GraphQL Engine
|
||||
|
||||
[![Docs](https://img.shields.io/badge/docs-v1.0-brightgreen.svg?style=flat)](https://docs.hasura.io)
|
||||
[![Docs](https://img.shields.io/badge/docs-v1.0-brightgreen.svg?style=flat)](https://hasura.io/docs)
|
||||
[![CircleCI](https://circleci.com/gh/hasura/graphql-engine.svg?style=shield)](https://circleci.com/gh/hasura/graphql-engine)
|
||||
|
||||
|
||||
@ -13,7 +13,7 @@ Hasura GraphQL Engine est un serveur GraphQL ultra-rapide qui vous permet de cr
|
||||
Hasura vous aide à construire des applications GraphQL basées sur Posgres ou à adopter graduellement GraphQL pour des applications existantes utilisant Postgres.
|
||||
|
||||
|
||||
Plus d'informations sur [hasura.io](https://hasura.io) et dans la [documentation](https://docs.hasura.io).
|
||||
Plus d'informations sur [hasura.io](https://hasura.io) et dans la [documentation](https://hasura.io/docs).
|
||||
|
||||
------------------
|
||||
|
||||
@ -37,7 +37,7 @@ Plus d'informations sur [hasura.io](https://hasura.io) et dans la [documentation
|
||||
* **Interface d'administration & Migrations**: Interface d'administration & migrations de schéma à la Rails.
|
||||
* **Postgres** ❤️: Supporte les types Postgres (PostGIS/geo-location, etc.), transforme les vues en *graphs*, déclenche des procédures ou fonctions stockées via les mutations.
|
||||
|
||||
Plus d'informations sur [hasura.io](https://hasura.io) et dans la [documentation](https://docs.hasura.io).
|
||||
Plus d'informations sur [hasura.io](https://hasura.io) et dans la [documentation](https://hasura.io/docs).
|
||||
|
||||
## Table des matières
|
||||
<!-- markdown-toc start - Don't edit this section. Run M-x markdown-toc-refresh-toc -->
|
||||
@ -77,11 +77,11 @@ La manière la plus rapide d'essayer Hasura est via Heroku.
|
||||
|
||||
3. Réalisez votre première requête GraphQL
|
||||
|
||||
Créez une table et réalisez votre première requête. Suivez ce [guide](https://docs.hasura.io/1.0/graphql/manual/getting-started/first-graphql-query.html).
|
||||
Créez une table et réalisez votre première requête. Suivez ce [guide](https://hasura.io/docs/1.0/graphql/manual/getting-started/first-graphql-query.html).
|
||||
|
||||
### Autres méthodes de déploiement
|
||||
|
||||
Pour les méthodes de déploiement basées sur Docker et les options de configuration avancées, consultez les [guides de déploiement](https://docs.hasura.io/1.0/graphql/manual/getting-started/index.html) ou les [manifestes d'installation](../install-manifests).
|
||||
Pour les méthodes de déploiement basées sur Docker et les options de configuration avancées, consultez les [guides de déploiement](https://hasura.io/docs/1.0/graphql/manual/getting-started/index.html) ou les [manifestes d'installation](../install-manifests).
|
||||
|
||||
## Architecture
|
||||
|
||||
@ -111,7 +111,7 @@ traitements asynchrones - [plus d'informations](event-triggers.french.md).
|
||||
|
||||
### Données dérivée ou transformations de données
|
||||
|
||||
Transformez les données dans Postgres ou exécutez de la logique métier dessus pour en deriver un autre jeu de données qui peut être requêté à l'aide de GraphQL Engine - [plus d'informations](https://docs.hasura.io/1.0/graphql/manual/queries/derived-data.html).
|
||||
Transformez les données dans Postgres ou exécutez de la logique métier dessus pour en deriver un autre jeu de données qui peut être requêté à l'aide de GraphQL Engine - [plus d'informations](https://hasura.io/docs/1.0/graphql/manual/queries/derived-data.html).
|
||||
|
||||
## Démos
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Hasura GraphQL Engine
|
||||
|
||||
[![Docs](https://img.shields.io/badge/docs-v1.0-brightgreen.svg?style=flat)](https://docs.hasura.io)
|
||||
[![Docs](https://img.shields.io/badge/docs-v1.0-brightgreen.svg?style=flat)](https://hasura.io/docs)
|
||||
[![CircleCI](https://circleci.com/gh/hasura/graphql-engine.svg?style=shield)](https://circleci.com/gh/hasura/graphql-engine)
|
||||
|
||||
<a href="https://discord.gg/vBPpJkS"><img src="https://img.shields.io/badge/chat-discord-brightgreen.svg?logo=discord&style=flat"></a>
|
||||
@ -11,7 +11,7 @@ Hasura GraphQL Engine ist ein blitzschneller GraphQL Server, welcher dir die Mö
|
||||
|
||||
Hasura hilft dir, GraphQL-Anwendungen basierend auf Postgres zu entwickeln oder schrittweise zu GraphQL zu wechseln für schon existierende Anwendungen, die Postgres benutzen.
|
||||
|
||||
Dazu mehr auf [hasura.io](https://hasura.io) und in den [Docs](https://docs.hasura.io).
|
||||
Dazu mehr auf [hasura.io](https://hasura.io) und in den [Docs](https://hasura.io/docs).
|
||||
|
||||
---
|
||||
|
||||
@ -35,7 +35,7 @@ Dazu mehr auf [hasura.io](https://hasura.io) und in den [Docs](https://docs.hasu
|
||||
- **Admin UI & Migration**: Admin UI & von Rails inspirierte Schemata-Integration
|
||||
- **Postgres** ❤️: Unterstützt Postgres Typen (PostGIS/geo-location, etc.), ändert Views zu _Graphen_, löst gespeicherte Funktionen aus oder Prozesse mit Mutationen
|
||||
|
||||
Mehr dazu auf [hasura.io](https://hasura.io) und in den [Docs](https://docs.hasura.io).
|
||||
Mehr dazu auf [hasura.io](https://hasura.io) und in den [Docs](https://hasura.io/docs).
|
||||
|
||||
## Inhaltsverzeichnis
|
||||
|
||||
@ -78,7 +78,7 @@ Der schnellste Weg, Hasura auszuprobieren, ist mit Heroku.
|
||||
|
||||
3. Erstelle deine erste GraphQL Query
|
||||
|
||||
Erstelle eine Tabelle und lasse deine erste Query laufen. Folge diesem [einfachem Guide](https://docs.hasura.io/1.0/graphql/manual/getting-started/first-graphql-query.html).
|
||||
Erstelle eine Tabelle und lasse deine erste Query laufen. Folge diesem [einfachem Guide](https://hasura.io/docs/1.0/graphql/manual/getting-started/first-graphql-query.html).
|
||||
|
||||
### Andere one-click Deployment Optionen
|
||||
|
||||
@ -86,13 +86,13 @@ Probiere die folgenden Guides für die one-click Deployment Optionen:
|
||||
|
||||
| **Infra Anbieter** | **One-click Link** | **Zusätzliche Information** |
|
||||
| :----------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------: |
|
||||
| DigitalOcean | [![Deploy to DigitalOcean](https://graphql-engine-cdn.hasura.io/img/create_hasura_droplet_200px.png)](https://marketplace.digitalocean.com/apps/hasura?action=deploy&refcode=c4d9092d2c48&utm_source=hasura&utm_campaign=readme) | [docs](https://docs.hasura.io/1.0/graphql/manual/guides/deployment/digital-ocean-one-click.html#hasura-graphql-engine-digitalocean-one-click-app) |
|
||||
| Azure | [![Deploy to Azure](http://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fstable%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json) | [docs](https://docs.hasura.io/1.0/graphql/manual/guides/deployment/azure-container-instances-postgres.html) |
|
||||
| DigitalOcean | [![Deploy to DigitalOcean](https://graphql-engine-cdn.hasura.io/img/create_hasura_droplet_200px.png)](https://marketplace.digitalocean.com/apps/hasura?action=deploy&refcode=c4d9092d2c48&utm_source=hasura&utm_campaign=readme) | [docs](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/digital-ocean-one-click.html#hasura-graphql-engine-digitalocean-one-click-app) |
|
||||
| Azure | [![Deploy to Azure](http://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fmaster%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json) | [docs](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/azure-container-instances-postgres.html) |
|
||||
|
||||
### Andere Deployment Möglichkeiten
|
||||
|
||||
Für auf Docker basierende Deployments and erweiterte Konfigurationsmöglichkeiten: [Deployment
|
||||
Guides](https://docs.hasura.io/1.0/graphql/manual/getting-started/index.html) oder
|
||||
Guides](https://hasura.io/docs/1.0/graphql/manual/getting-started/index.html) oder
|
||||
[Manifest installieren](../install-manifests).
|
||||
|
||||
## Architektur
|
||||
@ -122,7 +122,7 @@ Das ist perfekt für Benachrichtigungen, Daten-Pipelines von Postgres oder async
|
||||
|
||||
### Abgeleitete Daten oder Datentransformation
|
||||
|
||||
Transformiere Daten in Postgres oder lasse deine Businesslogik eigene Daten ableiten, welche von der GraphQL Engine abefragt werden können - [mehr dazu](https://docs.hasura.io/1.0/graphql/manual/queries/derived-data.html).
|
||||
Transformiere Daten in Postgres oder lasse deine Businesslogik eigene Daten ableiten, welche von der GraphQL Engine abefragt werden können - [mehr dazu](https://hasura.io/docs/1.0/graphql/manual/queries/derived-data.html).
|
||||
|
||||
## Demos
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Hasura GraphQL Engine
|
||||
|
||||
[![Docs](https://img.shields.io/badge/docs-v1.0-brightgreen.svg?style=flat)](https://docs.hasura.io)
|
||||
[![Docs](https://img.shields.io/badge/docs-v1.0-brightgreen.svg?style=flat)](https://hasura.io/docs)
|
||||
[![CircleCI](https://circleci.com/gh/hasura/graphql-engine.svg?style=shield)](https://circleci.com/gh/hasura/graphql-engine)
|
||||
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
|
||||
Το Hasura σε βοηθάει να δημιουργήσεις εφαρμογές GraphQL υποστηριζόμενες από το Postgres ή να μετακινήσεις διαδοχικά ήδη υπάρχουσες εφαρμογές στο GraphQL χρησιμοποιώντας το Postgres.
|
||||
|
||||
Διάβαστε περισσότερα στο [hasura.io](https://hasura.io) και στο [docs](https://docs.hasura.io).
|
||||
Διάβαστε περισσότερα στο [hasura.io](https://hasura.io) και στο [docs](https://hasura.io/docs).
|
||||
|
||||
------------------
|
||||
|
||||
@ -35,7 +35,7 @@
|
||||
* **Admin UI & Migrations**: Admin UI & Rails-inspired schema migrations
|
||||
* **Postgres** ❤️: Υποστηρίζει τύπους Postgres (PostGIS/geo-location, κτλ.), μετατρέπει τις προβολές σε *γραφήματα* , ενεργοποιηεί αποθηκευμένες λειτουργίες ή διαδικασίες
|
||||
|
||||
Διαβάστε περισσότερα στο [hasura.io](https://hasura.io) και στο [docs](https://docs.hasura.io).
|
||||
Διαβάστε περισσότερα στο [hasura.io](https://hasura.io) και στο [docs](https://hasura.io/docs).
|
||||
|
||||
## Πίνακας περιεχομένων
|
||||
<!-- markdown-toc start - Don't edit this section. Run M-x markdown-toc-refresh-toc -->
|
||||
@ -75,7 +75,7 @@
|
||||
|
||||
3. Κάντε το πρώτο σας ερώτημα GraphQL
|
||||
|
||||
Δημιουργήστε έναν πίνακα και κάντε το πρώτο σας ερώτημα. Ακολουθήστε [αυτόν](https://docs.hasura.io/1.0/graphql/manual/getting-started/first-graphql-query.html) τον απλό οδηγό.
|
||||
Δημιουργήστε έναν πίνακα και κάντε το πρώτο σας ερώτημα. Ακολουθήστε [αυτόν](https://hasura.io/docs/1.0/graphql/manual/getting-started/first-graphql-query.html) τον απλό οδηγό.
|
||||
|
||||
### Άλλες μέθοδοι ανάπτυξης σε ένα κλίκ
|
||||
|
||||
@ -83,13 +83,13 @@
|
||||
|
||||
| **Infra provider** | **One-click link** | **Additional information** |
|
||||
|:------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------------------------------------------------:|
|
||||
| DigitalOcean | [![Deploy to DigitalOcean](https://graphql-engine-cdn.hasura.io/img/create_hasura_droplet_200px.png)](https://marketplace.digitalocean.com/apps/hasura?action=deploy&refcode=c4d9092d2c48&utm_source=hasura&utm_campaign=readme) | [docs](https://docs.hasura.io/1.0/graphql/manual/guides/deployment/digital-ocean-one-click.html#hasura-graphql-engine-digitalocean-one-click-app) |
|
||||
| Azure | [![Deploy to Azure](http://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fstable%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json) | [docs](https://docs.hasura.io/1.0/graphql/manual/guides/deployment/azure-container-instances-postgres.html) |
|
||||
| DigitalOcean | [![Deploy to DigitalOcean](https://graphql-engine-cdn.hasura.io/img/create_hasura_droplet_200px.png)](https://marketplace.digitalocean.com/apps/hasura?action=deploy&refcode=c4d9092d2c48&utm_source=hasura&utm_campaign=readme) | [docs](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/digital-ocean-one-click.html#hasura-graphql-engine-digitalocean-one-click-app) |
|
||||
| Azure | [![Deploy to Azure](http://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fmaster%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json) | [docs](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/azure-container-instances-postgres.html) |
|
||||
|
||||
### Άλλες μέθοδοι ανάπτυξης
|
||||
|
||||
Για μεθόδους ανάπτυξης με βάση το Docker και για προχωρημένες επιλογές διαμόρφωσης, ανατρέξτε στους [οδηγούς ανάπτυξης](https://docs.hasura.io/1.0/graphql/manual/getting-started/index.html) ή στα
|
||||
[μηνύματα εγκατάστασης](https://github.com/hasura/graphql-engine/tree/stable/install-manifests).
|
||||
Για μεθόδους ανάπτυξης με βάση το Docker και για προχωρημένες επιλογές διαμόρφωσης, ανατρέξτε στους [οδηγούς ανάπτυξης](https://hasura.io/docs/1.0/graphql/manual/getting-started/index.html) ή στα
|
||||
[μηνύματα εγκατάστασης](https://github.com/hasura/graphql-engine/tree/master/install-manifests).
|
||||
|
||||
## Αρχιτεκτονική
|
||||
|
||||
@ -116,7 +116,7 @@
|
||||
|
||||
### Παραγόμενα δεδομένα ή μετασχηματισμοί δεδομένων
|
||||
|
||||
Μετατρέψτε τα δεδομένα στο Postgres ή τρέξτε επιχειρηματική λογική με άλλα δεδομένα που μπορούν να αναζητηθούν χρησιμοποιώντας το GraphQL Engine - [διαβάστε περισσότερα](https://docs.hasura.io/1.0/graphql/manual/queries/derived-data.html).
|
||||
Μετατρέψτε τα δεδομένα στο Postgres ή τρέξτε επιχειρηματική λογική με άλλα δεδομένα που μπορούν να αναζητηθούν χρησιμοποιώντας το GraphQL Engine - [διαβάστε περισσότερα](https://hasura.io/docs/1.0/graphql/manual/queries/derived-data.html).
|
||||
|
||||
## Demos
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Hasura GraphQL Engine
|
||||
|
||||
[![Docs](https://img.shields.io/badge/docs-v1.0-brightgreen.svg?style=flat)](https://docs.hasura.io)
|
||||
[![Docs](https://img.shields.io/badge/docs-v1.0-brightgreen.svg?style=flat)](https://hasura.io/docs)
|
||||
[![CircleCI](https://circleci.com/gh/hasura/graphql-engine.svg?style=shield)](https://circleci.com/gh/hasura/graphql-engine)
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@ _Hasura GraphQL Engine_ adalah sebuah _server_ GraphQL ultra-cepat yang menyedia
|
||||
|
||||
Hasura dapat membantu Anda membangun aplikasi berbasis GraphQL dengan Postgres atau membantu aplikasi yang sudah ada untuk berpindah ke GraphQL secara bertahap.
|
||||
|
||||
Baca lebih lanjut di [hasura.io](https://hasura.io) dan [dokumentasinya](https://docs.hasura.io).
|
||||
Baca lebih lanjut di [hasura.io](https://hasura.io) dan [dokumentasinya](https://hasura.io/docs).
|
||||
|
||||
------------------
|
||||
|
||||
@ -36,7 +36,7 @@ Baca lebih lanjut di [hasura.io](https://hasura.io) dan [dokumentasinya](https:/
|
||||
* **Antarmuka untuk admin & proses migrasi**: Antarmuka untuk admin & proses migrasi yang terinspirasi dari Rails.
|
||||
* **Postgres** ❤️: Mendukung _types_ dari Postgres (PostGIS/geo-location, dll.), ubah _views_ menjadi *graphs*, memicu fungsi tersimpan (_stored functions_) atau prosedur dengan mutasi.
|
||||
|
||||
Baca lebih lanjut di [hasura.io](https://hasura.io) dan [dokumentasinya](https://docs.hasura.io).
|
||||
Baca lebih lanjut di [hasura.io](https://hasura.io) dan [dokumentasinya](https://hasura.io/docs).
|
||||
|
||||
## Daftar isi
|
||||
<!-- markdown-toc **start** - Don't edit this section. Run M-x markdown-toc-refresh-toc -->
|
||||
@ -77,7 +77,7 @@ Cara paling cepat untuk mencoba Hasura adalah menggunakan Heroku.
|
||||
|
||||
3. Buat _query_ GraphQL pertama Anda
|
||||
|
||||
Buat sebuah tabel dan langsung jalankan _query_ pertama Anda. Ikuti [petunjuk sederhana ini](https://docs.hasura.io/1.0/graphql/manual/getting-started/first-graphql-query.html).
|
||||
Buat sebuah tabel dan langsung jalankan _query_ pertama Anda. Ikuti [petunjuk sederhana ini](https://hasura.io/docs/1.0/graphql/manual/getting-started/first-graphql-query.html).
|
||||
|
||||
### Pilihan menjalankan aplikasi dengan satu klik lainnya
|
||||
|
||||
@ -85,12 +85,12 @@ Coba lihat pilihan lainnya untuk menjalankan aplikasi dengan satu klik:
|
||||
|
||||
| **Penyedia infrastruktur** | **Tautan satu klik** | **Informasi tambahan** |
|
||||
|:------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------------------------------------------------:|
|
||||
| DigitalOcean | [![Deploy to DigitalOcean](https://graphql-engine-cdn.hasura.io/img/create_hasura_droplet_200px.png)](https://marketplace.digitalocean.com/apps/hasura?action=deploy&refcode=c4d9092d2c48&utm_source=hasura&utm_campaign=readme) | [dokumentasi](https://docs.hasura.io/1.0/graphql/manual/guides/deployment/digital-ocean-one-click.html#hasura-graphql-engine-digitalocean-one-click-app) |
|
||||
| Azure | [![Deploy to Azure](http://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fstable%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json) | [dokumentasi](https://docs.hasura.io/1.0/graphql/manual/guides/deployment/azure-container-instances-postgres.html) |
|
||||
| DigitalOcean | [![Deploy to DigitalOcean](https://graphql-engine-cdn.hasura.io/img/create_hasura_droplet_200px.png)](https://marketplace.digitalocean.com/apps/hasura?action=deploy&refcode=c4d9092d2c48&utm_source=hasura&utm_campaign=readme) | [dokumentasi](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/digital-ocean-one-click.html#hasura-graphql-engine-digitalocean-one-click-app) |
|
||||
| Azure | [![Deploy to Azure](http://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fmaster%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json) | [dokumentasi](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/azure-container-instances-postgres.html) |
|
||||
|
||||
### Metode menjalankan lainnya
|
||||
|
||||
Untuk menjalankan berbasis Docker dan konfigurasi lebih lanjut, coba lihat [petunjuk menjalankan](https://docs.hasura.io/1.0/graphql/manual/getting-started/index.html) atau
|
||||
Untuk menjalankan berbasis Docker dan konfigurasi lebih lanjut, coba lihat [petunjuk menjalankan](https://hasura.io/docs/1.0/graphql/manual/getting-started/index.html) atau
|
||||
[manifestasi instalasi](../install-manifests).
|
||||
|
||||
## Arsitektur
|
||||
@ -119,7 +119,7 @@ Tambahkan logika bisnis asinkron yang dipicu oleh _event_ basis data. Ideal untu
|
||||
|
||||
### Data turunan atau transformasi data
|
||||
|
||||
Transformasi data di Postgres atau jalankan logika bisnis untuk menghasilkan set data turunan lainnya yang dapat di-_query_ menggunakan GraphQL Engine - [baca lebih lanjut](https://docs.hasura.io/1.0/graphql/manual/queries/derived-data.html).
|
||||
Transformasi data di Postgres atau jalankan logika bisnis untuk menghasilkan set data turunan lainnya yang dapat di-_query_ menggunakan GraphQL Engine - [baca lebih lanjut](https://hasura.io/docs/1.0/graphql/manual/queries/derived-data.html).
|
||||
|
||||
## Demo
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Hasura GraphQL Engine
|
||||
|
||||
[![Docs](https://img.shields.io/badge/docs-v1.0-brightgreen.svg?style=flat)](https://docs.hasura.io)
|
||||
[![Docs](https://img.shields.io/badge/docs-v1.0-brightgreen.svg?style=flat)](https://hasura.io/docs)
|
||||
[![CircleCI](https://circleci.com/gh/hasura/graphql-engine.svg?style=shield)](https://circleci.com/gh/hasura/graphql-engine)
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@ Hasura GraphQLエンジンは **Postgres上で瞬時にリアルタイムのGrap
|
||||
|
||||
Hasuraは、Postgresをバックエンドに持つGraphQLアプリケーションを構築したり、Postgresを使用して既存のアプリケーションをGraphQLに段階的に移行したりするのに役立ちます。
|
||||
|
||||
こちらと [hasura.io](https://hasura.io) こちらから [docs](https://docs.hasura.io) 詳細を読んでください。
|
||||
こちらと [hasura.io](https://hasura.io) こちらから [docs](https://hasura.io/docs) 詳細を読んでください。
|
||||
|
||||
------------------
|
||||
|
||||
@ -35,7 +35,7 @@ Hasuraは、Postgresをバックエンドに持つGraphQLアプリケーショ
|
||||
* **管理UIと移行**: 最大15MBのドッカーイメージ。最大50MB RAM @ 1000 req/s。マルチコア対応
|
||||
* **Postgres** ❤️: Postgresの型(PostGIS/地理位置など)をサポートし、ビューをグラフに変え、保存された関数や手順を変更した手続きを起動
|
||||
|
||||
こちらと [hasura.io](https://hasura.io) こちらから [docs](https://docs.hasura.io)詳細を読んでください。
|
||||
こちらと [hasura.io](https://hasura.io) こちらから [docs](https://hasura.io/docs)詳細を読んでください。
|
||||
|
||||
## 目次
|
||||
<!-- markdown-toc start - Don't edit this section. Run M-x markdown-toc-refresh-toc -->
|
||||
@ -75,7 +75,7 @@ Hasuraを試す最も早い方法はHerokuを使うことです。
|
||||
|
||||
3. 最初のGraphQLのクエリを発行
|
||||
|
||||
テーブルを作成して、最初のクエリを実行します。こちらの [シンプルなガイド](https://docs.hasura.io/1.0/graphql/manual/getting-started/first-graphql-query.html)を参考にしてください。
|
||||
テーブルを作成して、最初のクエリを実行します。こちらの [シンプルなガイド](https://hasura.io/docs/1.0/graphql/manual/getting-started/first-graphql-query.html)を参考にしてください。
|
||||
|
||||
### 他のワンクリックでデプロイする方法
|
||||
|
||||
@ -83,12 +83,12 @@ Hasuraを試す最も早い方法はHerokuを使うことです。
|
||||
|
||||
| **インフラ業者** | **ワンクリックリンク** | **追加情報** |
|
||||
|:------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------------------------------------------------:|
|
||||
| DigitalOcean | [![DigitalOceanへのデプロイ](https://graphql-engine-cdn.hasura.io/img/create_hasura_droplet_200px.png)](https://marketplace.digitalocean.com/apps/hasura?action=deploy&refcode=c4d9092d2c48&utm_source=hasura&utm_campaign=readme) | [ドキュメント](https://docs.hasura.io/1.0/graphql/manual/guides/deployment/digital-ocean-one-click.html#hasura-graphql-engine-digitalocean-one-click-app) |
|
||||
| Azure | [![Azureへのデプロイ](https://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fstable%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json) | [ドキュメント](https://docs.hasura.io/1.0/graphql/manual/guides/deployment/azure-container-instances-postgres.html) |
|
||||
| DigitalOcean | [![DigitalOceanへのデプロイ](https://graphql-engine-cdn.hasura.io/img/create_hasura_droplet_200px.png)](https://marketplace.digitalocean.com/apps/hasura?action=deploy&refcode=c4d9092d2c48&utm_source=hasura&utm_campaign=readme) | [ドキュメント](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/digital-ocean-one-click.html#hasura-graphql-engine-digitalocean-one-click-app) |
|
||||
| Azure | [![Azureへのデプロイ](https://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fmaster%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json) | [ドキュメント](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/azure-container-instances-postgres.html) |
|
||||
|
||||
### 他のデプロイ方法
|
||||
|
||||
Dockerでのデプロイと高度なカスタマイズオプションについては [デプロイガイド](https://docs.hasura.io/1.0/graphql/manual/getting-started/index.html) か
|
||||
Dockerでのデプロイと高度なカスタマイズオプションについては [デプロイガイド](https://hasura.io/docs/1.0/graphql/manual/getting-started/index.html) か
|
||||
[インストールマニフェスト](../install-manifests)を参考にしてください。
|
||||
|
||||
## アーキテクチャ
|
||||
@ -118,7 +118,7 @@ HasuraのPostgresベースのGraphQLスキーマに加えて、リモートス
|
||||
|
||||
### 派生データまたはデータ変換
|
||||
|
||||
PostgreSQLのデータを変換するか、あるいはその上でビジネスロジックを実行することでGraphQLエンジンを使用して問い合わせることができる別のデータセットを派生させる事ができます。[続きを読む](https://docs.hasura.io/1.0/graphql/manual/queries/derived-data.html).
|
||||
PostgreSQLのデータを変換するか、あるいはその上でビジネスロジックを実行することでGraphQLエンジンを使用して問い合わせることができる別のデータセットを派生させる事ができます。[続きを読む](https://hasura.io/docs/1.0/graphql/manual/queries/derived-data.html).
|
||||
|
||||
## デモ
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Motor Hasura GraphQL
|
||||
|
||||
[![Docs](https://img.shields.io/badge/docs-v1.0-brightgreen.svg?style=flat)](https://docs.hasura.io)
|
||||
[![Docs](https://img.shields.io/badge/docs-v1.0-brightgreen.svg?style=flat)](https://hasura.io/docs)
|
||||
[![CircleCI](https://circleci.com/gh/hasura/graphql-engine.svg?style=shield)](https://circleci.com/gh/hasura/graphql-engine)
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@ El motor de Hasura GraphQL es un potente servidor de GraphQL que provee de **API
|
||||
|
||||
Hasura te ayuda a crear aplicaciones GraphQL respaldadas por Postgres o de manera gradual permite migrar a aplicaciones GraphQL desde aplicaciones que usan Postgres.
|
||||
|
||||
Leer más en [hasura.io](https://hasura.io) y en [docs](https://docs.hasura.io).
|
||||
Leer más en [hasura.io](https://hasura.io) y en [docs](https://hasura.io/docs).
|
||||
|
||||
------------------
|
||||
|
||||
@ -36,7 +36,7 @@ Leer más en [hasura.io](https://hasura.io) y en [docs](https://docs.hasura.io).
|
||||
* **Interfaz de administración y Migraciones**: Interfaz de administración y esquema de migraciones inspiradas en Rails.
|
||||
* **Postgres** ❤️: Soporta los tipos de Postgres (PostGIS/geo-location, etc.), convierte las vistas a *gráficas*, ejecuta funciones almacenadas o procedimientos con mutaciones.
|
||||
|
||||
Leer más en [hasura.io](https://hasura.io) y en [docs](https://docs.hasura.io).
|
||||
Leer más en [hasura.io](https://hasura.io) y en [docs](https://hasura.io/docs).
|
||||
|
||||
## Tabla de contenidos
|
||||
<!-- markdown-toc start - Don't edit this section. Run M-x markdown-toc-refresh-toc -->
|
||||
@ -77,7 +77,7 @@ La manera más rápida de probar Hasura es usando Heroku.
|
||||
|
||||
3. Haz tu primer consulta con GraphQL
|
||||
|
||||
Crea una tabla e instantáneamente ejecuta tu primer consulta. Sigue esta [guía simple](https://docs.hasura.io/1.0/graphql/manual/getting-started/first-graphql-query.html).
|
||||
Crea una tabla e instantáneamente ejecuta tu primer consulta. Sigue esta [guía simple](https://hasura.io/docs/1.0/graphql/manual/getting-started/first-graphql-query.html).
|
||||
|
||||
### Otras opciones de despliegue en un clic
|
||||
|
||||
@ -85,12 +85,12 @@ Revisa las instrucciones para las siguientes opciones de despliegue en un click:
|
||||
|
||||
| **Proveedor de infraestructura** | **Enlace en un clic** | **Información adicional** |
|
||||
|:------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------------------------------------------------:|
|
||||
| DigitalOcean | [![Deploy to DigitalOcean](https://graphql-engine-cdn.hasura.io/img/create_hasura_droplet_200px.png)](https://marketplace.digitalocean.com/apps/hasura?action=deploy&refcode=c4d9092d2c48&utm_source=hasura&utm_campaign=readme) | [docs](https://docs.hasura.io/1.0/graphql/manual/guides/deployment/digital-ocean-one-click.html#hasura-graphql-engine-digitalocean-one-click-app) |
|
||||
| Azure | [![Deploy to Azure](http://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fstable%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json) | [docs](https://docs.hasura.io/1.0/graphql/manual/guides/deployment/azure-container-instances-postgres.html) |
|
||||
| DigitalOcean | [![Deploy to DigitalOcean](https://graphql-engine-cdn.hasura.io/img/create_hasura_droplet_200px.png)](https://marketplace.digitalocean.com/apps/hasura?action=deploy&refcode=c4d9092d2c48&utm_source=hasura&utm_campaign=readme) | [docs](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/digital-ocean-one-click.html#hasura-graphql-engine-digitalocean-one-click-app) |
|
||||
| Azure | [![Deploy to Azure](http://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fmaster%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json) | [docs](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/azure-container-instances-postgres.html) |
|
||||
|
||||
### Otros métodos de despliegue
|
||||
|
||||
Para el despliegue basado en Docker y opciones de configuración avanzadas, revisar [guías de despliegue](https://docs.hasura.io/1.0/graphql/manual/getting-started/index.html) o
|
||||
Para el despliegue basado en Docker y opciones de configuración avanzadas, revisar [guías de despliegue](https://hasura.io/docs/1.0/graphql/manual/getting-started/index.html) o
|
||||
[manifiesto de instalación](../install-manifests).
|
||||
|
||||
## Arquitectura
|
||||
@ -120,7 +120,7 @@ Ideal para notificaciones, canales de datos de Postgres o procesamiento asíncro
|
||||
|
||||
### Datos derivados o transformación de datos
|
||||
|
||||
Transforma datos en Postgres o ejecuta la lógica de negocio en ellos para derivar otro conjunto de datos que puedan ser consultados usando el motor de GraphQL - [leer más](https://docs.hasura.io/1.0/graphql/manual/queries/derived-data.html).
|
||||
Transforma datos en Postgres o ejecuta la lógica de negocio en ellos para derivar otro conjunto de datos que puedan ser consultados usando el motor de GraphQL - [leer más](https://hasura.io/docs/1.0/graphql/manual/queries/derived-data.html).
|
||||
|
||||
## Demos
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Hasura GraphQL Engine
|
||||
|
||||
[![Docs](https://img.shields.io/badge/docs-v1.0-brightgreen.svg?style=flat)](https://docs.hasura.io)
|
||||
[![Docs](https://img.shields.io/badge/docs-v1.0-brightgreen.svg?style=flat)](https://hasura.io/docs)
|
||||
[![CircleCI](https://circleci.com/gh/hasura/graphql-engine.svg?style=shield)](https://circleci.com/gh/hasura/graphql-engine)
|
||||
|
||||
<a href="https://discord.gg/vBPpJkS"><img src="https://img.shields.io/badge/chat-discord-brightgreen.svg?logo=discord&style=flat"></a>
|
||||
@ -11,7 +11,7 @@ Hasura GraphQL Engine é um servidor GraphQL extremamente rápido que fornece **
|
||||
|
||||
Hasura ajuda a criar GraphQL apps suportados pelo Postgres ou migrar gradualmente para GraphQL apps existentes usando Postgres.
|
||||
|
||||
Leia mais em [hasura.io](https://hasura.io) e na [documentação](https://docs.hasura.io).
|
||||
Leia mais em [hasura.io](https://hasura.io) e na [documentação](https://hasura.io/docs).
|
||||
|
||||
---
|
||||
|
||||
@ -35,7 +35,7 @@ Leia mais em [hasura.io](https://hasura.io) e na [documentação](https://docs.h
|
||||
- **Interface de Admin & Migração**: Interface de Admin & esquemas de migração inspirada em Rails
|
||||
- **Postgres** ❤️: Suporta Postgres types(PostGIS/geo-location, etc.), transforma visualizações em _graphs_, aciona funções ou procedimentos armazenados com mutações
|
||||
|
||||
Leia mais em [hasura.io](https://hasura.io) e na [documentação](https://docs.hasura.io).
|
||||
Leia mais em [hasura.io](https://hasura.io) e na [documentação](https://hasura.io/docs).
|
||||
|
||||
## Índice
|
||||
|
||||
@ -78,7 +78,7 @@ O modo mais fácil de experimentar Hasura é via o Heroku.
|
||||
|
||||
3. Faça sua primeira consulta GraphQL
|
||||
|
||||
Crie uma tabela e rode instantaneamente sua primeira consulta. Siga esse [simples guia](https://docs.hasura.io/1.0/graphql/manual/getting-started/first-graphql-query.html).
|
||||
Crie uma tabela e rode instantaneamente sua primeira consulta. Siga esse [simples guia](https://hasura.io/docs/1.0/graphql/manual/getting-started/first-graphql-query.html).
|
||||
|
||||
### Outros métodos de implantação
|
||||
|
||||
@ -86,12 +86,12 @@ Confira as instruções para as seguintes opções de implantação com um cliqu
|
||||
|
||||
| **Fornecedor de infraestrutura** | **Link com um clique** | **Informação adicional** |
|
||||
| :------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------: |
|
||||
| DigitalOcean | [![Deploy to DigitalOcean](https://graphql-engine-cdn.hasura.io/img/create_hasura_droplet_200px.png)](https://marketplace.digitalocean.com/apps/hasura?action=deploy&refcode=c4d9092d2c48&utm_source=hasura&utm_campaign=readme) | [docs](https://docs.hasura.io/1.0/graphql/manual/guides/deployment/digital-ocean-one-click.html#hasura-graphql-engine-digitalocean-one-click-app) |
|
||||
| Azure | [![Deploy to Azure](http://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fstable%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json) | [docs](https://docs.hasura.io/1.0/graphql/manual/guides/deployment/azure-container-instances-postgres.html) |
|
||||
| DigitalOcean | [![Deploy to DigitalOcean](https://graphql-engine-cdn.hasura.io/img/create_hasura_droplet_200px.png)](https://marketplace.digitalocean.com/apps/hasura?action=deploy&refcode=c4d9092d2c48&utm_source=hasura&utm_campaign=readme) | [docs](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/digital-ocean-one-click.html#hasura-graphql-engine-digitalocean-one-click-app) |
|
||||
| Azure | [![Deploy to Azure](http://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fmaster%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json) | [docs](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/azure-container-instances-postgres.html) |
|
||||
|
||||
### Outros métodos de implantação
|
||||
|
||||
Para implantação baseada no Docker e opções de configuração avançadas, veja o [guias de implantação](https://docs.hasura.io/1.0/graphql/manual/getting-started/index.html) ou o
|
||||
Para implantação baseada no Docker e opções de configuração avançadas, veja o [guias de implantação](https://hasura.io/docs/1.0/graphql/manual/getting-started/index.html) ou o
|
||||
[manifestos de instalação](/install-manifests).
|
||||
|
||||
## Arquitetura
|
||||
@ -120,7 +120,7 @@ Adicione lógica de negócios assíncrona que é acionada com base nos eventos d
|
||||
|
||||
### Dados derivados ou transformações de dados
|
||||
|
||||
Transforme dados no Postgres ou execute a lógica de negócios para obter outro conjunto de dados que possa ser consultado usando o GraphQL Engine - [leia mais](https://docs.hasura.io/1.0/graphql/manual/queries/derived-data.html).
|
||||
Transforme dados no Postgres ou execute a lógica de negócios para obter outro conjunto de dados que possa ser consultado usando o GraphQL Engine - [leia mais](https://hasura.io/docs/1.0/graphql/manual/queries/derived-data.html).
|
||||
|
||||
## Demos
|
||||
|
||||
|
@ -1,199 +1,199 @@
|
||||
# Hasura GraphQL Engine
|
||||
|
||||
[![Docs](https://img.shields.io/badge/docs-v1.0-brightgreen.svg?style=flat)](https://docs.hasura.io)
|
||||
[![CircleCI](https://circleci.com/gh/hasura/graphql-engine.svg?style=shield)](https://circleci.com/gh/hasura/graphql-engine)
|
||||
|
||||
|
||||
<a href="https://discord.gg/vBPpJkS"><img src="https://img.shields.io/badge/chat-discord-brightgreen.svg?logo=discord&style=flat"></a>
|
||||
<a href="https://twitter.com/intent/follow?screen_name=HasuraHQ"><img src="https://img.shields.io/badge/Follow-HasuraHQ-blue.svg?style=flat&logo=twitter"></a>
|
||||
<a href="https://eepurl.com/dBUfJ5"><img src="https://img.shields.io/badge/newsletter-subscribe-yellow.svg?style=flat"></a>
|
||||
|
||||
Hasura GraphQL Engine - это сверхбыстрый графический сервер позволяющий создавать **мгновенный GraphQL API работающий в режиме реального времени в базе данных Postgres**, с [**webhook триггерами**](../event-triggers.md) на основе событий в базе данных, и [**remote schemas**](../remote-schemas.md) для бизнес-логики.
|
||||
|
||||
Hasura помогает строить GraphQL приложения при поддержке Postgres или постепенно перейти на GraphQL для уже существующих приложений, использующих Postgres.
|
||||
|
||||
Подробнее на [hasura.io](https://hasura.io) и [docs](https://docs.hasura.io).
|
||||
|
||||
------------------
|
||||
|
||||
![Hasura GraphQL Engine Demo](../assets/demo.gif)
|
||||
|
||||
------------------
|
||||
|
||||
![Hasura GraphQL Engine Realtime Demo](../assets/realtime.gif)
|
||||
|
||||
-------------------
|
||||
|
||||
## Характеристики
|
||||
|
||||
* **Делать мощные запросы**: встроенная фильтрация, нумерация страниц, поиск шаблонов, объёмная вставка, обновление, удаление мутаций.
|
||||
* **Режим реального времени**: Конвертируйте любой запрос GraphQL в запрос в режиме реального времени, используя подписку.
|
||||
* **Слияние удаленных схем**: Доступ к пользовательским схемам GraphQL для бизнес-логики через единую конечную точку GraphQL Engine. [**Подробнее**](../remote-schemas.md).
|
||||
* **Запуск webhook-ов или serverless функций**: В ответ на события Postgres insert/update/delete.([ подробнее](../event-triggers.md))
|
||||
* **Работает с существующими базами данных**: Направьте его на существующую базу данных Postgres, чтобы мгновенно получить готовый к использованию GraphQL API.
|
||||
* **Подробный контроль доступа**: Динамический контроль доступа, интегрируемый с Auth системой (напр: auth0, firebase-auth).
|
||||
* **Высокая производительность и малое воздействие**: ~15MB изображение docker-a; ~50MB RAM @ 1000 req/s; многоядерный.
|
||||
* **Интерфейс администрирования и миграции**: Интерфейс администрирования и миграция схемы на Rails
|
||||
* **Postgres** ❤️: Поддержка Postgres типов (PostGIS/geo-location, и т.д.), преобразуется в *graphs*, запускает процедуры или функции, сохраненные посредством мутаций.
|
||||
|
||||
Подробнее на [hasura.io](https://hasura.io) и [docs](https://docs.hasura.io).
|
||||
|
||||
## Содержание
|
||||
<!-- markdown-toc start - Don't edit this section. Run M-x markdown-toc-refresh-toc -->
|
||||
**Содержание**
|
||||
|
||||
- [Быстрый запуск:](#быстрый-запуск)
|
||||
- [Деплоймент одним кликом на Heroku](#деплоймент-одним-кликом-на-Heroku)
|
||||
- [Другие методы деплоймента](#другие-варианты-деплоймента-одним-кликом)
|
||||
- [Архитектура](#архитектура)
|
||||
- [Инструменты клиентской стороны](#инструменты-клиентской-стороны)
|
||||
- [Добавление бизнес-логики](#добавить-бизнес-логику)
|
||||
- [Схемы удаленного доступа](#схемы-удаленного-доступа)
|
||||
- [Запуск webhook по событиям в базе данных](#запуск-webhook-по-событиям-в-базе-данных)
|
||||
- [Demos](#demos)
|
||||
- [Приложения в режиме реального времени](#приложения-в-режиме-реального-времени)
|
||||
- [Видео](#видео)
|
||||
- [Поддержка и устранение неисправностей](#поддержка-и-устранение-неисправностей)
|
||||
- [Контрибуция](#контрибуция)
|
||||
- [Элементы бренда](#элементы-бренда)
|
||||
- [Лицензия](#лицензия)
|
||||
|
||||
<!-- markdown-toc end -->
|
||||
|
||||
## Быстрый запуск:
|
||||
|
||||
### Деплоймент одним кликом на Heroku
|
||||
|
||||
Самый быстрый способ попробовать Hasura через Heroku.
|
||||
|
||||
1. Нажмите на кнопку ниже, чтобы развернуть GraphQL Engine на Heroku с бесплатным дополнением Postgres:
|
||||
|
||||
[![Деплоймент в Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hasura/graphql-engine-heroku)
|
||||
|
||||
2. Откройте консоль Hasura
|
||||
|
||||
Посетите `https://<app-name>.herokuapp.com` (*замените \<app-name\> с именем вашего приложения*) чтобы открыть консоль администрирования.
|
||||
|
||||
3. Сделайте свой первый GraphQL-запрос
|
||||
|
||||
Создайте таблицу и сразу же выполните свой первый запрос. Следуйте следующим указаниям [простое руководство](https://docs.hasura.io/1.0/graphql/manual/getting-started/first-graphql-query.html).
|
||||
|
||||
### Другие варианты деплоймента одним кликом
|
||||
|
||||
Ознакомьтесь со следующими инструкциями по деплойменте одним кликом:
|
||||
|
||||
| **Infra provider** | **One-click link** | **Additional information** |
|
||||
|:------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------------------------------------------------:|
|
||||
| DigitalOcean | [![Deploy to DigitalOcean](https://graphql-engine-cdn.hasura.io/img/create_hasura_droplet_200px.png)](https://marketplace.digitalocean.com/apps/hasura?action=deploy&refcode=c4d9092d2c48&utm_source=hasura&utm_campaign=readme) | [docs](https://docs.hasura.io/1.0/graphql/manual/guides/deployment/digital-ocean-one-click.html#hasura-graphql-engine-digitalocean-one-click-app) |
|
||||
| Azure | [![Deploy to Azure](http://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fstable%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json) | [docs](https://docs.hasura.io/1.0/graphql/manual/guides/deployment/azure-container-instances-postgres.html) |
|
||||
|
||||
### Другие методы деплоймента
|
||||
|
||||
Для методов деплоймента на базе Docker и расширенных опций конфигурации, ознакомьтесь с [руководство по деплойменту](https://docs.hasura.io/1.0/graphql/manual/getting-started/index.html) или
|
||||
[установока манифестов](../install-manifests).
|
||||
|
||||
## Архитектура
|
||||
|
||||
Hasura GraphQL Engine расположен перед базой данных Postgres и может принимать запросы GraphQL от ваших клиентских приложений. Он может быть сконфигурирован для работы с вашей существующей системой Auth и может управлять доступом с помощью правил полевого уровня с динамическими переменными из вашей системы auth.
|
||||
|
||||
Вы также можете объединить удаленные GraphQL схемы и предоставить единый GraphQL API.
|
||||
|
||||
![Архитектура Hasura GraphQL Engine](../assets/hasura-arch.svg)
|
||||
|
||||
## Инструменты клиентской стороны
|
||||
|
||||
Hasura работает с любым GraphQL клиентом. Мы рекомендуем использовать [Apollo Client](https://github.com/apollographql/apollo-client). Посетите [awesome-graphql](https://github.com/chentsulin/awesome-graphql) для списка клиентов.
|
||||
|
||||
## Добавить бизнес-логику
|
||||
|
||||
GraphQL Engine предоставляет простые в обосновании, масштабируемые и производительные методы для добавления бизнес-логики в ваш бэкенд:
|
||||
|
||||
### Схемы удаленного доступа
|
||||
|
||||
Добавьте пользовательские преобразователи в удаленную схему в дополнение к схеме GraphQL на основе Postgres Hasura. Идеально подходит для использования в таких случаях, как имплементация платежного API или запрос данных, отсутствующих в вашей базе данных. - [подробнее](../remote-schemas.md).
|
||||
|
||||
### Запуск webhook по событиям в базе данных
|
||||
|
||||
Добавьте асинхронную бизнес-логику, которая срабатывает на основе событий в базе данных.
|
||||
Идеально подходит для уведомлений, каналов передачи данных от Postgres или асинхронной обработки - [подробнее](../event-triggers.md).
|
||||
|
||||
### Полученные данные или трансформация данных
|
||||
|
||||
Преобразование данных в Postgres или запуск бизнес-логики для получения другого набора данных, который можно запросить с помощью GraphQL Engine. - [подробнее](https://docs.hasura.io/1.0/graphql/manual/queries/derived-data.html).
|
||||
|
||||
## Demos
|
||||
|
||||
Ознакомьтесь со всеми примерами приложений в
|
||||
[community/examples](../community/sample-apps) папке.
|
||||
|
||||
### Приложения в режиме реального времени
|
||||
|
||||
- Приложение группового чата, построенное с помощью React, включает в себя индикатор набора текста, онлайн пользователей и уведомления о сообщениях.
|
||||
- [Попробуйте это](https://realtime-chat.demo.hasura.app/)
|
||||
- [Руководство](../community/sample-apps/realtime-chat)
|
||||
- [Просмотреть API](https://realtime-chat.demo.hasura.app/console)
|
||||
|
||||
- Приложение для отслеживания местоположения в реальном времени, показывающее движущееся транспортное средство, изменяющее текущие GPS-координаты, движущееся по карте.
|
||||
- [Попробуйте это](https://realtime-location-tracking.demo.hasura.app/)
|
||||
- [Руководство](../community/sample-apps/realtime-location-tracking)
|
||||
- [Просмотреть API](https://realtime-location-tracking.demo.hasura.app/console)
|
||||
|
||||
- Информационная панель в режиме реального времени для агрегирования данных по постоянно меняющимся данным.
|
||||
- [Попробуйте это](https://realtime-poll.demo.hasura.app/)
|
||||
- [Руководство](../community/sample-apps/realtime-poll)
|
||||
- [Просмотреть API](https://realtime-poll.demo.hasura.app/console)
|
||||
|
||||
### Видео
|
||||
|
||||
* [Добавьте GraphQL к экземпляру GitLab, размещенному на вашем сервере](https://www.youtube.com/watch?v=a2AhxKqd82Q) (*3:44 мин*)
|
||||
* [Приложение Todo с Auth0 и GraphQL бэкенд](https://www.youtube.com/watch?v=15ITBYnccgc) (*4:00 мин*)
|
||||
* [GraphQL на GitLab интегрированный с GitLab auth](https://www.youtube.com/watch?v=m1ChRhRLq7o) (*4:05 мин*)
|
||||
* [Таблица для 10 миллионов ездок с геолокацией (PostGIS, Timescale)](https://www.youtube.com/watch?v=tsY573yyGWA) (*3:06 мин*)
|
||||
|
||||
|
||||
## Поддержка и устранение неисправностей
|
||||
|
||||
Документация и сообщество поможет вам решить большинство проблем. Если вы столкнулись с ошибкой или вам нужно связаться с нами, вы можете использовать один из следующих каналов связи:
|
||||
|
||||
* Поддержка и обратная связь: [Discord](https://discord.gg/vBPpJkS)
|
||||
* Проблема и отслеживание ошибок: [GitHub issues](https://github.com/hasura/graphql-engine/issues)
|
||||
* Следите за обновлениями продукта: [@HasuraHQ](https://twitter.com/hasurahq)
|
||||
* Поговорите с нами [чат на сайте](https://hasura.io)
|
||||
|
||||
Мы стремимся создать открытую и доброжелательную атмосферу в сообществе. Пожалуйста, ознакомьтесь с [Кодекс поведения](../code-of-conduct.md).
|
||||
|
||||
Если вы хотите сообщить о проблеме безопасности, пожалуйста, [прочитайте это](../SECURITY.md).
|
||||
|
||||
## Контрибуция
|
||||
|
||||
Ознакомьтесь с нашим [руководством по контрибуции](../CONTRIBUTING.md) для более подробной информации.
|
||||
|
||||
## Элементы бренда
|
||||
|
||||
Элементы бренда Hasura (логотипы, Hasura значки и т.д.) можно найти в [assets/brand](../assets/brand) папке. Можете использовать их в вашем приложении / веб-сайте и т.д.
|
||||
Мы были бы рады, если бы вы добавили "Powered by Hasura" бейдж к вашим приложениям, построенным с помощью Hasura.. ❤️
|
||||
|
||||
<div style="display: flex;">
|
||||
<img src="../assets/brand/powered_by_hasura_blue.svg" width="150px"/>
|
||||
<img src="../assets/brand/powered_by_hasura_white.svg" width="150px"/>
|
||||
</div>
|
||||
|
||||
```html
|
||||
<!-- Для светлых фонов -->
|
||||
<a href="https://hasura.io">
|
||||
<img width="150px" src="https://graphql-engine-cdn.hasura.io/img/powered_by_hasura_blue.svg" />
|
||||
</a>
|
||||
|
||||
<!-- Для темных фонов -->
|
||||
<a href="https://hasura.io">
|
||||
<img width="150px" src="https://graphql-engine-cdn.hasura.io/img/powered_by_hasura_white.svg" />
|
||||
</a>
|
||||
```
|
||||
|
||||
## Лицензия
|
||||
|
||||
GraphQL Engine доступно по адресу [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0) (Apache-2.0).
|
||||
|
||||
Все **прочие материалы** (за исключением материалов, содержащихся в [`server`](../server), [`cli`](../cli) и
|
||||
[`console`](../console) папках) доступны под [MIT License](../LICENSE-community).
|
||||
Сюда входит все, что есть в [`docs`](../docs) и [`community`](../community) папках.
|
||||
# Hasura GraphQL Engine
|
||||
|
||||
[![Docs](https://img.shields.io/badge/docs-v1.0-brightgreen.svg?style=flat)](https://hasura.io/docs)
|
||||
[![CircleCI](https://circleci.com/gh/hasura/graphql-engine.svg?style=shield)](https://circleci.com/gh/hasura/graphql-engine)
|
||||
|
||||
|
||||
<a href="https://discord.gg/vBPpJkS"><img src="https://img.shields.io/badge/chat-discord-brightgreen.svg?logo=discord&style=flat"></a>
|
||||
<a href="https://twitter.com/intent/follow?screen_name=HasuraHQ"><img src="https://img.shields.io/badge/Follow-HasuraHQ-blue.svg?style=flat&logo=twitter"></a>
|
||||
<a href="https://eepurl.com/dBUfJ5"><img src="https://img.shields.io/badge/newsletter-subscribe-yellow.svg?style=flat"></a>
|
||||
|
||||
Hasura GraphQL Engine - это сверхбыстрый графический сервер позволяющий создавать **мгновенный GraphQL API работающий в режиме реального времени в базе данных Postgres**, с [**webhook триггерами**](../event-triggers.md) на основе событий в базе данных, и [**remote schemas**](../remote-schemas.md) для бизнес-логики.
|
||||
|
||||
Hasura помогает строить GraphQL приложения при поддержке Postgres или постепенно перейти на GraphQL для уже существующих приложений, использующих Postgres.
|
||||
|
||||
Подробнее на [hasura.io](https://hasura.io) и [docs](https://hasura.io/docs).
|
||||
|
||||
------------------
|
||||
|
||||
![Hasura GraphQL Engine Demo](../assets/demo.gif)
|
||||
|
||||
------------------
|
||||
|
||||
![Hasura GraphQL Engine Realtime Demo](../assets/realtime.gif)
|
||||
|
||||
-------------------
|
||||
|
||||
## Характеристики
|
||||
|
||||
* **Делать мощные запросы**: встроенная фильтрация, нумерация страниц, поиск шаблонов, объёмная вставка, обновление, удаление мутаций.
|
||||
* **Режим реального времени**: Конвертируйте любой запрос GraphQL в запрос в режиме реального времени, используя подписку.
|
||||
* **Слияние удаленных схем**: Доступ к пользовательским схемам GraphQL для бизнес-логики через единую конечную точку GraphQL Engine. [**Подробнее**](../remote-schemas.md).
|
||||
* **Запуск webhook-ов или serverless функций**: В ответ на события Postgres insert/update/delete.([ подробнее](../event-triggers.md))
|
||||
* **Работает с существующими базами данных**: Направьте его на существующую базу данных Postgres, чтобы мгновенно получить готовый к использованию GraphQL API.
|
||||
* **Подробный контроль доступа**: Динамический контроль доступа, интегрируемый с Auth системой (напр: auth0, firebase-auth).
|
||||
* **Высокая производительность и малое воздействие**: ~15MB изображение docker-a; ~50MB RAM @ 1000 req/s; многоядерный.
|
||||
* **Интерфейс администрирования и миграции**: Интерфейс администрирования и миграция схемы на Rails
|
||||
* **Postgres** ❤️: Поддержка Postgres типов (PostGIS/geo-location, и т.д.), преобразуется в *graphs*, запускает процедуры или функции, сохраненные посредством мутаций.
|
||||
|
||||
Подробнее на [hasura.io](https://hasura.io) и [docs](https://hasura.io/docs).
|
||||
|
||||
## Содержание
|
||||
<!-- markdown-toc start - Don't edit this section. Run M-x markdown-toc-refresh-toc -->
|
||||
**Содержание**
|
||||
|
||||
- [Быстрый запуск:](#быстрый-запуск)
|
||||
- [Деплоймент одним кликом на Heroku](#деплоймент-одним-кликом-на-Heroku)
|
||||
- [Другие методы деплоймента](#другие-варианты-деплоймента-одним-кликом)
|
||||
- [Архитектура](#архитектура)
|
||||
- [Инструменты клиентской стороны](#инструменты-клиентской-стороны)
|
||||
- [Добавление бизнес-логики](#добавить-бизнес-логику)
|
||||
- [Схемы удаленного доступа](#схемы-удаленного-доступа)
|
||||
- [Запуск webhook по событиям в базе данных](#запуск-webhook-по-событиям-в-базе-данных)
|
||||
- [Demos](#demos)
|
||||
- [Приложения в режиме реального времени](#приложения-в-режиме-реального-времени)
|
||||
- [Видео](#видео)
|
||||
- [Поддержка и устранение неисправностей](#поддержка-и-устранение-неисправностей)
|
||||
- [Контрибуция](#контрибуция)
|
||||
- [Элементы бренда](#элементы-бренда)
|
||||
- [Лицензия](#лицензия)
|
||||
|
||||
<!-- markdown-toc end -->
|
||||
|
||||
## Быстрый запуск:
|
||||
|
||||
### Деплоймент одним кликом на Heroku
|
||||
|
||||
Самый быстрый способ попробовать Hasura через Heroku.
|
||||
|
||||
1. Нажмите на кнопку ниже, чтобы развернуть GraphQL Engine на Heroku с бесплатным дополнением Postgres:
|
||||
|
||||
[![Деплоймент в Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hasura/graphql-engine-heroku)
|
||||
|
||||
2. Откройте консоль Hasura
|
||||
|
||||
Посетите `https://<app-name>.herokuapp.com` (*замените \<app-name\> с именем вашего приложения*) чтобы открыть консоль администрирования.
|
||||
|
||||
3. Сделайте свой первый GraphQL-запрос
|
||||
|
||||
Создайте таблицу и сразу же выполните свой первый запрос. Следуйте следующим указаниям [простое руководство](https://hasura.io/docs/1.0/graphql/manual/getting-started/first-graphql-query.html).
|
||||
|
||||
### Другие варианты деплоймента одним кликом
|
||||
|
||||
Ознакомьтесь со следующими инструкциями по деплойменте одним кликом:
|
||||
|
||||
| **Infra provider** | **One-click link** | **Additional information** |
|
||||
|:------------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-------------------------------------------------------------------------------------------------------------------------------------------------:|
|
||||
| DigitalOcean | [![Deploy to DigitalOcean](https://graphql-engine-cdn.hasura.io/img/create_hasura_droplet_200px.png)](https://marketplace.digitalocean.com/apps/hasura?action=deploy&refcode=c4d9092d2c48&utm_source=hasura&utm_campaign=readme) | [docs](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/digital-ocean-one-click.html#hasura-graphql-engine-digitalocean-one-click-app) |
|
||||
| Azure | [![Deploy to Azure](http://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fhasura%2fgraphql-engine%2fmaster%2finstall-manifests%2fazure-container-with-pg%2fazuredeploy.json) | [docs](https://hasura.io/docs/1.0/graphql/manual/guides/deployment/azure-container-instances-postgres.html) |
|
||||
|
||||
### Другие методы деплоймента
|
||||
|
||||
Для методов деплоймента на базе Docker и расширенных опций конфигурации, ознакомьтесь с [руководство по деплойменту](https://hasura.io/docs/1.0/graphql/manual/getting-started/index.html) или
|
||||
[установока манифестов](../install-manifests).
|
||||
|
||||
## Архитектура
|
||||
|
||||
Hasura GraphQL Engine расположен перед базой данных Postgres и может принимать запросы GraphQL от ваших клиентских приложений. Он может быть сконфигурирован для работы с вашей существующей системой Auth и может управлять доступом с помощью правил полевого уровня с динамическими переменными из вашей системы auth.
|
||||
|
||||
Вы также можете объединить удаленные GraphQL схемы и предоставить единый GraphQL API.
|
||||
|
||||
![Архитектура Hasura GraphQL Engine](../assets/hasura-arch.svg)
|
||||
|
||||
## Инструменты клиентской стороны
|
||||
|
||||
Hasura работает с любым GraphQL клиентом. Мы рекомендуем использовать [Apollo Client](https://github.com/apollographql/apollo-client). Посетите [awesome-graphql](https://github.com/chentsulin/awesome-graphql) для списка клиентов.
|
||||
|
||||
## Добавить бизнес-логику
|
||||
|
||||
GraphQL Engine предоставляет простые в обосновании, масштабируемые и производительные методы для добавления бизнес-логики в ваш бэкенд:
|
||||
|
||||
### Схемы удаленного доступа
|
||||
|
||||
Добавьте пользовательские преобразователи в удаленную схему в дополнение к схеме GraphQL на основе Postgres Hasura. Идеально подходит для использования в таких случаях, как имплементация платежного API или запрос данных, отсутствующих в вашей базе данных. - [подробнее](../remote-schemas.md).
|
||||
|
||||
### Запуск webhook по событиям в базе данных
|
||||
|
||||
Добавьте асинхронную бизнес-логику, которая срабатывает на основе событий в базе данных.
|
||||
Идеально подходит для уведомлений, каналов передачи данных от Postgres или асинхронной обработки - [подробнее](../event-triggers.md).
|
||||
|
||||
### Полученные данные или трансформация данных
|
||||
|
||||
Преобразование данных в Postgres или запуск бизнес-логики для получения другого набора данных, который можно запросить с помощью GraphQL Engine. - [подробнее](https://hasura.io/docs/1.0/graphql/manual/queries/derived-data.html).
|
||||
|
||||
## Demos
|
||||
|
||||
Ознакомьтесь со всеми примерами приложений в
|
||||
[community/examples](../community/sample-apps) папке.
|
||||
|
||||
### Приложения в режиме реального времени
|
||||
|
||||
- Приложение группового чата, построенное с помощью React, включает в себя индикатор набора текста, онлайн пользователей и уведомления о сообщениях.
|
||||
- [Попробуйте это](https://realtime-chat.demo.hasura.app/)
|
||||
- [Руководство](../community/sample-apps/realtime-chat)
|
||||
- [Просмотреть API](https://realtime-chat.demo.hasura.app/console)
|
||||
|
||||
- Приложение для отслеживания местоположения в реальном времени, показывающее движущееся транспортное средство, изменяющее текущие GPS-координаты, движущееся по карте.
|
||||
- [Попробуйте это](https://realtime-location-tracking.demo.hasura.app/)
|
||||
- [Руководство](../community/sample-apps/realtime-location-tracking)
|
||||
- [Просмотреть API](https://realtime-location-tracking.demo.hasura.app/console)
|
||||
|
||||
- Информационная панель в режиме реального времени для агрегирования данных по постоянно меняющимся данным.
|
||||
- [Попробуйте это](https://realtime-poll.demo.hasura.app/)
|
||||
- [Руководство](../community/sample-apps/realtime-poll)
|
||||
- [Просмотреть API](https://realtime-poll.demo.hasura.app/console)
|
||||
|
||||
### Видео
|
||||
|
||||
* [Добавьте GraphQL к экземпляру GitLab, размещенному на вашем сервере](https://www.youtube.com/watch?v=a2AhxKqd82Q) (*3:44 мин*)
|
||||
* [Приложение Todo с Auth0 и GraphQL бэкенд](https://www.youtube.com/watch?v=15ITBYnccgc) (*4:00 мин*)
|
||||
* [GraphQL на GitLab интегрированный с GitLab auth](https://www.youtube.com/watch?v=m1ChRhRLq7o) (*4:05 мин*)
|
||||
* [Таблица для 10 миллионов ездок с геолокацией (PostGIS, Timescale)](https://www.youtube.com/watch?v=tsY573yyGWA) (*3:06 мин*)
|
||||
|
||||
|
||||
## Поддержка и устранение неисправностей
|
||||
|
||||
Документация и сообщество поможет вам решить большинство проблем. Если вы столкнулись с ошибкой или вам нужно связаться с нами, вы можете использовать один из следующих каналов связи:
|
||||
|
||||
* Поддержка и обратная связь: [Discord](https://discord.gg/vBPpJkS)
|
||||
* Проблема и отслеживание ошибок: [GitHub issues](https://github.com/hasura/graphql-engine/issues)
|
||||
* Следите за обновлениями продукта: [@HasuraHQ](https://twitter.com/hasurahq)
|
||||
* Поговорите с нами [чат на сайте](https://hasura.io)
|
||||
|
||||
Мы стремимся создать открытую и доброжелательную атмосферу в сообществе. Пожалуйста, ознакомьтесь с [Кодекс поведения](../code-of-conduct.md).
|
||||
|
||||
Если вы хотите сообщить о проблеме безопасности, пожалуйста, [прочитайте это](../SECURITY.md).
|
||||
|
||||
## Контрибуция
|
||||
|
||||
Ознакомьтесь с нашим [руководством по контрибуции](../CONTRIBUTING.md) для более подробной информации.
|
||||
|
||||
## Элементы бренда
|
||||
|
||||
Элементы бренда Hasura (логотипы, Hasura значки и т.д.) можно найти в [assets/brand](../assets/brand) папке. Можете использовать их в вашем приложении / веб-сайте и т.д.
|
||||
Мы были бы рады, если бы вы добавили "Powered by Hasura" бейдж к вашим приложениям, построенным с помощью Hasura.. ❤️
|
||||
|
||||
<div style="display: flex;">
|
||||
<img src="../assets/brand/powered_by_hasura_blue.svg" width="150px"/>
|
||||
<img src="../assets/brand/powered_by_hasura_white.svg" width="150px"/>
|
||||
</div>
|
||||
|
||||
```html
|
||||
<!-- Для светлых фонов -->
|
||||
<a href="https://hasura.io">
|
||||
<img width="150px" src="https://graphql-engine-cdn.hasura.io/img/powered_by_hasura_blue.svg" />
|
||||
</a>
|
||||
|
||||
<!-- Для темных фонов -->
|
||||
<a href="https://hasura.io">
|
||||
<img width="150px" src="https://graphql-engine-cdn.hasura.io/img/powered_by_hasura_white.svg" />
|
||||
</a>
|
||||
```
|
||||
|
||||
## Лицензия
|
||||
|
||||
GraphQL Engine доступно по адресу [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0) (Apache-2.0).
|
||||
|
||||
Все **прочие материалы** (за исключением материалов, содержащихся в [`server`](../server), [`cli`](../cli) и
|
||||
[`console`](../console) папках) доступны под [MIT License](../LICENSE-community).
|
||||
Сюда входит все, что есть в [`docs`](../docs) и [`community`](../community) папках.
|
||||
|
@ -35,11 +35,11 @@ La manière la plus rapide de tester les évènements déclencheurs est via Hero
|
||||
3. Configurez votre premier évènement déclencheur et webhook
|
||||
|
||||
Créez une table, configurez le changement de donnée que vous souhaitez utiliser comme déclencheur et invoquez immédiatement un webhook en ajoutant une nouvelle ligne dans votre table.
|
||||
Suivez ce [simple guide](https://docs.hasura.io/1.0/graphql/manual/getting-started/first-event-trigger.html).
|
||||
Suivez ce [simple guide](https://hasura.io/docs/1.0/graphql/manual/getting-started/first-event-trigger.html).
|
||||
|
||||
### Autres méthodes de déploiement
|
||||
|
||||
Pour les déploiements basés sur Docker et le options de configuration avancées, consultez les [guides de déploiement](https://docs.hasura.io/1.0/graphql/manual/getting-started/index.html).
|
||||
Pour les déploiements basés sur Docker et le options de configuration avancées, consultez les [guides de déploiement](https://hasura.io/docs/1.0/graphql/manual/getting-started/index.html).
|
||||
|
||||
### Demo (*30 secondes*)
|
||||
|
||||
|
@ -75,6 +75,6 @@ Ces limitations seront adressées dans les prochaines versions.
|
||||
|
||||
## Documentation
|
||||
|
||||
Consultez l'intégralité de la [documentation](https://docs.hasura.io/1.0/graphql/manual/remote-schemas/index.html).
|
||||
Consultez l'intégralité de la [documentation](https://hasura.io/docs/1.0/graphql/manual/remote-schemas/index.html).
|
||||
|
||||
|
||||
|
@ -74,7 +74,7 @@
|
||||
|
||||
## प्रलेखन
|
||||
|
||||
पूरा पढ़ें [प्रलेखन](https://docs.hasura.io/1.0/graphql/manual/remote-schemas/index.html).
|
||||
पूरा पढ़ें [प्रलेखन](https://hasura.io/docs/1.0/graphql/manual/remote-schemas/index.html).
|
||||
|
||||
## अनुवाद
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user