https://github.com/andrehottie/quickyserv
This is a JS cli tool with a friendly interface to quickly generate custom (super basic) node server.
https://github.com/andrehottie/quickyserv
boilerplate bootstrap cli generator javascript node nodejs quick script server terminal tools typescript
Last synced: 20 days ago
JSON representation
This is a JS cli tool with a friendly interface to quickly generate custom (super basic) node server.
- Host: GitHub
- URL: https://github.com/andrehottie/quickyserv
- Owner: andrehottie
- Created: 2020-09-15T14:32:55.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-18T15:39:45.000Z (almost 6 years ago)
- Last Synced: 2025-10-10T15:31:55.609Z (8 months ago)
- Topics: boilerplate, bootstrap, cli, generator, javascript, node, nodejs, quick, script, server, terminal, tools, typescript
- Language: JavaScript
- Homepage:
- Size: 11.5 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
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
```
[](https://postimg.cc/XZL7Bs8p)
# 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!