Skip to content

A simple Node.js application that uses ng-chat.

License

Notifications You must be signed in to change notification settings

RJMJ/ng-chat-nodejs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ng-chat-nodejs

A simple Node.js application that uses ng-chat.

How to run this project

  • 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.

Understanding the setup

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

Considerations

This project is just a socket.io + ng-chat sample. This code is not production ready.

About

A simple Node.js application that uses ng-chat.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 51.4%
  • JavaScript 32.1%
  • HTML 14.0%
  • CSS 2.5%