• Stars
    star
    107
  • Rank 323,587 (Top 7 %)
  • Language ApacheConf
  • License
    Apache License 2.0
  • Created over 10 years ago
  • Updated over 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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.

More Repositories

1

spring-roo-in-action-examples

Examples for Spring Roo in Action
AspectJ
61
star
2

angular2-unittest-samples-release

Unit testing samples for Angular 2.0.0 - updated for the official release
TypeScript
26
star
3

angular2-unittest-samples-rc

Note - for Angular 2 RC3... The Unit Test samples from http://chariotsolutions.com/blog/post/testing-angular-2-components-unit-tests-testcomponentbuilder/ and http://chariotsolutions.com/blog/post/testing-http-services-angular-2-jasmine/
TypeScript
22
star
4

angular-new-router-demo-galleries

A demonstration of the AngularJS new router
JavaScript
19
star
5

rxjs-playground

TypeScript
14
star
6

angular2-webpack-demo-routing-and-http

NOTICE - this is deprecated. The Angular component router is under redesign and these samples are pre-RC1. - A small sample app for a blog entry (upcoming) on using Angular 2 routing and Http together - built on angular2-class-webpack - includes database using json-server, which emulates a backend with zero friction and stores data in db.json - began as a cloned copy of angular2-class-webpack
TypeScript
10
star
7

react-playground-solution

JavaScript
8
star
8

ng-webaudio-synthesizer

A simple set of synthesizer services for webaudio, webmidi running on Angular and RxJS
TypeScript
7
star
9

nyc-ng2-synth-demo

Angular 2.0 Synth Demo (NYC)
TypeScript
7
star
10

drumlegend

A simple RxJS-based game with WebMidi, WebAudio and IoT devices for Chrome
TypeScript
7
star
11

hibernate_samples

Simple Hibernate samples
Java
6
star
12

quizzo-angular-roo

A Quizzo application launched in Roo (which maintains RESTful state) and running on angular.js
JavaScript
6
star
13

quizzo-ete

A project for a talk by Ken Rimple and David Turanski on modern Spring applications.
JavaScript
6
star
14

angular-seed-typescript

NOTE - do not use this with Beta 0. I still need to take a few hours and convert the dependencies. A basic seed project with express/livereload, typescript compilation and uses the Http library and multiple components in modules.
TypeScript
6
star
15

html5-spring-demo

A simple HTML5 demo running under Spring MVC 3.1
JavaScript
4
star
16

RooBarCampPhilly

The Spring Roo presentation and demo files for BarCampPhilly
JavaScript
4
star
17

hibernate-sandbox

Sandbox of hibernate code samples
Java
4
star
18

Roo-In-Action-MEAP-and-Whitepaper-Samples

Released samples for the Spring Roo in Action MEAP, and any papers or articles that come out of the pre-release process
Java
4
star
19

angular2-simple-ts-http-example

Deprecated. Until Angular 2 is out of RC assume you'll need to patch this repo. Simplest form project with angular2 beta 0, http and observable support, typescript - for Angular 2.0.0-beta.0
JavaScript
4
star
20

jpa-2.0-sandbox

A simple sandbox for our students for our hibernate classes, with some demonstrations (which will be improved over time)
Java
3
star
21

quizzo

My "Chariot Day" quiz application - under active development and not ready for any prime time at all.
JavaScript
3
star
22

grails-dbmapping-demos

For the Feb 28 Grails User Group meeting
Groovy
3
star
23

ptw-2020-codebuild-sample

TypeScript
3
star
24

quippr

Silly quips for those with loud voices
Ruby
3
star
25

libertyjs-angular2-starter

Starter project for LibertyJS
TypeScript
3
star
26

angular2-websocket-plotter

A sample project using ng2 RC3 (currently), angular-cli, node/express and websockets to plot data
TypeScript
3
star
27

jasminerubydemo

Ruby
2
star
28

react-rxjs-demos

For an upcoming talk on RxJS at CPOSC in Lancaster, PA
JavaScript
2
star
29

cometd-roo-addon-tester

Java
2
star
30

cometd-roo-addon

Java
2
star
31

trainme

A silly but semi-useful spring project for teaching unit, integration and functional testing
Java
2
star
32

quizzer-vue-solution

An application for demonstration at Philly Tech Week. Under construction until the end!
Vue
2
star
33

angular2-unittest-samples-webpack

Deprecated - see https://github.com/krimple/angular2-unittest-samples-rc - A project hoisted by @patrickjs's awesome angular2-webpack-starter project - to demonstrate unit testing APIs in Angular 2
TypeScript
2
star
34

ng-iot-synth-demo

Updated Synthesizer and drum machine demo project using RxJS 6 and Angular 6, WebAudio, Chrome MIDI
TypeScript
2
star
35

sample_app

Ruby
2
star
36

iphone-timely

A scratch timesheet application on the iPhone
2
star
37

fleacircus

A demo project for Roo and Cloud Foundry
Java
2
star
38

nethack-angular

Fun project for beating up on ngrx store - a nethack / empire game
TypeScript
2
star
39

Grails-Demos-PostgreSQL-East-2010

Demo code written for the PostgreSQL conference
Groovy
2
star
40

jsconf2014-ar-parrot-control

Here is my hack-athon project that controlled a drone with a node-based MVC. Uses another application to feed it information based on the drone's relative position to a ball.
JavaScript
2
star
41

demo_app

Ruby on Rails tutorial demonstration application
Ruby
1
star
42

first_app

Ruby on Rails tutorial first application
Ruby
1
star
43

GitDemo

Simple demo project
Ruby
1
star
44

change-after-checked-demos

Showing change after checked and how to fix
TypeScript
1
star
45

shopping-services-sample-codebuild-app

Java
1
star
46

phillyjug-ng2-samples-oct-2016

Demonstration repo for October 2016 meeting - Components and Observables - the Zan and Jayna of Angular 2
TypeScript
1
star
47

sticky-notes

A tour of Angular 4 - workshop sample
TypeScript
1
star
48

ng-testing-demo-philajs

NOTE - this is outdated. I am going to work on samples that are up to date with RC3 and beyond - see https://github.com/krimple/angular2-unittest-samples-rc for details. Sample testing demo for the Philadelphia JS user group meeting - May 2016
TypeScript
1
star
49

vftechmeetup-angulardemo

A demonstration repository using AngularJS, Bootstrap, Karma, and NPM to show off a few AngularJS features.
JavaScript
1
star
50

shadow-boxing-protractor

Uses selector from https://github.com/angular/protractor/pull/4786/commits/6fbf48e94c5b2dd4b398a68440f264f06588866b
TypeScript
1
star
51

dojo-mobile-demo

A scratchpad app in progress to try out Dojo mobile w/Spring 3.1
JavaScript
1
star
52

springone2gx-addons-presentation

JavaScript
1
star
53

PTW-Angular-Hackathon

Sample app from the Philly Tech Week AngularJS 1-day hackathon
JavaScript
1
star
54

swr-demo

A Next.JS app using the SWR API, and a resource server written to fail in various ways in Node.js
TypeScript
1
star
55

react-and-redux-example

This is a learn-along sample using React with a Redux store and installing the React router. It is a simple CRUD app. Not winning any webbies.
JavaScript
1
star
56

sillyweasel-roo-formtags-addon

A simple add-on demonstrating the configuration of form tags
Java
1
star
57

graphql-vuex-by-hand

Project hacking with Vue and Graphql based on great getting started blog: https://markus.oberlehner.net/blog/combining-graphql-and-vuex/
JavaScript
1
star
58

protractor-the-sword

A protractor project ready-made to play with Protractor. Batteries somewhat included but not really.
JavaScript
1
star
59

getting-started-angularjs-libertyjs

A starter shell project for the libertyjs basic AngularJS workshop
JavaScript
1
star