The Node Beginner Book

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

The aim of The Node Beginner Book is to get you started with developing applications for Node.js, teaching you everything you need to know about advanced JavaScript along the way on 59 pages.

Author(s): Manuel Kiessling
Publisher: Leanpub
Year: 2017-06-05

Language: English
Pages: 54

Table of Contents......Page 6
Special notice......Page 7
Structure of this document......Page 8
JavaScript and You......Page 10
``Hello World''......Page 11
The application stack......Page 13
A basic HTTP server......Page 15
Passing functions around......Page 16
How function passing makes our HTTP server work......Page 17
Event-driven asynchronous callbacks......Page 18
How our server handles requests......Page 20
Finding a place for our server module......Page 21
What's needed to ``route'' requests?......Page 23
Routing to real request handlers......Page 26
Making the request handlers respond......Page 30
Serving something useful......Page 37
Handling POST requests......Page 38
Handling file uploads......Page 43
Conclusion and outlook......Page 53