Code Monkey home page Code Monkey logo

raspberrypi-appengine-portal's Introduction

Real Time Dashboard App

A Java based, [Google App Engine] (https://developers.google.com/appengine) real time dashboard application that uses Cloud Endpoint and the Channel API. The dashboard receives sensor data from a Raspberry Pi Zero running a Cloud Endpoint client application.

Alt text

Live Demo

Overall Architecture

Alt text

Documentation

Prerequisites

Alt text

Setup Instructions

  1. Checkout the project git clone https://github.com/omerio/raspberrypi-appengine-portal.git

  2. Update the value of app.id & app.version in pom.xml to the app ID you have registered in the App Engine admin console and would like to use to host your instance of this sample.

  3. Update the values in src/main/java/uk/co/inetria/pi/endpoint/Constants.java to reflect the respective client IDs you have registered in the APIs Console. Update the EMAIL_ADDRESS field with the Google Account you are going to use to authenticate the Raspberry Pi App.

  4. Build the application using mvn clean install

  5. Run the application with mvn appengine:devserver, and ensure it's running by visiting your local server's api explorer's address (by default localhost:8080/_ah/api/explorer.)

  6. (Optional) Get the client library with

    $ mvnappengine:endpoints_get_client_lib

    It will generate a client library jar file under the target/endpoints-client-libs/<api-name>/target directory of your project, as well as install the artifact into your local maven repository.

  7. Deploy your application to Google App Engine with

    $ mvn appengine:update

raspberrypi-appengine-portal's People

Contributors

omerio avatar

Watchers

James Cloos avatar Sunil Padmanabhan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.