Share E-Book
Scan to open this page

Scan with your phone to open this page

Author: Nader Dabit

Rating No ratings yet

With a new generation of services and frameworks, frontend and mobile developers can use their existing skill set to build full stack applications by leveraging the cloud. Developers can build robust applications with production-ready features such as authentication, APIs, data layers, machine learning, chatbots, and AR scenes more easily than ever by taking advantage of these new serverless and cloud technologies. This practical guide explains how. Nader Dabit, developer advocate at Amazon Web Services, shows developers how to build full stack applications using React, AWS, GraphQL, and the Amplify Framework. You’ll learn how to create and incorporate services into your client applications while exploring general best practices, deployment strategies, continuous integration and delivery, and rich media management along the way. Learn how to build applications that solve real problems Understand what is (and is not) possible when using these technologies Examine how authentication works—and learn the difference between authentication and authorization Discover how serverless functions work and why they’re important Use GraphQL in your application—and learn why it’s important Learn how to build full stack applications on AWS

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

AI guide
# Full Stack Serverless: Modern Application Development with React, AWS, and GraphQL ## 【One-Line Pitch】 A hands-on guide for frontend and mobile developers to build production-ready full stack applications using React, AWS Amplify, and GraphQL—without needing a dedicated backend team. If you know JavaScript and want to ship scalable cloud-powered apps quickly, this book is your practical roadmap. ## 【Book Arc】 - **Opening (~0%–9%)**: Introduces the serverless philosophy and the AWS Amplify ecosystem, positioning FaaS + BaaS as the new full stack paradigm. Sets up the reader's mindset: a single developer can now own the entire stack. - **Early (~9%–27%)**: Walks through foundational setup—creating your first serverless function, building a notes app, and understanding the Amplify CLI workflow. Establishes the core pattern: scaffold backend services, generate client code, and iterate. - **Early–Middle (~27%–48%)**: Dives into authentication (Cognito) and serverless functions in depth, covering event sources, IAM permissions, and real-world triggers like image resizing. Explains the "why" behind serverless: scalability, cost, security, and less code. - **Middle (~48%–60%)**: Explores different serverless implementations (Serverless Framework vs. Amplify) and then goes deep into AWS AppSync and GraphQL—relationships, authorization, custom data access patterns, and building a full event-management app with admin roles. - **Late (~60%–90%)**: Covers offline-first apps with Amplify DataStore, image storage with S3, and a photo-sharing app. Emphasizes real-time sync and rich media handling. - **Ending (~90%–100%)**: Hosting and deployment—CI/CD with the Amplify Console, Git-based deployments, custom domains, and access control. The final chapter ties everything together by deploying the photo-sharing app to a live URL. ## 【Key Takeaways】 - **Serverless = FaaS + BaaS** (Middle): Functions-as-a-Service plus managed services (databases, auth, AI) define the modern serverless stack. This combination lets frontend developers build full stack apps without managing servers. - **Pay-for-what-you-use pricing** (Middle): Unlike traditional infrastructure, serverless billing is based on requests, execution time, and memory—eliminating the cost of idle resources. This makes rapid prototyping and A/B testing financially viable. - **Managed services reduce code liability** (Middle): Using polished, battle-tested services (like Cognito for auth) means less code to maintain, fewer bugs, and lower cognitive load. The value is in the feature, not the code. - **Authentication ≠ Authorization** (Early): The book emphasizes the distinction—authentication verifies identity, while authorization controls what authenticated users can do. This is critical for building secure, role-based apps. - **GraphQL enables flexible data access** (Middle): With AppSync, you can model relationships between types, implement multiple auth modes, and use Global Secondary Indexes (GSIs) for custom data access patterns—all from the client side. - **Offline-first with DataStore** (Late): Amplify DataStore provides offline functionality and real-time sync, letting apps work seamlessly without connectivity and reconcile data when back online. - **CI/CD is built-in** (Ending): The Amplify Console supports Git-based deployments, automatically triggering builds on merges to the master branch, and allows custom domain setup—making deployment a one-time configuration. ## 【Reading Tips】 - **Skim the philosophy, deep-read the tutorials**: Chapters 1 and the early parts of 2 establish the "why"—skim these if you're already convinced. The real value is in the step-by-step app builds (notes app, event app, photo-sharing app), so follow those closely. - **Code along, don't just read**: Each chapter builds a complete application. Have the AWS CLI and Amplify set up before you start, and run every command yourself. The book's GitHub repo (full-stack-serverless-code) has all examples. - **Pay attention to IAM and permissions**: The serverless functions chapters (6–7) are the hardest part—understanding event sources and trigger configuration is essential for production apps. Don't skip the IAM sections even if they feel dry. - **Use the final chapter as a capstone**: Chapter 11 (hosting with CI/CD) is where everything comes together. If you're short on time, build the photo-sharing app from Chapter 10 and deploy it—that's the full journey in one go. - **Treat GraphQL as a new mental model**: If you're new to GraphQL, the AppSync chapter (8) will be the steepest learning curve. Focus on relationships and authorization patterns—those are the concepts that transfer to any GraphQL backend. ## 【Coverage Limits】 This guide is based on excerpts covering roughly the first half of the book (philosophy, setup, auth, serverless functions, and AppSync/GraphQL). Detailed walkthroughs of DataStore, S3 storage, and the final CI/CD chapter are referenced but not fully excerpted here. ##
Excerpt 1
’Reilly Online Learning How to Contact Us Acknowledgments 1. Full Stack Development in the Era of Serverless Computing Modern Serverless Philosophy Character...
View in text
Excerpt 2
t to build full stack applications using cloud technologies. It is also a good resource for CTOs and startup founders looking to maximize efficiency and move...
View in text
Excerpt 3
concerning this book to the publisher: O’Reilly Media, Inc. 1005 Gravenstein Highway North Sebastopol, CA 95472 800-998-9938 (in the United States or Canada)...
View in text
Excerpt 4
code to execute, and the reserved memory for each function. With managed services like Amazon Rekognition, you are only charged for the images processed and...
View in text
Excerpt 5
developer or someone new to cloud computing to get started. With this new serverless paradigm, AWS saw an opportunity to create a framework that focused on e...
View in text
Excerpt 6
is usually done within the root of your client application. Since you will be using React for most of this book, we’ll start by initializing a new React proj...
View in text
Excerpt 7
ent model that is different from traditional infrastructure. With services like AWS Lambda, you only pay for what you use and are charged based on the number...
View in text
Excerpt 8
mmand at any time to see the current status of your project. The status command will list out all of the currently configured services in your project and gi...
View in text
Tags
AI categories
Cloud NativeBackendJavaScript
Publish Year: 2020
Language: English
File Format: EPUB
File Size: 7.2 MB