reptilehaus-ng2-socket.io

An example of using Socket.io, Angular 2, ExpressJS and MongoDB for a chat application

Usage

  • Clone this repo for https
git clone https://github.com/REPTILEHAUS/reptilehaus-ng2-socket.io-chat.git

for ssh

git clone git@github.com:REPTILEHAUS/reptilehaus-ng2-socket.io-chat.git
  • Go into that folder
cd reptilehaus-ng2-socket.io-chat
  • Navigate to the client folder
cd client

+Use either yarn or npm to install the dep's for npm

npm install

for yarn

yarn install

Run

npm start

and visit the local url in the browser

Note: It specifies the port after running that command

Then navigate the server folder do the same once installed execute

nodemon server.js

and enjoy chatting to yourself :)

I wrote a brief post on this on my website: https://www.reptilehaus.io/#/blog/angular-2-and-socket-io-chat-app

Im accepting PR's and any enhancements for this so feel free to fork and add to it aespecially anyone taking part in Hacktoberfest.

and follow my twitter for more rantings: @REPTILE_HAUS