A small project,chat room, server as POC for learning node.
Setup to run your chat app:
- in command prompt, go to your code path
- cd src
- node chatroom-message.js # this step will start the chat server locally in port 1007.
- In your browser, you could use: http://localhost:1007/index.html?id=SOME_ID_YOU_LIKE
Template project for webpack, karma, jasmine
- Install Git
- Install NodeJS & NPM
- Clone project to local directory (this directory will be referred to as
$project.root
) - Go into
$project.root
- Run
npm install
- Run
npm package
to package the JS files - Run
npm start
to start the server
- Run
npm test
- Install Nightwatch
npm install -g nightwatch
- Install Selenium
npm install selenium-standalone@latest
- Install Selenium Server
npm run-script selenium-install
- Run
nightwatch