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
- Modern Full-Stack React Projects
- Contributors
- About the author
- About the reviewers
- Foreword
- Preface
- Part 1:Getting Started with Full-Stack Development
- Chapter 1: Preparing for Full-Stack Development
- Chapter 2: Getting to Know Node.js and MongoDB
- Part 2:Building and Deploying Our First Full-Stack Application with a REST API
- Chapter 3: Implementing a Backend Using Express, Mongoose ODM, and Jest
- Chapter 4: Integrating a Frontend Using React and TanStack Query
-
Chapter 5: Deploying the Application with Docker and CI/CD
- Technical requirements
-
Creating Docker images
- Creating the backend Dockerfile
- Creating a .dockerignore file
- Building the Docker image
- Creating and running a container from our image
- Creating the frontend Dockerfile
- Creating the .dockerignore file for the frontend
- Building the frontend Docker image
- Creating and running the frontend container
- Managing multiple images using Docker Compose
- Cleaning up unused containers
- Deploying our full-stack application to the cloud
- Configuring CI to automate testing
- Configuring CD to automate the deployment
- Summary
- Part 3:Practicing Development of Full-Stack Web Applications
- Chapter 6: Adding Authentication with JWT
- Chapter 7: Improving the Load Time Using Server-Side Rendering
- Chapter 8: Making Sure Customers Find You with Search Engine Optimization
- Chapter 9: Implementing End-to-End Tests Using Playwright
- Chapter 10: Aggregating and Visualizing Statistics Using MongoDB and Victory
- Chapter 11: Building a Backend with a GraphQL API
- Chapter 12: Interfacing with GraphQL on the Frontend Using Apollo Client
- Part 4:Exploring an Event-Based Full-Stack Architecture
- Chapter 13: Building an Event-Based Backend Using Express and Socket.IO
- Chapter 14: Creating a Frontend to Consume and Send Events
- Chapter 15: Adding Persistence to Socket.IO Using MongoDB
- Part 5:Advancing to Enterprise-Ready Full-Stack Applications
- Chapter 16: Getting Started with Next.js
- Chapter 17: Introducing React Server Components
- Chapter 18: Advanced Next.js Concepts and Optimizations
- Chapter 19: Deploying a Next.js App
- Chapter 20: Diving Deeper into Full-Stack Development
- Index
- Other Books You May Enjoy
Product information
- Title: Modern Full-Stack React Projects
- Author(s):
- Release date: June 2024
- Publisher(s): Packt Publishing
- ISBN: 9781837637959
You might also like
video
React Front to Back 2022
The course starts with React fundamentals including components, props, hooks, state, and so on. Then learn …
video
Modern JavaScript from the Beginning - Second Edition
This course is a comprehensive introduction to JavaScript, covering everything from the basics of variables, data …
book
React Key Concepts
Build the understanding, skills, and experience to confidently implement React in your next project with this …
video
React - The Complete Guide (Includes Hooks, React Router, and Redux) - Second Edition
**This course is now updated for React 18** Starting with an introduction to React concepts, you …