· 6 years ago · Sep 26, 2019, 02:04 AM
1# APIの追加コマンド
2$ amplify add api
3
4### 以下対話形式で質問を聞かれる
5> Please select from one of the below mentioned services
6⇒ GraphQL
7
8> Provide API name
9⇒ 任意のAPI名
10
11> Choose an authorization type for the API
12⇒ 認証方法を「API Key」か「Amazon Cognito User Pool」のどちらかを選択(簡単なのはAPI Key)
13
14> Do you have an annotated GraphQL schema?
15⇒ No
16
17> Do you want a guided schema creation?
18⇒ yes
19
20> What best describes your project
21⇒ Single object with fields (e.g., “Todo” with ID, name,description)
22
23> Do you want to edit the schema now?
24⇒ No