Skip to content

Learn to create a web app using AWS severless services

Notifications You must be signed in to change notification settings

Joshleee7/webapp_serverless

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 

Repository files navigation

Webapp_serverless- React+Type script

Learn to create a web app using AWS severless services
Link: https://aws.amazon.com/getting-started/hands-on/build-serverless-web-app-lambda-amplify-bedrock-cognito-gen-ai/

Architecture review

image

Errors

1) Problem: npx : File C:\Program Files\nodejs\npx.ps1 cannot be loaded because running scripts is disabled on this system.

Remediation: Run code "Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser"

2) Problem: error: failed to push some refs to 'git@github.com/Joshleee7/profilesapp.git'

image
Remediation: Generate public key with SSH and copy the key over to github SSH and GPG keys
image

3) Problem: npx ampx sandbox error, credential issue

image
Remediation: provide access key and secret access key
image
Steps to get access keys
image

4) Problem: Initial setup error, I created vue instead of react application in the beginning

image
image
image
Remediation: To reinstall the applcation with React+Javascript

5) Problem: Origin name differs

image
Remediation: Remove the origin and add again
image

6) Problem Security Token included in the request is expired in AWS

image
Remediation: Just re-enter amplify and deploy again

7) Error in loading recipe after input ingredients

image Remediation: Find the latest claude sonnet version and amend accordingly in bedrock.js and backend.ts (In amplify)

About

Learn to create a web app using AWS severless services

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published