mirror of
https://github.com/kou029w/intro-to-hasura.git
synced 2025-02-22 08:25:57 +00:00
add demo
This commit is contained in:
parent
e0c49a8ef8
commit
68b2775a21
1 changed files with 23 additions and 4 deletions
27
README.md
27
README.md
|
@ -36,7 +36,9 @@ API の問い合わせ言語
|
|||
- 型システム
|
||||
- 便利なツール
|
||||
|
||||

|
||||

|
||||
|
||||
<!-- _footer: 図の出典: "State of JS 2020" データ層 https://2020.stateofjs.com/ja-JP/technologies/datalayer/ -->
|
||||
|
||||
---
|
||||
|
||||
|
@ -49,21 +51,38 @@ Hasura を使うことで GraphQL と SQL を自動的に相互変換できる
|
|||
|
||||
---
|
||||
|
||||
## Hasura 2.0 の機能
|
||||
## Hasura の機能
|
||||
|
||||
[RESTified GraphQL Endpoints (2.0 の新機能)](https://hasura.io/docs/latest/graphql/core/api-reference/restified.html)
|
||||
GraphQL の REST 化のサポート
|
||||
|
||||
Query/Mutation を REST API エンドポイントに対応付けることが可能
|
||||
Query/Mutation を REST API エンドポイントに対応可能
|
||||
GraphQL API と同様のレスポンスを得る
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
# ハンズオン
|
||||
|
||||
---
|
||||
|
||||
## Hasura で作る REST API
|
||||
<!-- prettier-ignore-start -->
|
||||
## Hasuraで作るREST API
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
<iframe
|
||||
src="https://codesandbox.io/embed/github/kou029w/hasura-rest-hands-on/tree/main/frontend?codemirror=1&hidenavigation=1&view=preview&module=/src/App.vue"
|
||||
style="
|
||||
width: 100%;
|
||||
height: 500px;
|
||||
border: 0;
|
||||
border-radius: 4px;
|
||||
overflow: hidden;
|
||||
"
|
||||
title="vue3-hasura-rest"
|
||||
sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
|
||||
></iframe>
|
||||
|
||||
https://kou029w.github.io/hasura-rest-hands-on/
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue