Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Modern Full-Stack React Projects
  • Table Of Contents Toc
  • Feedback & Rating feedback
Modern Full-Stack React Projects

Modern Full-Stack React Projects

By : Bugl
4.8 (9)
close
close
Modern Full-Stack React Projects

Modern Full-Stack React Projects

4.8 (9)
By: Bugl

Overview of this book

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.
Table of Contents (28 chapters)
close
close
1
Part 1:Getting Started with Full-Stack Development
4
Part 2:Building and Deploying Our First Full-Stack Application with a REST API
8
Part 3:Practicing Development of Full-Stack Web Applications
16
Part 4:Exploring an Event-Based Full-Stack Architecture
20
Part 5:Advancing to Enterprise-Ready Full-Stack Applications

Optimized image and font loading in Next.js

Loading images and fonts in an optimized way can be tedious, but Next.js makes it very simple by providing the Font and Image components.

The Font component

Often, you’ll want to use a specific font for your page to make it unique and stand out. If your font is on Google Fonts, you can have Next.js automatically self-host it for you. No requests will be sent to Google by your browser if you use this feature. Additionally, the fonts will be loaded optimally with zero layout shift.

Let’s find out how Google Fonts can be self-hosted with Next.js:

  1. We are going to load the Inter font by importing it from next/font/google. Edit src/app/layout.js and add the following import:
    import { Inter } from 'next/font/google'
  2. Now, load the font, as follows:
    const inter = Inter({
      subsets: ['latin'],
      display: 'swap',
    })

    Inter is a variable font, so we don’t need to specify...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Modern Full-Stack React Projects
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon