This is an example application using MOAT IoT API set.
The application is composed of 4 parts:
- An Android project using MOAT Java
- Server side Javascripts using MOAT js
- Rails application using MOAT REST
- Google App Engine application using MOAT REST
For users who aren't familiar with Rails or are using Windows OS, please choose Google App Engine application.
You need to sign up Inventit IoT Developer Network Sandbox Server with IIDN Command Line Tool in order to deploy the application.
See the tutorial to learn more.
As of 1.0.8, a setup helper script is included, which helps you to prepare building environment.
After signing up to IIDN, on the root of this project (same as where this README.md is) enter:
moat-iot-get-started:$ rake
After a couple of minutes, the script will be terminated. And you need to run a few commands regarding signing secure token. The detailed commands are shown on the script log message. You can copy and paste the commands to run.
All program source codes except MOAT IoT App Icon files are available under the MIT style License.
The use of IIDN service requires our term of service.
Copyright (c) 2014 Inventit Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1.1.1 : September 26, 2014
- Bump up API version
1.1.0 : June 26, 2014
- Modifies Android sample apps as MOAT Java/Android API is updated
1.0.13 : April 3, 2014
- Updates maven android plugin
- Fixes copyright year and dead links
1.0.12 : May 2, 2013
- Adds the background image gallery feature on Rails and GAE web apps. Have fun!
- GAE example web app now supports App Engine SDK 1.7.7.1
- Adds the login page to the GAE example web app in order to provide links to loign/logout
- Adds a new example app using Arduino, sensors and Android (3.1+)
1.0.11 : April 2, 2013
- Fixes an issue where index.html contains wrong redirection destination
- Fixes an issue where build.xml copies wrong version of jars from GAE Plugin directory
1.0.10 : April 2, 2013
- Adds a new web application project for Google App Engine
1.0.9 : February 24, 2013
- Fixes an issue where subtasks of setup task are performed in wrong order
- Modifies printed comments in the Rakefile
1.0.8 : February 15, 2013
- Adds Vagrant support. Now you are free from preparing get-started app environment
- Adds the setup helper script
- Adds MOAT js helper script to create a zip package and to perform unit tests
1.0.7 : February 12, 2013
- Fixes an issue where OpenJDK fails to compile simple-example-android module because of OpenJDK specific issue (http://stackoverflow.com/a/9590042)
1.0.6 : January 27, 2013
- Fixes an issue where authentication info isn't retained in static scope but in instance scope of MOAT REST ActiveResource models (Rails App)
1.0.5 : January 26, 2013
- Fixes an issue where authentication token is always missing when DELETE method to /sys/auth object is issued (Rails App)
- Fixes an issue where a resource type attribute is not retrieved because of missing 'f' parameter for specifying the attribute (Rails App)
- Fixes an issue where get/put/post/delete cannot be attribute accessors as they are already defined in activeresource/lib/active_resource/custom_methods.rb (Rails App)
- Fixes an issue where the image URL is obtained via an Image object itself rather than the 'get' property of the Image object (Rails App)
1.0.4 : January 16, 2013
- Fixes an issue where a Moat instance is not shutdown on MoatIoTService is destroyed
1.0.3 : January 13, 2013
- Fixes the wrong license term in a file
- Fixes a bug where the wrong number of objects to be saved is counted in a server side script
- Fixes the wrong README description regarding library dependency in the Android app
- Updates Rails to 3.2.11 for the security fix
1.0.2 : January 9, 2013
- This README.md is updated
1.0.1 : January 9, 2013
- Removes debug codes
- Adds README.md to each application to describe
- Updates this doc
- Applies format changes to package.json
- Removes the dependency to inventit-dmc-api
1.0.0 : January 5, 2013
- Initial Release.