Posts
- How do webhooks work?A webhook is a request a service sends to your server when something happens. How signatures, retries, duplicates and idempotent handlers fit together.
- Supabase RPC vs Edge Function: where should this code run?Client, Postgres function, trigger, Edge Function, API route or Node server. What each one can see in a Supabase app, and how that decides where logic goes.
- How does Sign in with Google work?What happens between tapping Sign in with Google and landing in the app: OAuth, OpenID Connect, callback URLs, PKCE and the native ID token flow.
- JWT and refresh tokens explainedWhat is inside a JWT, why it is signed and not encrypted, why access tokens expire after an hour, how refresh tokens work, and what signing out really does.
- Supabase Row Level Security explained: why a public key can still be safeThe publishable key in your app is public. Row Level Security is what decides which rows that key can reach. Here is how it works.
- Idempotency keys explained: why customers get charged twiceA payment can succeed while its response is lost, so the client retries. Idempotency keys, unique constraints and webhook handlers stop the second charge.
- How do push notifications work? From your server to a phoneYour server never contacts the phone directly. Here is the path a push notification takes, through Expo, APNs and FCM, and why tokens go stale.
- EAS Update vs a new build: what's actually inside your appAn Expo app is a native binary plus a JavaScript bundle. Updates can only swap the bundle, which is why native changes need a new store build.
- App version vs build number: how to version releasesThe version people see, the build number the stores need, and the runtime version that controls over-the-air updates, with the Expo config for each.