Note: It is recommended to run this command from the root of your app directory
? Enter a name for the project awsmobileappsyncchat
? Enter a name for the environment test
? Choose your default editor: Visual Studio Code
? Choose the type of app that you're building javascript
Please tell us about your project
? What javascript framework are you using angular
? Source Directory Path: src
? Distribution Directory Path: dist
? Build Command: npm run-script build
? Start Command: ng serve
Using default provider awscloudformation
For more information on AWS Profiles, see:
? Do you want to use an AWS profile? Yes
? Please choose the profile you want to use default
8. npm install
必要なモジュールをインストールします。
$ npm install
9. amplify add auth
ユーザー認証まわりを設定していきます。
$ amplify add auth
選択肢は以下のようにしました。
Do you want to use the default authentication and security configuration?
--> Default configuration
Warning: you will not be able to edit these selections. How do you want users to be able to sign in when using your Cognito User Pool?
--> Phone Number
Warning: you will not be able to edit these selections. What attributes are required for signing up? (Press space to select, to toggle all, to invert selection)
コメント