LoginSignup
0
1

More than 1 year has passed since last update.

AWS Amplifyでバックエンドを揃える

Posted at

このページは

前提

以下を実施していることが前提です。
https://qiita.com/masakichi/items/a912268696290d9c9086

以下を参考に進めていきます。
https://docs.amplify.aws/start/getting-started/auth/q/integration/react/#create-authentication-service

APIの追加

バックエンドにAPIを追加する。

amplify add api

:thinking:(メモ) GraphQL annotated schema

ここまででは、まだ実際に追加されておらず、追加するリソースの候補にとどまっている。
以下コマンドで追加候補のバックエンドリソースを確認。

amplify status

以下コマンドで実際に追加する。

amplify push

認証機能の追加

バックエンドに認証機能を追加する。

amplify add auth

先ほど作成したAPIと今回追加候補としている認証機能が一覧表示される。
ただし、先ほど追加したAPIに変更はないため、ステータスはNo Changeとなっている。
この状態で先ほど同様にpushを行う。

amplify push
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1