#Barcode Scanner project (Cloud application is located here) ##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
soapandcsvdependencies - Introduce our UPC Search soap service
- Modify
/lib/hello.jsto include SOAP service
- Document using API Blueprint Format
- Illustrates discovery of service
- Uses the now changed
helloroute - Has 1 input, 1 button which we're going to use
- Update the labels in
index.html - Update the params we send to the
/hellocloud route - Update what we display on the page to be the cover image & title
- Add the barcode scanner to our app
- Update the button to trigger the barcode scanner