Back to Browse

How to Serve Static Files from a Node Server

22.9K views
Jan 15, 2020
14:46

This tutorial explains how you can add the ability to serve static files to a basic node web server without using Express. This Code GIST contains the node js file, as well as the HTML, CSS, and JS files that are being served. Code GIST: https://gist.github.com/prof3ssorSt3v3/896370e57b8fd09ee15888e24c031f47

Download

1 formats

Video Formats

360pmp423.3 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

How to Serve Static Files from a Node Server | NatokHD