Topics Covered
Duration: 80 minutes
Learning Objectives:
Get familiar with core Node.js libraries for file handling, HTTP, and streams.
Outline:
Overview of Node.js core libraries.
Working with the
fsmodule for file operations.Introduction to the
httpmodule for creating servers.Using streams for efficient data handling.
Student Activity:
Write a program to read, write, and append data to a file using the
fsmodule.Create a simple HTTP server using the
httpmodule.
Homework Assignment:
Expand your HTTP server to serve different static files based on the URL.
Research and write a short note on how streams improve performance in Node.js.
Last updated