Skip to content

globalchat-online/globalchat-expressjs

Repository files navigation

globalchat.online

screen shot 2018-06-24 at 3 24 36 pm

Chat with others in the world, even you can't say their language.

Build Status

Using Skills

  • Node.js
  • Express.js (Node.js web application framework)
  • Authentication with JWT (JSON Web Token)
  • DigitalOcean
  • Continuous Deployment with Travis CI
  • Docker
  • Unit Test with Mocha (a JavaScript test framework running on Node.js)
  • Google Cloud Translation API

Tests

To run the test suite, first install the dependencies, then run npm test:

$ npm install
$ npm test

or you can do that with Docker:

docker run -it --rm  -v "$PWD":/usr/src/app -w /usr/src/app node /bin/bash -c 'npm i && npm test'

Run

docker run -it --rm -p 8080:8080 -v "$PWD":/usr/src/app -w /usr/src/app node /bin/bash -c ' npm i nodemon -g && nodemon app.js'