TL;DR: Full-stack mobile auth with AWS Amplify Gen 2 that runs in Expo Go—no native build required for development.
Read my Blog about it: https://towardsaws.com/weekend-mvp-expo-go-aws-amplify-gen-2-for-startups-b42e3d62fff1
✅ Email auth with OTP verification
✅ Session persistence across app restarts
✅ GraphQL API with real-time sync
✅ Auto-created user profiles via Lambda triggers
✅ Works in Expo Go (the secret: USER_PASSWORD_AUTH flow)
Stack: React Native · Expo · TypeScript · AWS Cognito · AppSync · DynamoDB
npm install
npx ampx sandbox --profile <your-aws-profile> # Terminal 1
npx expo start # Terminal 2
# Scan QR → Open in Expo Go → Done ✨# Delete the sandbox for this app (same profile you used to create it)
npx ampx sandbox delete --profile <your-aws-profile>
# If you used a named sandbox identifier
npx ampx sandbox delete --name <your-sandbox-name> --profile <your-aws-profile>Note: This only deletes the Amplify sandbox resources for this project, not other environments or AWS resources in your account.
app/(auth)/ # Sign in/up screens
amplify/auth/ # Cognito config + Lambda triggers
amplify/data/ # GraphQL schema
amplify_outputs.json # Auto-generated (gitignored)
Production tip: Switch to
USER_SRP_AUTHwith a native build for enhanced security.
- Deep dive: See
DEVELOPER_GUIDE.mdfor step-by-step setup - AWS Amplify Docs
- Expo Documentation
Built by Matthew Enarle · Powered by AWS Amplify Gen 2
