Book Image

Next.js Quick Start Guide

By : Kirill Konshin
Book Image

Next.js Quick Start Guide

By: Kirill Konshin

Overview of this book

Next.js is a powerful addition to the ever-growing and dynamic JavaScript world. Built on top of React, Webpack, and Babel, it is a minimalistic framework for server-rendered universal JavaScript applications. This book will show you the best practices for building sites using Next. js, enabling you to build SEO-friendly and superfast websites. This book will guide you from building a simple single page app to a scalable and reliable client-server infrastructure. You will explore code sharing between client and server, universal modules, and server-side rendering. The book will take you through the core Next.js concepts that everyone is talking about – hot reloading, code splitting, routing, server rendering, transpilation, CSS isolation, and more. You will learn ways of implementing them in order to create your own universal JavaScript application. You will walk through the building and deployment stages of your applications with the JSON API,customizing the confguration, error handling,data fetching, deploying to production, and authentication.
Table of Contents (9 chapters)

What is automated deployment?

So far, most of the time we have only been dealing with the development mode of Next.js. But real-life projects have to be deployed on production servers at some point. And, of course, no sane person wants to deploy a product that has issues that will affect customers. After all, the main purpose of a product is to make customers happier. In order to make sure the quality of the product meets certain standards, the bare minimum is manual testing. This is when you or your QA colleague simply use the product and try to find all possible issues. Unfortunately, this is very time consuming and very ineffective as the project grows larger. Moreover, it is absolutely not guaranteed that any change in the system will not affect other parts of the system, so the only way to ensure quality is to test the entire system on every single change, which is completely...