Report Issue Edit Page

One-click Deploy

We love building GraphQL apps at Dgraph! In order to help you get started quickly, we are making it easy to launch a few apps with a single click. We’ll create a fresh backend for you, load it with the right schema, and even launch a front end that’s ready for you to use.

In order to do a One-Click Deploy, please choose the application you wish to deploy from the Apps tab in the side bar and click the Deploy button.

It will take few minutes while the new back-end spins up. You will be able to see the front-end URL under Details card on the Dashboard tab in the sidebar.

Deploying to your own domain.

If you wish to deploy your apps to your own domain, you can do that easily with any of the hosting services. You can follow below steps to deploy your app on Netlify.

  1. Fork the GitHub repo of the app you wish to deploy.
  2. Link your forked repo to Netlify by Clicking New Site from Git and Import Site
  3. After successful import of the forked repository click on Show advanced and New variable.
  4. Add REACT_APP_GRAPHQL_ENDPOINT in the key and your GraphQL endpoint obtained from Dgraph Cloud in the value field.
  5. Click Deploy Site on Netlify Dashboard. Advanced Settings
  6. You can configure Auth0 steps by following Authorization section of the blog post here.
Continue the conversation on Discuss.