THis is a simple demo. Reference to http://coenraets.org/blog/2014/12/sample-mobile-application-with-react-and-cordova/. use react.js and Ratchect