/NodeServer

Basic functionality for Express NodeJS server

Primary LanguageCSS

Clustered Express NodeJS Server

Basic functionality for an Express NodeJS server, using Cluster for the innumerable perf benefits.

Build & Run

Prerequisites: Node & NPM most recent versions installed

  • Clone this repo to your machine.

  • From your command line, get into the project root directory:

     `cd NodeServer`
    
  • In project root directory, install necessary dependencies:

     `npm install`
    
  • Run the server:

     `DEBUG=my-application ./bin/start`
    
  • Note the port number logged (i.e. 3000), and visit via browser:

     `http://localhost:<insert_port_here>/`