Basic express server for running tests.
- NodeJS
- version 10.16.3 was used for this project
- Windows 10 64-bit OS
index.js
Basic express server set-up.index-static.js
Basic express server set-up that serves static (html, css, js) scripts from the /public directory.
Clone this repository.
git clone https://github.com/weaponsforge/server-basic.gitInstall dependencies.
npm installRun the server.
npm run startto start the basic express servernpm run dev:staticto start the basic express server that loads static (front-end) files from the /public directory.
Open a web browser to
http://localhost:3000http://localhost:3000/test
20191030