sst / sst.dev

Repo for sst.dev
https://sst.dev
MIT License
3.68k stars 445 forks source link

Guide Typescript & PNPM Updates #719

Closed ChristineP2 closed 10 months ago

ChristineP2 commented 1 year ago

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

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

Configure the AWS CLI

Changes

What is SST?

Changes

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

  1. Regarding the statement "There’s no specific reason why we are creating a separate stack for these resources." Would it be fair to say that the decision to have separate stacks increases application maintainability? It seems like it could fall under the principle of "separation of concerns".
  2. Why is the Hello World API still present in console after this step?

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

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

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

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

Configure Secrets in Seed

Changes

Deploying Through Seed

Changes

Debugging Full-Stack Serverless Apps

No Changes

Setup Error Reporting in React

Changes

Notes

Report API Errors in React

Changes

Setup an Error Boundary in React

Changes

Setup Error Logging in Serverless

Changes

Logic Errors in Lambda Functions

Changes

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

jayair commented 1 year 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.

ChristineP2 commented 1 year 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.

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.

jayair commented 1 year ago

Will do! Appreciate all your help!

jayair commented 10 months ago

I'm going to start working on this!