Skip to content

Demo front-end application of a threaded discussion using AngularJS and RequireJS

Notifications You must be signed in to change notification settings

anselmbradford/angular-requirejs-discussion-thread-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

angular-requirejs-discussion-thread-demo

This is an example app that demonstrates a front-end build setup using Grunt, Bower, RequireJS, and AngularJS.

Synopsis

The application feeds in a JSON file that models a threaded discussion. The discussion thread structure is represented as a flat array with an adjacency list. The app converts this to a tree data structure to make it easier to pass off to a recursive template, which generates the thread's comment HTML snippets.

Installation

Note: the following requires that nodejs is installed, follow the node installation instructions for your system if needed.

Use npm install to install the required node modules.

Use bower install to install the required bower modules.

Use grunt development to compile a development deploy in the www directory.

Use grunt preflight to compile a production deploy in the www directory.

Screenshots

The opening screen, all discussion threads are collapsed.

opening screen

Clicking on a discussion expands the thread.

poster screen

About

Demo front-end application of a threaded discussion using AngularJS and RequireJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published