Skip to content

minghan9456/socket-chatting-practice

Repository files navigation

sayhi - simple socket chat room

Set up

  1. git clone project
$ git clone git@github.com:minghan9456/sayhi.git
  1. npm install
$ cd sayhi
$ npm install
  1. Create constant file
$ cp ./config/constant.example.js ./config/constant.js
  1. Follow google sign in guide to get google client id, then add to config/constant.js

  2. Set up your server listening port exports.PORT = 9527; in config/constant.js.

  3. Set up your database info in config/constant.js.

  4. Launch server

node server.js
  1. browse http://localhost:9527 .

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors