You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
clodal
clodal
Dormant, homely creature. Lives in a computer. Please do not feed.
Fetch Supabase Postgres Schema String to Pass to OpenAI Assistant for SQL Queries
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
We use Mail to generate email template html body. We need to use a Lambda because Mail is a backend-only package as it relies on ESJ (a kind of server-side templating language). Using Mail on the FE is not possible.
The idea is to fire a request to this lambda to generate the html template and pass it off to AWS Pinpoint to fire the email.
Pre-Requisites
amplify add analytics and amplify push to add Pinpoint
Access Key & Secret Access Key of IAM User with PinPointFullAccess
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
M1 Brew Issues with sharp on yarn build with NextJS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Code sharing: xxx-web project can directly access files and variables in xxx-api project vice versa. No need for a private npm module (i.e. @onextech/ens-api) for code sharing.
Integrated: Only 1 git repository to check-in to. No need to split across web and api, etc.
Benefits
Linked dependencies (i.e. node_modules) via Yarn Workspaces