An open API service indexing awesome lists of open source software.

https://github.com/myferr/web-server

A JavaScript web server to host files on a local host port using Express.js and Inquirer.
https://github.com/myferr/web-server

expressjs inquirer javascript old unmaintained webserver

Last synced: 3 months ago
JSON representation

A JavaScript web server to host files on a local host port using Express.js and Inquirer.

Awesome Lists containing this project

README

        

# web-server
> Requires Node.js, Express.js, and Inquirer

**web-server** is a JavaScript web server to host (HTML) files on a local host port using Express.js and Inquirer.

# How to use 🚀

To install Node.js, Express.js and Inquirer:
* Node.js > Download it from [the website](https://nodejs.org/)
* Express.js > `npm install express`
* Inquirer > `npm install --save inquirer@^8.0.0`

To use **web-server** first you must install it on your system.
There are two methods:

> This installation method requires Git
```
git clone https://github.com/myferr/web-server
```

After that run `server.js`

or

Click the "Code" button.

After that click "Download ZIP", then extract the `.zip` and run server.js

## To run server.js

To run `server.js` you can say:
```
npm start
```
or:
```
node .
```