Skip to content

Releases: AjanShrestha/digging-into-nodejs

Child Process

23 Jan 04:38
7d80dbd

Choose a tag to compare

  • Child Processes
  • Exit Codes
  • Child Processes Exercise

Web Servers

23 Jan 03:50
c14aa78

Choose a tag to compare

  • Creating a Web Server
  • Routing & Serving Static Files
  • Serving API Endpoint
  • Fetch Exercise
  • ExpressJS Routing
  • Serving Static Files with Express
  • Custom Routing Middleware

Database

22 Jan 05:25
2ec943b

Choose a tag to compare

  • Database & Exercise Setup
  • Read & Write from Database
  • Insert into Database Solution
  • Get Database Records

Streams

14 Jan 08:39
f9e8050

Choose a tag to compare

  • File Handling with Streams
  • Transform Stream
  • Outputting a Stream to a File
  • gzip Compress with zlib
  • gzip Uncompress with zlib
  • Determining End of Stream
  • Asynchronous Cancellation & Timeouts
  • Add async cancellation package CAF
  • Cancel based on a timeout

Command Line

13 Jan 02:15
b166c68

Choose a tag to compare

  • Setting Up a Command-Line Script
  • Make the file executable with node env shebang
  • Command Line Arguments
  • Add minimist package to handle the command line args
  • Argument Handling
  • Reading Files with Path & FS Modules
  • Asynchronous readFile
  • Processing File Contents
  • Refactor processFile function
  • Processing Input from stdin
  • Environment Variables

Introduction

11 Jan 08:03
e3a0329

Choose a tag to compare

  • Console Log & Process stdout
  • Console Error & Process stderr
  • node *.js 1>/dev/null 2>/dev/null