An open API service indexing awesome lists of open source software.

https://github.com/danrpts/webstack

Boilerplate for JavaScript Single Page App using Node, Gulp, Express, Backbone, and Material Design.
https://github.com/danrpts/webstack

backbone express gulp material-design-lite node

Last synced: 3 months ago
JSON representation

Boilerplate for JavaScript Single Page App using Node, Gulp, Express, Backbone, and Material Design.

Awesome Lists containing this project

README

        

# webstack

A boilerplate stack for building Javascript Single Page Applications. Built on top of Node, Gulp, Express, Backbone and Material Design Lite. **Backbone has been augmented with selected patterns to perform view life cycle management and view composition.** Find the augmented classes in the [webclient/architecture/classes](https://github.com/danrpts/webstack/tree/master/webclient/architecture/classes) directory.

![webtasks-list](webclient/webtasks/screenshots/frame-webtasks-list.png)

## Install

git clone https://github.com/danrpts/webstack.git
cd webstack
npm install -g gulp express
npm install

## Usage

A demo todo list comes installed in the [webstack/webclient/webtasks](https://github.com/danrpts/webstack/tree/master//webclient/webtasks) directory. To build the demo and watch it for changes, simply run the following gulp task:

gulp --client webtasks

The project is now being watched for changes, and in another terminal we can serve the it from localhost with the npm start script:

npm start

By default the application hosted at [http://localhost:3000](http://localhost:3000).

## Configuration
This web tasks application authenticates with OAuth 2.0 using [Google's OAuth 2.0 Client Side Flow](https://developers.google.com/identity/protocols/OAuth2UserAgent). When authenticating with Google OAuth 2.0 you must update the `client_id` and `client_secret` [credentials](https://developers.google.com/identity/protocols/OAuth2UserAgent#creatingcred) found in the following files:
- webstack/webserver/config/google_config.json and
- webstack/webclient/webtasks/javascripts/config/google.json

## Credits
Daniel Peterson

## License
GPLv3