<commit_before>FeedHenry Blank Hybrid App
==========================

A basic 'hello world' Hybrid App.

# Grunt

This template uses [Grunt](http://gruntjs.com/), the Javascript Task Runner. To use Grunt with this Template App, do the following:

* Install grunt: ```npm install -g grunt-cli```
* In your App directory, run: ```npm install```. This installs Grunt plugins, etc for use with this App.
* Run ```grunt serve``` to preview this App locally


### FeedHenry local development

You can also use Grunt to point your App at a local developement server. To do this, use the ```grunt serve:local``` command. Some notes on using the serve:local task:

* by default, the local server development url is: http://localhost:8001
* you can change this directly in your local Gruntfile.js, in the app config:

```
  app: {
    // configurable paths
    app: 'www',
    url: '',
    default_local_server_url: 'http://localhost:8001'
  },
```

* you can also pass a 'url' optional flag to server:local, e.g. ```grunt serve:local --url=http://localhost:9000```

* We can also write your own tasks by extending the Gruntfile.js, e.g. add a 'serve:live' target that hits your server in your FeedHenry live enivronment.<commit_msg>Add README<commit_after>#Barcode Scanner project
(Cloud application is located [here](https://github.com/cianclarke/barcode-client))
##Step 1: Base Cloud App
* Has one route, /hello
* Gets mounted in `application.js`
* Handles the route in `lib/hello.js`
* We're going to modify this to accept barcodes.


###Step 2: UPS Barcode Soap Integration
We're going to take an online SOAP service which returns a mix of SOAP and CSV - neither of which are approprirate for a mobile API, and convert this response to mobile-friendly JSON.  

* Include `soap` and `csv` dependencies
* Introduce our [UPC Search](http://www.searchupc.com/supc/service/UPCSearch.asmx) soap service
* Modify `/lib/hello.js` to include SOAP service

### Step 3: Document Barcode Service
* Document using API Blueprint Format
* Illustrates discovery of service

### Step 4: Create our client application. 
* Uses the now changed `hello` route
* Has 1 input, 1 button which we're going to use

### Step 5: Update our client application to do barcode lookup
* Update the labels in `index.html`
* Update the params we send to the `/hello` cloud route
* Update what we display on the page to be the cover image & title

### Step 6: Add Barcode Scanner
* Add the barcode scanner to our app
* Update the button to trigger the barcode scanner
{'fraction_non_alphanumeric': 0.10451306413301663, 'fraction_numerical': 0.00791765637371338, 'mean_word_length': 4.264583333333333, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6752873', 'n_tokens_mistral': 762, 'n_tokens_neox': 723, 'n_words': 344}