Fullstack TypeScript: Reintroducing AWS Amplify
Article Summary
AWS just rebuilt Amplify from the ground up, and this time everything runs on TypeScript. If you've bounced off Amplify before, this Gen 2 release might change your mind.
AWS announces the general availability of Amplify Gen 2, a complete reimagining of their fullstack framework. The article walks through building a real-time multiplayer cursor app to showcase the new TypeScript-first developer experience, from auth to real-time data sync.
Key Takeaways
- Every backend component (auth, data, storage) now defined entirely in TypeScript
- Zero-config authentication with pre-built UI components in under 10 lines
- Real-time subscriptions and WebSockets handled automatically with observeQuery()
- Per-developer cloud sandboxes enable faster iteration with resource hotswapping
- Git-based CI/CD deploys frontend and backend on every push
Amplify Gen 2 delivers end-to-end type safety from frontend to backend, letting frontend developers build fullstack apps without leaving TypeScript.
About This Article
Developers had to wait a long time for schema changes to show up in their local development environments when working on cloud backends. Large updates meant slow deployment cycles that made iteration difficult.
AWS Amplify submitted over a dozen pull requests to AWS CDK. These changes enabled resource hotswapping, so developers could push incremental updates to existing resources instead of redeploying everything from scratch.
Deployment speeds improved by 2x for large schemas. This meant faster feedback loops for teams building fullstack TypeScript applications.