Giter Site home page Giter Site logo

havealex / node.js-14-cookbook Goto Github PK

View Code? Open in Web Editor NEW

This project forked from packtpublishing/node.js-14-cookbook

0.0 0.0 0.0 1.27 MB

Node Cookbook - Fourth Edition, Published by Packt

License: MIT License

Shell 0.10% JavaScript 72.74% TypeScript 10.29% CSS 4.76% HTML 8.06% Dockerfile 0.65% EJS 2.99% Pug 0.40%

node.js-14-cookbook's Introduction

Node Cookbook - Fourth Edition

Node Cookbook - Fourth Edition

This is the code repository for Node Cookbook - Fourth Edition, published by Packt.

Discover solutions, techniques, and best practices for server-side web development with Node.js 14

What is this book about?

A key technology for building web applications and tooling, Node.js brings JavaScript to the server enabling full-stack development in a common language. This fourth edition of the Node Cookbook is updated with the latest Node.js features and the evolution of the Node.js framework ecosystems.

This book covers the following exciting features:

  • Understand the async and sync programming models of Node.js
  • Create simple Node.js applications using modules and web frameworks
  • Debug and diagnose issues in your Node.js applications
  • Deploy Node.js applications to production
  • Create a simple web app using Fastify, Hapi, and Express.js
  • Discover tips for scaling, securing, and testing your Node.js web applications

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Instructions and Navigations

All of the code is organized into folders. For example, Chapter02.

The code will look like the following:

process.stdin.on("data", (data) => {
const name = data.toString().trim().toUpperCase();
if (name !== "") {
process.stdout.write(`Hello ${name}!`);
} else {
process.stderr.write("Input was empty.");
}
})

Following is what you need for this book:

The book is for web developers who have knowledge of JavaScript and want to gain a broad understanding of Node.js concepts for server-side development.

With the following software and hardware list you can run all code files present in the book (Chapter 1-12).

Software and Hardware List

Chapter Software required OS required
1-12 Node.js 14 (including anpm) Windows, MacOS, and Linux (Any)
1-12 Google Chrome Windows, MacOS, and Linux (Any)
1-12 cURL - Downloadable from https://curl.haxx.se/windows/ Windows, MacOS, and Linux (Any)
1-12 Docker Windows, MacOS, and Linux (Any)
11 Kubernetes (via Docker for Desktop) Windows and MacOS

Any chapters or recipes that require special software should cover the installation steps in the Technical requirements or Getting ready sections. Many of the Terminal steps assume you're operating in a Unix environment. On Windows, you should be able to use the Windows Subsystem for Linux (WSL 2) to complete these steps.

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.

Related products

Get to Know the Author

Bethany Griggs is a Senior Software Engineer at Red Hat and a Node.js Technical Steering Committee Member. Beth has been involved with the Node.js project since 2016 when she joined IBM in their Node.js Runtime Team. Now at Red Hat, she’s continuing her work around Node.js, including contributing to the Node.js project. Beth is an active member of the Node.js Release Working Group, who audit the content for and produce the Node.js releases. Her other focuses are the creation of resources and tools to support Node.js deployments to cloud.

Download a free PDF

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.

https://packt.link/free-ebook/9781838558758

node.js-14-cookbook's People

Contributors

bethgriggs avatar packt-itservice avatar rashilspackt avatar packtutkarshr avatar dominicpereira92 avatar dependabot[bot] avatar shubham763 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.