angular-socketio-chat

A chat application written in AngularJS, Socket.IO, Node/Express and Bootstrap. Feel free to fork/experiment.

Subscribe to updates I use angular-socketio-chat


Statistics on angular-socketio-chat

Number of watchers on Github 106
Number of open issues 1
Average time to close an issue less than a minute
Main language ApacheConf
Open pull requests 0+
Closed pull requests 0+
Last commit over 3 years ago
Repo Created over 4 years ago
Repo Last Updated 9 months ago
Size 2.81 MB
Organization / Authorkrimple
Contributors1
Page Updated
Do you use angular-socketio-chat? Leave a review!
View angular-socketio-chat activity
View TODOs for angular-socketio-chat (29)
View on github
Latest Open Source Launches
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating angular-socketio-chat for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

Angular-Flavored Chat

Sample AngularJS + NodeJS/Express application demonstrating the use of Socket.IO. I am using:

This project was a simple test of sockets as a traditional (some might say 'ye olde') chat program. I wanted to write it as angularly as possible (is that really a word?) and use the traditional Grunt-based workflow of Yeoman where possible.

At some point I need to take a day and convert this over to a more comprehensive script with gulp. Ah, todo todo...

I am not using Node at this point for anything more than a chat websocket server, however now you're nicely set up for an /api (see the /route directory and js file for a stupid JSON example).

Runtime instructions

I have the root app.js node script pointing to serve / as the content in /angular-frontend/app/ - you can construct and build and minify with grunt --force in the angular-frontend directory. This will set the content in /public to the minified version of the application and you can serve that by editing app.js.

To launch the app and run in development mode:

node app.js

Once you're ready to test a final build (minified, two javascript files), do this:

  1. Edit the app.js file and swap the commented and uncommented lines that serve the static content.

  2. Run the build:

cd angular-frontend
grunt --force
cd ..
node app.js
  1. Browse to http://localhost:3000 and you should see the chat client using minified scripts.
angular-socketio-chat open issues Ask a question     (View All Issues)
  • about 4 years grunt serve - socket.io-client was not injected
angular-socketio-chat list of languages used
Other projects in ApacheConf