Skip to content

A simple nodeJS server that serves any file in its local directory or sub directories.

Notifications You must be signed in to change notification settings

kayakyakr/static-nodejs-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

static-nodejs-server

Description

This is a simple server that just serves whatever is requested back to the requester.

Should send the files back with the correct mime-type, but if the type isn't specified in the list, it will return it as application/octet-stream

Usage

  1. Install nodeJS
  2. From your web directory, run
node ../_path-to-static-nodejs-server_/server.js 

About

A simple nodeJS server that serves any file in its local directory or sub directories.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published