Code Monkey home page Code Monkey logo

angular-spa-demo's Introduction

angular-spa-demo Build Status

Demo code for a Single Page Application using AngularJS.

Purpose

This is a sample HTML5 / JS / CSS SPA (Single Page Application) developed with AngularJS.

Markup has been styled to be responsive, according to the device used to view the app.

It is intended as a demonstration of technical capabilities rather than design or helpful data. :-)

Note also that it is a work in progress; you can check out what features are in the pipeline in the issues list.

Functionality

This is a simple application that displays several pages, including profile information for a list of people.

The sample data is contrived, but shows how the data is stored in JSON format, retrieved via AJAX, and inserted into HTML templates.

Implementation

The functionality has been implemented using the following features:

  • AngularJS 1.2, documented
  • Twitter Bootstrap 3.2
  • Javascript validated with JSHint and JSCS
  • automated CI build on code repo change
  • semantic HTML5
  • well-structured CSS built with LESS
  • responsive web development/design (no separate m-dot site)
  • page content sourced via XHR service call with JSON response (static)
  • multi-browser unit testing with Jasmine & Karma
  • grunt-driven builds to dev and prod distributions

Usage

Building

Fork/clone this repo, then:

bower install
npm install
grunt dev       # build the dev distribution
grunt test      # run the unit tests
grunt docs      # just build the docs
grunt prod      # build the prod distribution (includes clean, test & docs)

Running

Set up local web servers to point to dist/dev and dist/prod for dev and prod distributions, respectively.

Customising

To customise the content, modify the contents of the following files:

  • svc/*/*.json
  • src/js/app/*/*/*.html

Viewing the docs

Fire up a web server with dist/docs as the webroot, and point your browser.

Issues

The github issue system holds the issues for this project:

Demo site

http://mcalthrop.github.io/angular-spa-demo/

This site is kept up to date with the latest code in the codebase.

angular-spa-demo's People

Contributors

mcalthrop avatar

Watchers

James Cloos avatar Shubham Desale avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.