Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 527 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 527 Bytes

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