We perform the following steps to prepare for authentication and save files with the Amplify library in the following section:
npm install -g @aws-amplify/cli
You must install NodeJs before installing Amplify CLI
You should create a user and configure an AWS profile with credentials on your machine.
git clone https://github.com/AWS-First-Cloud-Journey/FCJ-Serverless-DMS
cd FCJ-Serverless-DMS
npm install
amplify init
Enter the following information:
? Enter a name for the project fcjdms
The following configuration will be applied:
Project information
| Name: fcjdms
| Environment: dev
| Default editor: Visual Studio Code
| App type: javascript
| Javascript framework: react
| Source Directory Path: src
| Distribution Directory Path: build
| Build Command: npm run-script build
| Start Command: npm run-script start
? Initialize the project with the above configuration? Yes
Using default provider awscloudformation
? Select the authentication method you want to use: AWS profile
For more information on AWS Profiles, see:
https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html
? Please choose the profile you want to use default
? Help improve Amplify CLI by sharing non sensitive configurations on failures (y/N) › No
Select Stacks on the left menu, you will see the newly created stack. Click the Resources tab and you will see the resources that Amplify creates