This is the code repository for Modern Frontend Development with Node.js, published by Packt.
The compendium for web development within the Node.js ecosystem
Almost a decade after releasing Node.js, the tooling used by frontend developers is fully embracing the cross-platform JavaScript runtime. In this book, you'll learn to leverage Node.js to the maximum for creating frontend applications.
After learning the basics and internals of Node.js, you will be ready to divide your code into modules and packages. You'll get to know the most popular package managers and their areas of use. Likewise, you'll also learn how different flavors of JavaScript, such as TypeScript, can be used with Node.js. The right tooling is crucial, which is why you'll dive into all of the available state of the art tools. You'll get in touch with linters such as eslint or formatters like Prettier. No matter if you have never heard of a bundler or call yourself a Webpack wizard - the section about bundlers will teach you everything you need to know about the Swiss army knife of frontend development: bundlers. For code quality verification, you'll also get in touch with a variety of testing utilities like Jest.
In the final part of the book, you'll see how easy it is to publish your code in reusable packages. Finally, you'll also become an expert in choosing the right code structure for your repositories by learning about monorepos.
This book covers the following exciting features:
- Practically develop a frontend application with Node.js based tools and libraries
- Use bundlers such as Webpack or Vite to create efficient web applications
- Leverage test runners like Jest to ship reliable software
- Organize code repositories to work in close collaboration with other developers and teams
- Learn to publish npm packages to make code reuse much simpler
- Improve code quality by enabling consistent formatting using Prettier
If you feel this book is for you, get your copy today!
This repository contains the sample codes for each chapter. You can clone it like that:
git clone https://github.com/PacktPublishing/Modern-Frontend-Development-with-Node.js.git
Each directory containing a sample repository has a README file with instructions on what is necessary and how to run the code.
Following is what you need for this book: This book is for junior and intermediate frontend web developers who are looking to leverage the Node.js ecosystem for building frontend solutions. The book requires beginner-level knowledge of JavaScript, HTML, and CSS. Some experience in using a standard shell (sh) will be beneficial.
With the following software and hardware list you can run all code files present in the book (Chapter 1-11).
Chapter | Software required | OS required |
---|---|---|
1 to 11 | Node.js 14+ | Windows, Mac OS X, and Linux (Any) |
1 to 11 | NPM 6+ | Windows, Mac OS X, and Linux (Any) |
1 to 11 | ECMAScript 2015 (6) or above | Windows, Mac OS X, and Linux (Any) |
We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.
Please visit the following link to check the CiA videos:
none
Florian Rappl
is a solution architect working on distributed web applications for digital transformation and IoT projects. His main interest lies in the implementation of micro frontends and their impact on teams and business models.
As the lead architect he helped to create outstanding web applications for many industry leading companies. He regularly gives lectures on software design patterns and web development. Florian won multiple prizes for his work over the years and is recognized as a Microsoft MVP for development technologies.
He started his career in software engineering before studying physics and helping to build an energy-efficient supercomputer. Florian currently lives in Munich, Germany, with his wife and two daughters.
If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.