Skip to content

PacktPublishing/Node-Cookbook

Repository files navigation

Node Cookbook - Third Edition

This is the code repository for Node Cookbook - Third Edition, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.

About the Book

The principles of asynchronous event-driven programming are perfect for today's web, where efficient real-time applications and scalability are at the forefront. Server-side JavaScript has been here since the 90's but Node got it right.

Instructions and Navigation

All of the code is organized into folders. Each folder starts with a number followed by the application name. For example, Chapter02.

The code will look like the following:

const express = require('express')
const app = express()
const past = require('./past')
const future = require('./future')
app.get('/:age', (req, res) => {
    res.send(past(req.params.age, 10) + future(req.params.future, 10))
})
app.listen(3000)

The following is a list of the software that is required to run the examples in this book:

  • Chapters 1-10: Windows, macOS, or Linux.
  • Chapter 11: Linux or macOS (we recommend that Windows users work through Chapter 11, Deploying Node.js, by SSH-ing into a remote Linux machine).
  • Node 6 or higher. In cases where the code is specific to Node 8, this is specified.
  • Node can be downloaded from http://nodejs.org.
  • Curl 7: Curl can be downloaded from http://curl.haxx.se.

Related Products

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/9781785880087

About

Node Cookbook, published by Packt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •