quickyserv
v1.1.0
Published
This is a JS cli tool with a friendly interface to quickly generate custom (super basic) node server
Downloads
3
Maintainers
Readme
QuickyServ
This is a tool to quickly generate custom (super basic) node server.
Quick Start
Install QuickyServ
npm install -g quickyserv
Create your server folder
mkdir MyServer && cd MyServer
Run QuickyServ
quickyserv
More
Simple Node Server
: Generate a simple server.js file with a node server at 0.0.0.0:3000.Simple Node With HTML
: Generate a simple server.js file with a node server at 0.0.0.0:3000 that returns HTML.Simple Node Single Page
: Generate server.js and index.html files hosted at 0.0.0.0:3000.Server with Routes [to JS]
: You need to type the routes endpoints separated by pipe and it will generate a server.js file with all your routes.
Example:
list|create|edit/{id}|delete/{id}
Server with Router [to HTML]
: You need to type the routes endpoints and filename separated by pipe and it will generate a server.js with your routes and all the .html files. Routes format needs to be:{route}->{filename}
Example:
home->index|contacts->contacts|faq->faq
That's all!
Now just run node server
and your server will works!