/SimpleExpressServer

This is a simple Express Web Server using Node.js

Primary LanguageJavaScript

Simple Express Web Server

This is a basic web server which runs on Node.js using the Express package. This writeup is for use on Linux however it is compatible with other operating systems.

Usage

Firstly you will need to ensure you have installed Node.js.

Clone/Download this repo into the desired directory and then from that directory run the following:

 npm install

This will install all the require dependancies. If you receive an error, you may need to user sudo npm install

Running the Server

To run your server just type node server.js

You can then open a webpage and navigate to the IP address of the machine followed by port 8000 192.168.1.2:8000