Code Monkey home page Code Monkey logo

devicehive-admin-console's Introduction

DeviceHive Admin Console

This is JavaScript Admin console for managing DeviceHive api server. For more information please see corresponding documentation.

About DeviceHive

DeviceHive turns any connected device into the part of Internet of Things. It provides the communication layer, control software and multi-platform libraries to bootstrap development of smart energy, home automation, remote sensing, telemetry, remote control and monitoring software and much more. Connect embedded Linux using Python or C++ libraries and JSON protocol or connect AVR, Microchip devices using lightweight C libraries and BINARY protocol. Develop client applications using HTML5/JavaScript, iOS and Android libraries. For solutions involving gateways, there is also gateway middleware that allows to interface with devices connected to it. Leave communications to DeviceHive and focus on actual product and innovation.

Usage

Admin Console is a single page application and can be hosted as a set of static files as a part of any other website.

For example, the Admin Console can be served by nginx by adding the following config to 'nginx.conf' (replace $ADMIN_CONSOLE_LOCATION and $JAVA_SERVER_API_URL with real values)

server {
 
     listen       8081;
     access_log   logs/access.log;
     error_log    logs/error-server.log debug;
 
     location /admin {
         sendfile on;
         root $ADMIN_CONSOLE_LOCATION;
         index index.html;
     }

     location /api/ {
         proxy_redirect off;
         proxy_pass $JAVA_SERVER_API_URL;
         proxy_set_header Host $host;
         proxy_set_header X-Real-IP $remote_addr;
         proxy_http_version 1.1;
         proxy_set_header Upgrade $http_upgrade;
         proxy_set_header Connection "upgrade";
     }
}

Then, open scripts/config.js and change the restEndpoint to the location of your DeviceHive Server.

DeviceHive license

DeviceHive is developed by DataArt Apps and distributed under Open Source Apache 2.0. This basically means you can do whatever you want with the software as long as the copyright notice is included. This also means you don't have to contribute the end product or modified sources back to Open Source, but if you feel like sharing, you are highly encouraged to do so!

© Copyright 2015-2017 DataArt Apps © All Rights Reserved

devicehive-admin-console's People

Contributors

amedviediev avatar apanevin avatar demon-xxi avatar dgrudzynskyi avatar dmitryanansky avatar imlvts avatar jkulagina avatar mshatalov avatar mykytaliashenko avatar natalia-chikina avatar nikolay-kha avatar ogumennyi avatar sitnik avatar sorjef avatar tmatvienko avatar uazure avatar vyrostkov avatar yuryoff avatar zubrabubra avatar

Watchers

 avatar  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.