Closed ChristineP2 closed 10 months ago
Appreciate this! I'm most likely going to go through your list and update it part by part when I do my next rewrite.
Appreciate this! I'm most likely going to go through your list and update it part by part when I do my next rewrite.
That's what I was expecting. It was a great exercise for getting more into the hows and whys, I figured it might as well be an option for your next update.
If there is anything you want to change or add to save you time, let me know.
Will do! Appreciate all your help!
I'm going to start working on this!
As I worked through the guide, I add notes and I also read the comments and adding any relevant notes I see as of May 18(ish).
Demo Repo: https://github.com/ChristineP2/demo_notes_app_v2
Site Wide
Changes
Notes
Guide
Changes
Notes
[ ] TODO: Resolve SST Console Warning See the migration guide
(node:85684) NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.
Please migrate your code to use AWS SDK for JavaScript (v3). For more information, check the migration guide at https://a.co/7PzMCcy (Use
node --trace-warnings ...
to show where the warning was created) 16:14:43.391[ ] TODO: Clean up legacy guide files so it doesn't clutter the current fileset.
[ ] TODO: Correctly manage the path_id variable in code examples to ensure they are present without code duplication.
[ ] TODO: Switch from Amplify API to RestApi or GraphQLAPI based on note in API.d.ts (See Warning in console.sst.dev)
[ ] Consider adding a chapter on accessibility in the frontend creation section.
Chapter Specific
What Does This Guide Cover
Notes (From Discourse comments)
How to Get Help?
no specific changes
What is Serverless?
Changes
What is AWS Lambda?
Notes
Why Create Serverless Apps?
Notes
Create an AWS Account
Changes
Create an IAM User
Changes
create-iam-user
iam-user
for other languages as I couldn't update them to match the new instructions.Configure the AWS CLI
Changes
Notes
What is SST?
Changes
Notes
What is Infrastructure as Code?
Changes
What is AWS CDK?
Changes
Create an SST app
Changes
Notes
Create a Hello World API
Changes
Notes
Initialize a Github Repo
no specific changes
Create a DynamoDB Table in SST
Changes
Questions
Create a S3 Bucket in SST
Changes
Review Our App Architecture
no specific changes
Add an API to Create a Note
Changes
Notes
Add an API to Get/Put/Patch/Delete a Note
Changes
Adding Auth to Our Serverless App
Changes
Secure Our Serverless APIs
Changes
requestContext.authorizer
. Should we have a different solution?Setup a Stripe Account
Changes
Handling Secrets in SST
Changes
Add an API to Handle Billing
Changes
Notes
Unit Tests in Serverless
Changes
Notes
Handle CORS in Serverless APIs
Changes
Handle CORS in S3 for File Uploads
Changes
Create a New React.js App
Changes
Notes
Set up Custom Fonts
Changes
Set up Bootstrap
Changes
Handle Routes with React Router
Changes
Create Containers
Changes
Adding Links in the Navbar
Changes
Handle 404s
Changes
Configure AWS Amplify
Changes
Create a Login Page
Changes
Login with AWS Cognito
Changes
Add the Session to the State
Changes
Load the State from the Session
Changes
Clear the Session on Logout
Changes
Redirect on Login and Logout
Changes
Give Feedback While Logging In
Changes
Create a Custom React Hook to Handle Form Fields
Changes
Create a Signup Page
No Changes
Create the Signup Form
Changes
Signup with AWS Cognito
Changes
Notes
Add the Create Note Page
Changes
Call the Create API
Changes
Upload a File to S3
Changes
Upload a File to S3
Changes
Notes
List All the Notes
Changes
Call the List API
Changes
Display a Note
Changes
Render the Note Form
Changes
Save Changes to a Note
Changes
Delete a Note
Changes
Create a Settings Page
Changes
Add Stripe Keys to Config
Changes
Create a Billing Form
Changes
Connect the Billing Form
Changes
Set up Secure Pages
No Changes
Create a Route That Redirects
Changes
Use the Redirect Routes
Changes
Redirect on Login
Changes
Purchase a Domain with Route 53
Skipped.
Custom Domains in serverless APIs
Changes
Custom Domains for React Apps on AWS
Changes
Notes
In orde to keep the statement "You can switch these around so that the root domain redirects to the
www.
version as well.", I believe we'd need additional information dealing with the CAA record or whatever tripped it up.Getting Production Ready
No Changes
Creating a CI/CD Pipeline for serverless
No Changes (other than the global new tab for external links)
Setting up Your Project on Seed
Changes
Notes
Configure Secrets in Seed
Changes
Deploying Through Seed
Changes
Debugging Full-Stack Serverless Apps
No Changes
Setup Error Reporting in React
Changes
pnpm add @sentry/react
from@sentry/browser
Notes
Report API Errors in React
Changes
Setup an Error Boundary in React
Changes
Notes
Setup Error Logging in Serverless
Changes
Logic Errors in Lambda Functions
Changes
Notes
[object Object]
Unexpected Errors in Lambda Functions
Changes
Errors Outside Lambda Functions
Changes
Errors in API Gateway
Changes
Wrapping Up
Changes
Additional Guide Information Pages still in use:
Auth In Serverless Apps
Changes
What is IAM / What is an ARN
Changes
Mapping Cognito Identity Id and User Pool Id
Cognito User Pool vs Identity Pool
Setting serverless environment variables in a React app
Outstanding Changes (I did not get these done in this pass)
Extra Credit series of chapters on user management