A wedding invitation app
Examples to follow:
- https://dynobase.dev/dynamodb-nodejs
- https://github.com/andreivmaksimov/serverless-framework-aws-lambda-amazon-api-gateway-s3-dynamodb-and-cognito
- https://github.com/bsdkurt/aws-node-custom-user-pool
Documentation:
- https://www.serverless.com/framework/docs/providers/aws/events/cognito-user-pool
- https://github.com/sid88in/serverless-appsync-plugin/blob/master/doc/dataSources.md
Client app:
- Set up a rudimentary React app
- Configured Google as a Federated Identity Provider for the web-client of the Cognito User Pool (this was the guide that really made the difference, then this article on the dreadful Authorization code flow absolutely saved me)
- As best as I could, configured this after-the-fact in serverless.yml
- The Google App
- Deployed React app to S3
- I had to modify the bucket manually in the AWS console, which is a bummer, but oh well.
- Registered
brittanyandcaleb.gay
in Route 53, configured their Nameservers with namecheap.com - Registered with AWS Certificate Manager for a Certificate for brittanyandcaleb.gay
- Updated Route 53 to have CNAME provided by ACM
- Created the Cloudfront distribution for the S3 bucket + domain + certificate
- Example configuration for a Federated Identity Provider https://gist.github.com/singledigit/2c4d7232fa96d9e98a3de89cf6ebe7a5
- Good to know this very magical API exists https://docs.amplify.aws/lib/auth/social/q/platform/js/#configure-auth-category
- https://blog.logrocket.com/guide-adding-google-login-react-app/
- https://aws.amazon.com/blogs/security/use-amazon-cognito-to-add-claims-to-an-identity-token-for-fine-grained-authorization/
- client
display mutation execution errors in RSVP formprevent duplicate mutation executions
option to input name, prefilled with identity claimsuse debug instead of consolelet people remove guestshttps://github.com/tsparticles/react/#readmemake even more refined; cycle through presets (thank you https://confetti.js.org/more.html)see if it's possible to shoot confetti from (x,y) location of MouseEvent
if someone has entered guest and they hit submit, then add the guest before submittingadd hotel informationadd venue informationadd airport informationstyle login screen with picture of usmake "Submit!" say something else when confetti is all that's happening- customize bootstrap color theme https://colorhunt.co/ https://getbootstrap.com/docs/5.3/customize/color/
console love lettersend emails whenever someone responds
google appcreate prod app, deploy prod, and apply for review from google (this could take up to weeks, so... (this was immediate because of the scopes we used and we didn't include a logo))
- backend
- nightly email about who all has signed up https://www.serverless.com/blog/cron-jobs-on-aws/