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.
- Host: GitHub
- URL: https://github.com/myferr/web-server
- Owner: myferr
- Created: 2024-02-12T01:27:19.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-12T01:46:34.000Z (over 1 year ago)
- Last Synced: 2025-01-11T07:44:25.108Z (5 months ago)
- Topics: expressjs, inquirer, javascript, old, unmaintained, webserver
- Language: JavaScript
- Homepage:
- Size: 35.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 .
```