mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-17 04:24:35 +03:00
0ff26100bf
GitOrigin-RevId: 1f2a1d21bfb9b2908d56305fa2dfb69270deafdf |
||
---|---|---|
.. | ||
nodejs | ||
README.md |
Event trigger boilerplates on Netlify
Contributions are welcome for boilerplates in other languages.
Setup Hasura GraphQL Engine
Click on the following button to deploy GraphQL Engine on Heroku with the free Postgres add-on:
Checkout docs for other deployment options.
Setup netlify-cli
- Create a Netlify account @ https://app.netlify.com
- Download netlify-cli:
npm install netlify-cli -g
- Login to
netlify
:ntl login
- Create a Netlify instance:
ntl init # or `ntl link` if you already have one and want to link the project
Setup and deploy the trigger
ntl functions:create # and pick the hasura template
The code is located here
and you can write and host your own in your own git repo.
When you are ready to deploy your functions to production, use:
ntl deploy --prod
For built in authentication, check netlify-identity-widget and its alternatives.