Amplify Cli

1. Initialize AWS Amplify CLi

Background

The AWS Amplify Command Line Interface (CLI) is a unified toolchain to create, integrate, and manage the AWS cloud services for your app. The Amplify CLI toolchain is designed to work with the Amplify JavaScript library as well as the AWS Mobile SDKs for iOS and Android.

AWS Amplify Authentication module provides Authentication APIs and building blocks for developers who want to create user authentication experiences.

✅ Step-by-step directions

  1. Install the Amplify CLI by running the following command from within your Cloud9 terminal window:

    npm install -g @aws-amplify/cli

    More information can be found in the documention here

  2. Configure your default AWS profile.

    echo '[profile default]' > ~/.aws/config
  3. Go to the root wild-rydes directory of the repository:

    1. Initialize amplify CLI by executing the following command:

      amplify init

The terminal will now take a few moments to Initialize your project:

Amplify init screenshot

Verify that the Initialization has finished by entering the following command

amplify version
> 4.12.0

Next you will add an Amazon Cognito category to your AWS Amplify configuration, via the AWS Amplicy CLI.