A simple Node.js application that uses ng-chat.
- Clone this repository
- Navigate to the project folder
- Open a command terminal
- Install dependencies by running "npm install"
- Run "npm start". This will run the Node.js application
- Open another command terminal form within the "angular-cli" folder.
- Run "ng serve --open"
- Test joining a room with different browsers (or a incognito window) and exchange messages.
Check the following files in this project:
- /server.js
- /angular-cli/src/app/app.module.ts
- /angular-cli/src/app/app.component.ts
- /angular-cli/src/app/socketio-adapter.ts
This project is just a socket.io + ng-chat sample. This code is not production ready.