Skip to content

Latest commit

 

History

History

02-tcp_server

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

02-tcp_server

Description

This is a simple TCP server that serves static files. It is implemented using the net and http module of Node.

How to run

  1. Clone the repository
  2. Navigate to the 02-web_server directory
  3. Run yarn install or npm install
  4. Run node server.ts

How to use

  1. Open a browser and go to http://localhost:3000

Source

Node.js net module Node.js http module book