Open Amazon Cognito console.

At your User pool page.

At App client: cognito-fcaj-book-shop page.

Go to the root directory of the fcaj-book-shop project that you downloaded before.
Open the template.yaml file at the root folder and change the value of cognitoClientID and cognitoClientSecret with your recorded value in the previous step.
cognitoClientID:
Type: String
Default: 6cmmaheejmv8ksblufu4j057f4 # Your Client ID
cognitoClientSecret:
Type: String
Default: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # Your Client secret

Open your terminal at the root directory of the fcaj-book-shop project and run the following code.
git add .
git commit -m "Change the value of Client ID and Client secret"
git push

Open AWS CodePipeline console.

You can download the image files here to add data to check the operation of the services
At the FCJ Book Store website from the previous step, click Register button on the upper right corner of the screen.

Open the email you registered, then find the message from no-reply@verificationemail.com to get verify code.

Back to Verify Email page.

At the FCJ Book Store - Login page.

So we just registered and logged in successfully. Next, we will test the adding a new book function.

1.Python Coding.Doan Minh Phung.IT.5.6.Guide to basic of Python in real projects.

Back to the Homepage, we can see a new book has been added to the database.

Click the Management tab to manage the books.



We have completed the workshop, already know how to create the SAM pipeline and frontend pipeline using the console. Next workshop we learn about debugging, monitoring AWS Lambda with AWS CloudWatch and AWS X-ray.