Giter VIP home page Giter VIP logo

flexwhere's Introduction

DutchView FlexwherePI Gateway Access Portal

Installation

To start development

Startup your favorite editor. To start the backend simply install its depencies with npm install in the respective folder (./backend, ./frontend) and then press npm start to start the express application. Same process needs to be repeated for the front-end.

PS: BACKEND NEEDS TO RUN AT PORT 3000;

Back-end API calls

POST http://localhost:3000/configurations

    Saves a JSON configuration in `./models/data.json`

GET http://localhost:3000/configurations

    Gets a JSON configuration in `./models/data.json`

Requirements

  • NPM 5+
  • NodeJS LTS

License

DutchView software, and may be redistributed under the terms specified in their LICENSE file.

Demo data

This might come in handy for use with PostMan to reset the data.

{
 "ipAddressPi": "127.0.0.8",
 "orgId": "FlexWhere Company",
 "pods": [
   {
     "podId": 1,
     "podType": "Philips Proximity Sensor",
     "podSensitivity": 5,
     "podIpAddress": "192.178.1.124",
     "podMacAddress": "00:00:00:00:22"
   },
   {
     "podId": 2,
     "podType": "Philips Proximity Sensor",
     "podSensitivity": 2,
     "podIpAddress": "192.178.1.235",
     "podMacAddress": "00:00:00:00:33"
   },
   {
     "podId": 3,
     "podType": "Philips Proximity Sensor",
     "podSensitivity": 5,
     "podIpAddress": "192.178.1.3",
     "podMacAddress": "00:00:00:00:44"
   },
   {
     "podId": 4,
     "podType": "Philips Proximity Sensor",
     "podSensitivity": 5,
     "podIpAddress": "192.178.1.140",
     "podMacAddress": "00:00:00:00:44"
   }
 ]
}

flexwhere's People

Watchers

Bram Leffers 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.