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.
- Host: GitHub
- URL: https://github.com/danrpts/webstack
- Owner: danrpts
- License: gpl-3.0
- Created: 2015-08-26T18:26:39.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2019-01-13T22:32:13.000Z (over 6 years ago)
- Last Synced: 2024-12-31T00:33:40.277Z (5 months ago)
- Topics: backbone, express, gulp, material-design-lite, node
- Language: JavaScript
- Homepage:
- Size: 1.62 MB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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.

## 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