This Node.js project illustrates the creation of a basic web server and loading some basic web pages ,
using the built-in http
module and explores the usage of other essential modules like url
, path
, fs
, and os
. The project provides examples of both asynchronous and synchronous operations.
It contains various built in modules like filesystem , operating system , url , path , http etc.
- server.js: Main server file demonstrating the creation of a simple web server.
- routes.js: Module containing route handling functions using the
url
andpath
modules. - fileOperations.js: Module showcasing file-related operations with the
fs
module, including both asynchronous and synchronous approaches.