Skip to content

dada0z/node-webserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-webserver

A simple web server by nodejs

usage

[XXX@XXX node-webserver]$node server.js

config.json

{
  "port":"",
  "rootdir":""
}

port will be 8080 if not given.

rootdir can be relative path or absolute path.

todo

serve for dynamic request

thanks

nodejs搭建本地http服务器

About

A simple web server by nodejs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published