وبلاگ بلیان

Spring Boot with React and AWS : Learn to Deploy a Full Stack Spring Boot React Application to AWS

معرفی کتاب «Spring Boot with React and AWS : Learn to Deploy a Full Stack Spring Boot React Application to AWS» نوشتهٔ Asenath Mason، E. A. Koetting، Lon DuQuette، S. Connolly و Ravi Kant Soni;Namrata Soni(auth.)، منتشرشده توسط نشر Apress : Imprint: Apress در سال 2021. این کتاب در فرمت pdf، زبان انگلیسی ارائه شده است.

Create and deploy full-stack Spring Boot applications with React and AWS. This practical and authoritative guide teaches you the fundamentals of Amazon Web Services with no prior experience. You will start by learning the fundamentals of AWS, including EC2, S3, IAM, and load balancer. Next, you will learn to deploy a Spring Boot REST API to AWS with Elastic Beanstalk, which will give you the ability to build and deploy a Spring Boot application. You will explore the RDS relational database and create an instance of a MySQL database in AWS with RDS. You will then deploy a Spring Boot application to MySQL in AWS and deploy a full-stack Spring Boot React application to AWS using Elastic Beanstalk and S3. Lastly, you will be introduced to ELB, CloudWatch, and Route 53. By the end of this book you will understand full-stack Spring Boot React applications and their deployment. If you prefer "learning by coding" then Spring Boot with React and AWS is the book for you. What You'll Learn Review the fundamentals of Amazon Web Services Install a Spring Boot REST API with CRUD operation to AWS using AWS Elastic Beanstalk Deploy a full-stack Spring Boot React application to AWS using AWS Elastic Beanstalk and S3 Work with MySQL as a database in AWS using RDS Use Spring Boot with React and AWS Who This Book Is For Ideal for readers who have some programming experience with Java, Spring Boot, and React, and who now want to deploy a full-stack Spring Boot React application to AWS using AWS Elastic Beanstalk and S3. Table of Contents 5 About the Authors 9 About the Technical Reviewer 11 Acknowledgments 12 Chapter 1: An Introduction to Amazon Web Services (AWS) 14 Introduction to Amazon Web Services 15 AWS Key Services 17 Elastic Cloud Compute (EC2) 18 Elastic Beanstalk 20 Relational Database Service (RDS) 21 Route 53 21 Use Case: AWS Application Architecture 22 Create a Free AWS Account for Developer 22 Explore and Create an AWS Elastic Beanstalk Server 32 Create a HelloWorld JSP Application, Build WAR with Maven, and Upload WAR to Elastic Beanstalk 39 Create a HelloWorld JSP Application 39 Package a WAR File Using Maven 45 Upload WAR to Elastic Beanstalk 47 Summary 53 Chapter 2: Deploy a Spring Boot Application as a REST API in AWS 54 Build a Spring Boot Application as a REST API 55 Introduction to REST 55 System Requirements 57 Create Spring Boot Application Using Spring Tool Suite 58 A Walk-Through 61 pom.xml 61 Write the Code 64 @SpringBootApplication Annotation 65 @RestController and @RequestMapping Annotations 66 The main Method 66 Run a Spring Boot Application in STS 66 Add Swagger UI to a Spring Boot Application 69 Introduction to Swagger 2 69 Add Dependency in a Maven POM 70 Configure Swagger 2 into a Project 70 Configuration Verification 72 Swagger UI 73 Configure the Server Port for a Spring Boot Project 74 Build a JAR for a Spring Boot Application 76 Deploy a Spring Boot Application in AWS Elastic Beanstalk 80 Test a Spring Boot Application as a REST API in the Cloud 86 Explore Logs from Elastic Beanstalk 87 Summary 88 Chapter 3: Deploy MySQL as a Database in AWS with RDS 89 Introduction to Amazon RDS (Amazon Relational Database Service) 90 Create an Instance of the RDS Database in AWS 90 Configure Amazon RDS 98 Step 1. Configure Security for Inbound Connection Rules 100 Step 2. Test an Amazon RDS Database Instance Connection with MySQL Workbench 103 Connect MySQL Workbench to an Amazon RDS MySQL Database Instance 104 Create a Table Inside an RDS Database Instance 108 Summary 114 Chapter 4: Deploy a Spring Boot Application Talking to MySQL in AWS 115 Create Spring Boot UserRegistrationApp Talking to MySQL Database 115 Maven Dependency in pom.xml 117 Project Lombok 120 Application Properties 123 Domain Implementation: UserDTO Entity Class 124 Repository Implementation: UserJpaRepository 126 Service Implementation: UserService 128 REST Controller Implementation: UserRegistrationController 129 Run and Test UserRegistrationApp Locally 133 Retrieve All Users: /api/users 134 Retrieve an Individual User: /api/user/id/{id} 135 Create a New User: /api/user/save 136 Delete an Existing User: /api/user/delete/id/{id} 138 Swagger UI: API Documentation 138 Build a JAR for a Spring Boot Application 140 Deploy the UserRegistrationApp Spring Boot Application in AWS Elastic Beanstalk 141 Test Deployed REST API in AWS Using Swagger UI 147 List All Users: /api/users 149 Create New Users: /api/users 151 Summary 153 Chapter 5: Deploy a Full Stack Spring Boot React Application in AWS and S3 154 Develop and Run React as a Front-End Application 156 Introducing React as a Front-end Framework 156 React Components 157 React State 158 Constructor 158 A React Component’s Life Cycle 158 Set up a Development Environment 160 Cross-Origin Resource Sharing (CORS) Error 161 Developing React Front-End Application with create-react-app 162 Review the Project Structure 163 Run a React App 165 Add Twitter Bootstrap to Style the React App with CSS 168 Add a Navbar 170 Add react-router 171 BrowserRouter Object to Enable Routing 172 Switch and Route to Render Routes 173 Initialize Axios for a REST API Call 175 Data Service to Send an HTTP Request 176 Create React Components Corresponding to Routes 176 Home Component 177 Add Users Component 179 List All Users Component 185 Build React Code as a Front-end Application for AWS 191 Verify the AWS Elastic Beanstalk Environment Is Up 191 Update BaseURL in a React App with an AWS Elastic Beanstalk Environment URL 192 Build React Code for AWS Deployment 194 Deploy a React Front-End to AWS S3: Hosting a Static Website 196 Introduction to S3: Simple Storage Service in AWS 196 Create a Bucket 199 Verify the Successful Deployment of a React Front-end Application: Resolve a 404 Error 209 Summary 211 Appendix A: Install MySQL Workbench on Windows 10 212 Step 1. Download Workbench 212 Step 2. Install Workbench 215 Appendix B: AWS Command-Line Interface (CLI) 224 Step 1. Download and Install the AWS CLI on a Windows Operating System 225 Step 2. Create an Access Key 225 Configure AWS CLI 228 Example Commands That Work with S3 228 Index 230 Create and deploy full-stack Spring Boot applications with React and AWS. This practical and authoritative guide teaches you the fundamentals of Amazon Web Services with no prior experience. You will start by learning the fundamentals of AWS, including EC2, S3, IAM, and load balancer. Next, you will learn to deploy a Spring Boot REST API to AWS with Elastic Beanstalk, which will give you the ability to build and deploy a Spring Boot application. You will explore the RDS relational database and create an instance of a MySQL database in AWS with RDS. You will then deploy a Spring Boot application to MySQL in AWS and deploy a full-stack Spring Boot React application to AWS using Elastic Beanstalk and S3. Lastly, you will be introduced to ELB, CloudWatch, and Route 53. By the end of this book you will understand full-stack Spring Boot React applications and their deployment. If you prefer "learning by coding" then Spring Boot with React and AWS is the book for you. You will: Review the fundamentals of Amazon Web Services Install a Spring Boot REST API with CRUD operation to AWS using AWS Elastic Beanstalk Deploy a full-stack Spring Boot React application to AWS using AWS Elastic Beanstalk and S3 Work with MySQL as a database in AWS using RDS Use Spring Boot with React and AWS Create and deploy full-stack Spring Boot applications with React and AWS. This practical and authoritative guide teaches you the fundamentals of Amazon Web Services with no prior experience. You will then deploy a Spring Boot application to MySQL in AWS and deploy a full-stack Spring Boot React application to AWS using Elastic Beanstalk and S3. Lastly, you will be introduced to ELB, CloudWatch, and Route 53. By the end of this book you will understand full-stack Spring Boot React applications and their deployment. If you prefer "learning by coding" then __Spring Boot with React and AWS__ is the book for you. **What You'll Learn** * Review the fundamentals of Amazon Web Services * Install a Spring Boot REST API with CRUD operation to AWS using AWS Elastic Beanstalk * Deploy a full-stack Spring Boot React application to AWS using AWS Elastic Beanstalk and S3 * Work with MySQL as a database in AWS using RDS * Use Spring Boot with React and AWS **Who This Book Is For** Ideal for readers who have some programming experience with Java, Spring Boot, and React, and who now want to deploy a full-stack Spring Boot React application to AWS using AWS Elastic Beanstalk and S3.
دانلود کتاب Spring Boot with React and AWS : Learn to Deploy a Full Stack Spring Boot React Application to AWS