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.
- Fork the GitHub repo of the app you wish to deploy.
- Link your forked repo to Netlify by Clicking
New Site from Git
and - After successful import of the forked repository click on
Show advanced
andNew variable
. - Add
REACT_APP_GRAPHQL_ENDPOINT
in the key and your GraphQL endpoint obtained from Dgraph Cloud in the value field. - Click
Deploy Site
on Netlify Dashboard. - You can configure Auth0 steps by following Authorization section of the blog post here.