Original: https://codingcat.dev/podcast/cwcc-1-2-aws-amplify
▶ Watch on YouTube & Subscribe to CodingCat.dev
**Next.js Amplified: Full-Stack Web Apps on AWS Amplify Gen2 **is a CodingCat.dev podcast episode featuring Erik Hanchett alongside Alex Patterson focused on AWS, Next.js, TypeScript. AWS Amplify using Gen2, a code first approach. Next.js Amplified: Full-Stack Web & Mobile Apps on AWSAmplify Gen2: Watch the full video breakdown on YouTube or explore the architectural notes, chapters, and official documentation links below.
GitHub Repo: https://github.com/CodingCatDev/amplify-gen2-nextjs-code-with-codingcatdev
Welcome back to Code with CodingCat.dev, where we dive into the ever-evolving world of coding with a casual vibe and some purr-fectly thought-out code. Today, we're joined by Eric, a developer advocate from the AWS Amplify team, to unpack the game-changing AWS Amplify Gen2 for building full-stack web and mobile apps. If you're navigating the high seas of the coding cosmos, looking for ways to build more with less and streamline your workflows, get comfy, and let's unravel the mysteries of Amplify Gen2 together.
Reconnecting at re:Invent
It's always a blast catching up at events like AWS re:Invent, where the community's passion for engineering and advocacy converges. It was especially thrilling for Eric, who, transitioning from UI engineering to developer advocacy, marched into re:Invent with a speaker badge and an eager heart. Post-re:Invent, the wind-down was a chance to deep dive into projects, create fresh content, and especially explore the new frontiers of Amplify Gen2.
Hobbies, Football, and Taylor Swift
Speaking of depth, besides the tech realm, there's the unbeatable mashup of football and music that stirs our guest Eric's soul. As a devoted San Francisco 49ers fan, the postseason was a rollercoaster ride paired with cheer for global icon Taylor Swift. Every game is a story of triumph and heartbreak, much like our journey as developers, where resilience is the name of the game.
What is AWS Amplify Gen2?
Amplify Gen2 is all about rethinking app creation. Those familiar with Amplify's CLI and Studio would appreciate the shift toward more code-centric workflows. It's about creating the right abstractions that spice up the developer experience. Take a leap into a .notation and TypeScript-first approach that straightforwardly ties your app to databases and more.
The Power of TypeScript and Dot Notation
With Amplify Gen2, TypeScript takes center stage, offering streamlined syntax and the intelligence of auto-complete and error-checking to ensure your backend talks smoothly with AppSync and the managed GraphQL service.
// Define a model in Amplify Gen2 with TypeScript and dot notationconst model
Name = amplifyModel.defineModel({
fieldName: Types.String.required(),
anotherField: Types.Enum(['option1', 'option2']).required()
});
Embrace the richness of TypeScript and craft your backend like a maestro orchestrating a symphony.
Live Coding Session: Meal Planning App
Let’s roll up our virtual sleeves and jump into a live coding session. We’ll embark on crafting a meal planning app. The goal is to create a simple CRUD app with authenticated user access. We start from scratch, initializing a next app and methodically setting up our backend with Amplify Gen2.
Setting Up the Schema
Our meal planning app will revolve around a schema with items like breakfast, lunch, and dinner alongside their calorie counts. With Gen2, typing out the schema is a breeze, with authenticity checks and comprehensive data modeling features integrated seamlessly.
// Sample JSON schema for a simple meal planning app
{ "Meal": { "MealName": "string", "Calories": "number", "Date": "string" } }
Hooks, States, and Server Actions
We delve into creating reactive components using hooks, managing states for meal entries, and carrying out server actions like submissions and deletions. Our components evolve with the interplay of client and server-side logic, leaving us with a fully functional, albeit basic, meal planner by the end of the session.
Debugging on the Fly
We're all too familiar with the occasional hiccups that pop up when diving into code. Our session is no stranger to these, as we troubleshoot real-time, lending authenticity to the experience. We navigate through issues like unresponsive delete buttons and state retention on refresh, all part of the raw charm of live coding.
The Might of Amplify
In our app, Amplify Gen2 flexes its muscles by streamlining DB actions, from data entry to deletions, all the while ensuring security with user authentication. As we rap up the meal planning app, its simplistic CRUD functionality stands testament to Amplify's prowess.
Wrapping Up and Deployment
Our coding dance comes full circle as we discuss pushing our local wonders to the cloud. With AWS Amplify, deploying is as simple as linking your GitHub repo and letting Amplify's continuous deployment take the wheel.
Console Wonders
Take a moment to appreciate the ephemeral environments Amplify conjures with each sandbox, a temporary realm where your project breathes before you decide its fate - to flourish in the production environment or vanish into the digital aether.
What's Next for AWS Amplify Gen2?
As we bid goodbye, remember that this is just the beginning for Amplify Gen2. The horizon is ablaze with potential features like storage and functions, taking the tool's capabilities to new zeniths. Until Amplify sheds its preview cloak, keep experimenting, staying tuned for updates, and, most importantly, keep coding!
If you've been hooked by our coding adventure and are itching for more deep dives into the coding universe with a laid-back touch, check out our plethora of posts, tutorials, and nifty tips over at CodingCat.dev. Until next time, stay curious and code on!
Resources, Links & Official Documentation
- *Watch on YouTube: *Next.js Amplified: Full-Stack Web Apps on AWS Amplify Gen2 Full Video (plus Subscribe to CodingCat.dev)
- Erik Hanchett Guest Profile & Episodes on CodingCat.dev
- Erik Hanchett on GitHub
- AWS Documentation & Builder Center: Cloud architecture, serverless compute, IAM, and managed services
- Next.js Official Documentation: App Router, Server Actions, and rendering architecture guides
- TypeScript Handbook: Static type systems, generics, and compiler configuration
Related CodingCat.dev Tutorials & Podcast Episodes
- AWS Amplify vs. AWS CDK What is the most powerful AWS IaC in 2020?: AWS Amplify vs. AWS CDK. So you are just getting started with your next project and can't figure out what IaC to start with, lets compare two of AWS's most popu...
- Deploy Angular & Next.js apps with App Hosting, now GA! in Firebase: Web Architecture & Implementation Guide: Hands-on web engineering breakdown of "Deploy Angular & Next.js apps with App Hosting, now GA!" (2025-04-09). Learn how to integrate Firebase, Google Cloud, Web...
- What's new in Firebase at Cloud Next 2025: Web Architecture & Implementation Guide: Hands-on web engineering breakdown of "What's new in Firebase at Cloud Next 2025" (2025-04-09). Learn how to integrate Firebase, Google Cloud, Web Dev, AI in pr...
Frequently Asked Questions (FAQ)
What are the main takeaways from Next.js Amplified: Full-Stack Web Apps on AWS Amplify Gen2?
AWS Amplify using Gen2, a code first approach. Next.js Amplified: Full-Stack Web & Mobile Apps on AWSAmplify Gen2: Throughout this podcast, Erik Hanchett breaks down real-world implementation details for AWS, Next.js, TypeScript so developers can apply these patterns directly in production.
How do you implement AWS best practices in production?
When adopting AWS and Next.js in a production stack, start by validating your configuration against the AWS Documentation & Builder Center (Cloud architecture, serverless compute, IAM, and managed services). Focus on incremental adoption, automated testing, and observability so your team can measure performance and developer velocity improvements at each stage.
Where can I watch the full Next.js Amplified: Full-Stack Web Apps on AWS Amplify Gen2 walkthrough and find related code resources?
You can watch the complete video session for Next.js Amplified: Full-Stack Web Apps on AWS Amplify Gen2 on the CodingCat.dev YouTube channel. For a deeper dive into AWS, check out our related guide: AWS Amplify vs. AWS CDK What is the most powerful AWS IaC in 2020?.

Top comments (0)