AWS SAM function for static personal portfolio website.
Server: Java 11, AWS SAM, API Gateway, DynamoDB
Clone the project
git clone https://github.com/gramoszuniga/sam-portfolio
Go to the project directory
cd sam-portfolio
Install dependencies and build SAM function
sam build --use-container --container-env-var-file env.json
Start API Gateway locally
sam local start-api -n env.json
Test end-points
curl --request GET http://localhost:3000/portfolio
curl --request PUT http://localhost:3000/portfolio