Syllabus

  1. 01What Is the Back-End?Get the big picture before writing server code: how browsers and servers divide the work, how data is stored and exchanged as JSON through APIs, and what else a back-end is responsible for, from authentication to validation.4 lessons
    1. 01Front-End and Back-End
    2. 02Data, JSON and APIs
    3. 03What Else Back-Ends Do
    4. 04Quiz: Back-End Basics
  2. 02Introduction to Node.jsRun JavaScript outside the browser with Node.js: how programs run, built-in core modules, your own modules with require and module.exports, and the console, process, os and util modules, plus npm and package.json.10 lessons
    1. 01Running JavaScript with Node.js
    2. 02Core Modules
    3. 03Your Own Modules
    4. 04The console Module
    5. 05The process Object
    6. 06The os Module
    7. 07The util Module
    8. 08npm and package.json
    9. 09Project: Packing List Tool
    10. 10Quiz: Introduction to Node.js
  3. 03Node.js EssentialsUse the core modules back-end code relies on: the events module, reading input and writing output, Node's error conventions, buffers of raw bytes, the file system, readable and writable streams, and Node's timers.10 lessons
    1. 01The events Module
    2. 02Input and Output
    3. 03Errors in Node.js
    4. 04Buffers
    5. 05The File System
    6. 06Readable Streams
    7. 07Writable Streams
    8. 08Timers in Node.js
    9. 09Project: Log Digest
    10. 10Quiz: Node.js Essentials
  4. 04Setting Up a Server with HTTPBuild web servers with Node's http module: handle requests and send responses, parse URLs and query strings, route by method and path, pick the right status codes, read JSON request bodies, serve a small JSON API, and call other APIs from your server.10 lessons
    1. 01Your First HTTP Server
    2. 02Requests and Responses
    3. 03Parsing URLs
    4. 04Routing
    5. 05Choosing Status Codes
    6. 06Reading Request Bodies
    7. 07A JSON API with a Data Store
    8. 08Calling Other APIs
    9. 09Project: Plant Swap API
    10. 10Quiz: HTTP Servers