2020-01-14 15:57:45 +03:00
|
|
|
.. meta::
|
|
|
|
:description: Get started with Hasura
|
|
|
|
:keywords: hasura, docs, start
|
|
|
|
|
2020-03-11 22:42:36 +03:00
|
|
|
.. _getting_started:
|
|
|
|
|
2018-09-11 14:11:24 +03:00
|
|
|
Getting started
|
|
|
|
===============
|
|
|
|
|
2018-12-03 15:12:24 +03:00
|
|
|
.. contents:: Table of contents
|
|
|
|
:backlinks: none
|
|
|
|
:depth: 1
|
|
|
|
:local:
|
|
|
|
|
2018-09-11 14:11:24 +03:00
|
|
|
To use the Hasura GraphQL engine, you need to:
|
|
|
|
|
|
|
|
#. Run the Hasura GraphQL engine with access to a Postgres database
|
|
|
|
#. Use the Hasura console (an admin UI) that connects to the Hasura GraphQL engine to help you build your schema and
|
|
|
|
run GraphQL queries
|
|
|
|
|
2019-03-13 13:03:45 +03:00
|
|
|
.. thumbnail:: ../../../img/graphql/manual/getting-started/running-hasura.png
|
2018-09-11 14:11:24 +03:00
|
|
|
:width: 75%
|
|
|
|
:class: no-shadow
|
2019-12-30 12:02:06 +03:00
|
|
|
:alt: Running Hasura
|
2018-09-11 14:11:24 +03:00
|
|
|
|
2019-05-17 15:03:35 +03:00
|
|
|
Get started from scratch
|
|
|
|
------------------------
|
2018-09-11 14:11:24 +03:00
|
|
|
|
2020-03-11 22:42:36 +03:00
|
|
|
- :ref:`Using Heroku <heroku_simple>` **(recommended)**: Get started in under 60 seconds with no setup required to
|
2018-09-11 14:11:24 +03:00
|
|
|
host the Hasura GraphQL engine and Postgres on Heroku's free tier.
|
2020-03-11 22:42:36 +03:00
|
|
|
- :ref:`Using Docker <docker_simple>`: Run a **local development** setup that sets up both the Hasura GraphQL
|
2018-09-11 14:11:24 +03:00
|
|
|
engine and Postgres using Docker.
|
|
|
|
|
2019-05-17 15:03:35 +03:00
|
|
|
Get started using an existing database
|
|
|
|
--------------------------------------
|
2018-12-03 15:12:24 +03:00
|
|
|
|
2020-03-11 22:42:36 +03:00
|
|
|
- :ref:`Using Heroku <heroku_existing_db>`: Run on Heroku using an existing Heroku
|
2018-09-11 14:11:24 +03:00
|
|
|
Postgres database.
|
2020-03-11 22:42:36 +03:00
|
|
|
- :ref:`Using Docker <deployment_docker>`: Run as a docker container and connect to an existing Postgres
|
2018-09-11 14:11:24 +03:00
|
|
|
database.
|
2020-03-11 22:42:36 +03:00
|
|
|
- :ref:`Using Kubernetes <deploy_kubernetes>`: Run on Kubernetes and connect to an existing Postgres
|
2018-09-11 14:11:24 +03:00
|
|
|
database.
|
|
|
|
|
2019-09-09 11:35:39 +03:00
|
|
|
.. admonition:: Supported Postgres versions
|
|
|
|
|
2019-09-23 10:07:42 +03:00
|
|
|
Hasura GraphQL engine supports **Postgres 9.5 and above**
|
2019-09-09 11:35:39 +03:00
|
|
|
|
2018-09-11 14:11:24 +03:00
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 2
|
|
|
|
:titlesonly:
|
|
|
|
:hidden:
|
|
|
|
|
|
|
|
Heroku quickstart <heroku-simple>
|
|
|
|
Docker quickstart <docker-simple>
|
|
|
|
Using an existing database <using-existing-database>
|
|
|
|
first-graphql-query
|
|
|
|
first-event-trigger
|
2018-12-16 12:55:06 +03:00
|
|
|
|