Coder Social home page Coder Social logo

hotel-iot-backend's Introduction

Hotel app fueled by IoT

This is the backend for a Hotel mobile app fueled by IoT. The backend provides connectivity to IoT sensors, the hotel reservation database and a node application that serves a mobile app, and web app dashboard.

You can learn more about it here:

https://vimeo.com/181085292

Setting up ...
  • Clone, or fork the repo
  • From the repo directory - type npm install ( to install node dependencies )
  • You'll need a mongo database. I use http://compose.io, which is lovely to work with
  • create a 'config' folder
  • in the config folder place the following config.js file for the database config
module.exports = {
    'url': 'mongodb://<username>:<password>@mongodb352.aws-us-east-1-portal.21.dblayer.com:10352/cielo' 
};
  • add a Watson IoT service pack to your Bluemix app *
  • in the config folder place the following iot.js file for the iot config
module.exports = {
    "org": "<unique org id>",
    // ID has to be unique, https://docs.internetofthings.ibmcloud.com/applications/mqtt.html#/mqtt-client-identifier#mqtt-client-identifier
    "id": Date.now().toString(),
    "auth-method": "apikey",
    "auth-key": "<unique key>",
    "auth-token": "<unique token>"
}
Hardware

The app uses an Intel NUC:

http://www.intel.com/content/www/us/en/nuc/nuc-kit-de3815tykhe-board-de3815tybe.html

and an Arduino 101 board:

https://www.arduino.cc/en/Main/ArduinoBoard101

and Grove sensors:

https://www.seeedstudio.com/Grove-Indoor-Environment-Kit-for-Intel-Edison-p-2427.html

More to come!

hotel-iot-backend's People

Contributors

antonmc avatar lindsay-ibm avatar scribblets avatar

Watchers

James Drew 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.