-
Notifications
You must be signed in to change notification settings - Fork 0
/
NOTES
76 lines (58 loc) · 4.04 KB
/
NOTES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
DOCUMENTATION
Security
- .env files are excluded by git repositories; .env.gpg files are not;
when adding some secret to .env, crypt it with yarn env-crypt (or better
add a pre-push hook to encrypt it); it can be later decrypted with `yarn env-decrypt`.
REFERENCES
Authentication
- AWS Cognito Agnita: https://levelup.gitconnected.com/agnita-authentication-for-create-react-app-using-aws-cognito-80cde1fb781b
- aws-amplify Amplify.configure Auth.oauth parameter "responseType" can be set to "code" or "token";
note that REFRESH token will only be generated when the responseType is "code"
Privacy (GDPR)
- Privacy Policy generator: https://www.lorenzomoio.it/generatore-di-privacy-policy-gratuito
- Terms of Use generator: https://zyro.com/it/strumenti/generatore-di-termini-e-condizioni
Material-UI Templates
- dribbble: https://dribbble.com/tags/material_ui
Performance
- lighthouse & jest: https://medium.com/@togmund/lighthouse-jest-testing-what-matters-acbd0ff55825
Styling
- Fluid Typography: https://css-tricks.com/snippets/css/fluid-typography
- Color Contrast Checker: https://dequeuniversity.com/rules/axe/2.2/color-contrast?application=lighthouse
Tests
- How to ignore partial Jest snapshot diffs: https://lanwen.ru/posts/ignore-jest-snapshot-diffs
AWS
- Reset Cloudfront distribution alternate domain name for qiuiccasa:
https://console.aws.amazon.com/cloudfront/v3/home?region=eu-west-1#/distributions/E30CJEQ2PIR5NL,
edit, set alternate domain name to "quiccasa.sistemisolari.com"
- Change Route53 Hosted zones: https://console.aws.amazon.com/route53/v2/hostedzones#ListRecordSets/Z01773871GDWEBESZZ419
quiccasa.sistemisolari.com A record was: dleaj9yh1gim0.cloudfront.net.
- Automating Cognito Custom Auth Domains with Amplify: https://medium.com/@matt.lavin/automating-cognito-custom-auth-domains-with-amplify-33e7b8f13266
- Custom domain support with Cognito #1880: https://github.com/aws-amplify/amplify-cli/issues/1880#issuecomment-626331305
- Using Your Own Domain for the Hosted UI: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-add-custom-domain.html
- Test Federated Signin: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-configuring-federation-with-social-idp.html
- Cache Control - Adding headers to your objects using the Amazon S3 console: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html
CORS
- React.js API calls to AWS Lambda, API Gateway and dealing with CORS:
https://codeburst.io/react-js-api-calls-to-aws-lambda-api-gateway-and-dealing-with-cors-89fb897eb04d
- How to set up a custom domain name for Lambda & API Gateway with Serverless
https://www.serverless.com/blog/serverless-api-gateway-domain
- StackOverflow: Serverless AWS Lambda CORS Error
https://stackoverflow.com/questions/46627532/serverless-aws-lambda-cors-error
Cache
- Serverless - Invalidating the Cache:
https://serverless-stack.com/chapters/deploy-updates.html
Email
- Create Email Addresses for your Route53 Custom Domain: https://medium.com/responsetap-engineering/easily-create-email-addresses-for-your-route53-custom-domain-589d099dd0f2
Google Search Console
- https://search.google.com/search-console?resource_id=sc-domain%3Asistemisolari.com
I18n
- Language flags: https://apps.timwhitlock.info/emoji/tables/iso3166
E-Commerce
- 9 Must-Have Features of a Progressive Web App (PWA) for E-Commerce: https://www.simicart.com/blog/progressive-web-apps-features-for-ecommerce
Push Notifications
- Cloud messaging with Firebase: https://blog.logrocket.com/push-notifications-with-react-and-firebase
- Why we don't need Firebase InApp Messaging: https://stackoverflow.com/a/64373136/709439
- Firebase Push Notifications In React: https://www.smashingmagazine.com/2020/06/firebase-push-notifications-react
- Best practices for FCM registration token management: https://firebase.google.com/docs/cloud-messaging/manage-tokens
Sounds
- Announcing “use-sound”, a React Hook for Sound Effects: https://www.joshwcomeau.com/react/announcing-use-sound-react-hook/