Modern Full-Stack React Projects: Build, maintain, and deploy modern web apps using MongoDB, Express, React, and Node.js
Author: Daniel Bugl (Author), Matthias Zronek (Foreword)
Publisher finelybook 出版社: Packt Publishing
Publication Date 出版日期: 2024-06-07
Language 语言: English
Print Length 页数: 506 pages
ISBN-10: 1837637954
ISBN-13: 9781837637959
Book Description
Polish your web development skills by working on real-world projects for different use-cases of full-stack web development
Key Features
– Understand how the different aspects of a MERN application come together through a series of practical projects
– Set up frontend and backend projects that can be integrated and maintained together
– Enhance your proficiency in building scalable and sustainable React projects
– Purchase of the print or Kindle book includes a free PDF eBook
Book Description
Understanding full-stack development is vital as companies aim to bridge the gap between frontend and backend development. Recent trends show deeper integration between the two, opening numerous possibilities for building real-world web applications, through server-side technologies like Node.js, Express, and MongoDB.
Written by the author of Learning Redux and Learn React Hooks, and CEO of TouchLay, Modern Full-Stack React Projects will guide you through the entire process of advancing from a frontend developer to a full-stack developer. Starting with how to set up robust projects that can be maintained for a long time, you’ll then progress toward developing a backend system and integrating it with the frontend. Throughout the book, you’ll learn how to build, test, and deploy a blog application and a chat application. You’ll also explore MongoDB, Express, React, Node.js (MERN) stack, best practices for frontend and backend development, different full-stack architectures, unit and end-to-end testing, and deployment of full-stack web applications. Once you get to grips with the essential concepts, you’ll progress to learn how to use Next.js, an enterprise-grade full-stack web framework for React.
By the end, you’ll be well-versed in the MERN stack and all set to create performant and scalable full-stack web applications.
What you will learn
– Implement a backend using Express and MongoDB, and unit-test it with Jest
– Deploy full-stack web apps using Docker, set up CI/CD and end-to-end tests using Playwright
– Add authentication using JSON Web Tokens (JWT)
– Create a GraphQL backend and integrate it with a frontend using Apollo Client
– Build a chat app based on event-driven architecture using Socket.IO
– Facilitate Search Engine Optimization (SEO) and implement server-side rendering
– Use Next.js, an enterprise-ready full-stack framework, with React Server Components and Server Actions
Who this book is for
This book is for frontend developers, JavaScript engineers, and React developers who possess a solid understanding of JavaScript and React concepts. Specifically designed for those with limited experience in the development, creation, integration, and deployment of backend and full-stack systems, this book will equip you with the necessary skills to create high-quality web applications.
Table of Contents
– Preparing For Full-Stack Development
– Getting to Know Node.js, NPM, and MongoDB
– Implementing a Backend Service Using Express, Mongoose ODM, and Jest
– Integrating Frontend with the Backend Using React and TanStack Query
– Deploying the Application with Docker and CI/CD
– Adding Authentication and Roles with JSON Web Tokens
– Improving the Load Time Using Server-Side Rendering
– Making Sure Customers Find You with Search Engine Optimization
– Implementing End-to-End Tests Using Playwright
– Aggregating and Visualizing Statistics Using MongoDB and Victory
– Building a Backend with a GraphQL API
– Interfacing with GraphQL on the Frontend Using Apollo Client
(N.B. Please use the Read Sample option to see further chapters)
Review
“I have been very fortunate to work closely with Daniel for the past five years on corporate React projects. This book reflects his well-structured approach to the challenges of enterprise web applications. He carefully extracts the essence of complex concepts and presents them so clearly, that even the most difficult chapters in this book will feel manageable. The provided source code prevents you from getting sidetracked by unnecessary details.
Daniel starts your journey by handing you the basic tools you need to create a modern full-stack React project from scratch. Every step is guided and thoroughly explained. Later on, as chapters get more and more challenging, the focus will shift away from the basics, giving your newly learned skills the chance to fill the gaps.
Five years ago, I was where you, the reader, are right now. I was eager to learn full-stack React but didn’t know where to start. I had the chance to learn from Daniel directly. With this book, you finally have that chance as well.”
Matthias Zronek
Senior Software Engineer and Technical Advisor
About the Author
Daniel Bugl is a CEO, Software Architect and Full Stack Developer for his company TouchLay, developing a platform for interactive presentations. He also consults large multinational enterprises on the development and integration of React frontends with various backend systems, including the integration of legacy systems, and helps out with the setup and development of such projects. He has a bachelor’s degree in business informatics and a master’s degree in data science.