/node-test-server

Just a basic NodeJS server for running client CORS tests

Primary LanguageJavaScriptMIT LicenseMIT

node-test-server

Server running on Heroku

Requirements

  1. NodeJS >=5
  2. NPM >=3

Setup

clone this repository on your local machine. Then install all the npm dependencies with:

$ npm install
// Or using Yarn with:
$ yarn install

How to Run Both Apps

  1. Open your terminal and cd to the root folder for this repository

  2. Run

$ npm start

to spin up the app

  1. You should see a message telling you on which port is the server listening (by default this is 8009)

  2. Open a browser and navigate to this URL: http://localhost:8009

  3. You should see your browser rendering the client page

License

MIT © Andrea Sonny