mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-19 13:31:43 +03:00
GITHUB_PR_NUMBER: 6176 GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6176 Co-authored-by: Funmilayo E. Olaiya <35759534+codeliezel@users.noreply.github.com> Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com> GitOrigin-RevId: 1fcd69dd876224c4d8e82ef1f2dc8e76242a49ba
61 lines
2.0 KiB
ReStructuredText
61 lines
2.0 KiB
ReStructuredText
.. meta::
|
|
:description: One-Click Deploy for Hasura GraphQL Engine on Nhost
|
|
:keywords: hasura, docs, guide, deployment, nhost, postgresql, storage, auth
|
|
|
|
.. _deploy_nhost:
|
|
|
|
Deploying Hasura GraphQL engine on Nhost
|
|
========================================
|
|
|
|
.. contents::
|
|
:backlinks: none
|
|
:depth: 1
|
|
:local:
|
|
|
|
Introduction
|
|
------------
|
|
|
|
This guide shows how to deploy the Hasura GraphQL engine on `Nhost <https://nhost.io>`__.
|
|
|
|
One-click deploy on Nhost
|
|
-------------------------
|
|
|
|
.. note::
|
|
Make sure to `create an Nhost account <https://nhost.io/register>`__ first. Nhost offers a 30-day trial with its starter plan.
|
|
|
|
Once you're logged into your Nhost account, click the ``create project`` button below to configure your project.
|
|
|
|
.. thumbnail:: /img/graphql/core/deployment/create-project-nhost.png
|
|
:alt: Create a project
|
|
|
|
On the following page you can choose a plan and a location for your project:
|
|
|
|
.. thumbnail:: /img/graphql/core/deployment/choose-plan-nhost.png
|
|
:alt: Choose a plan and location for your project
|
|
|
|
The creation and provisioning of your backend should be ready in roughly 30 seconds.
|
|
Your project has now a GraphQL API, a PostgreSQL database, user management, and storage for your files!
|
|
|
|
Access your Hasura console
|
|
--------------------------
|
|
|
|
Once your Nhost project is up and running, the ``Overview`` page will give information about the endpoints.
|
|
|
|
.. thumbnail:: /img/graphql/core/deployment/nhost-dashboard.png
|
|
:alt: Dashboard
|
|
|
|
Click on the ``Hasura`` tab in the navigation to open the dashboard. Then click on the ``Open Hasura Console`` button
|
|
to open the Hasura console.
|
|
|
|
.. thumbnail:: /img/graphql/core/deployment/nhost-hasura-console.png
|
|
:alt: Nhost Hasura console
|
|
|
|
To test it, you can either create tables directly using the console, or add new users to your project clicking on ``Auth`` on the navigation menu.
|
|
|
|
There is also a ``GraphQL API`` option for you to test the API.
|
|
Check out :ref:`making your first GraphQL query <first_graphql_query>` for more information.
|
|
|
|
References
|
|
----------
|
|
|
|
- `Nhost Docs <https://docs.nhost.io/>`__ |