Giter VIP home page Giter VIP logo

m2m-exam's Introduction

Machine to Machine - Exam

Project ๐Ÿ“

This years exam of the course Machine to Machine communcation was about biometric. The exam was about creating a embedded solution for a company that was monotoring people while they were watching a tv pilot show. We had to use a heart monitor sensor (Max30102) to monitor the viewers bpm and then display this data and also saving it for Data Science purpose. This years assignment was pretty much open for us to solve. I decided to solve this exam with creating a webpage that could display live data of temprature, movement and bpm. Using MQTT protocol I transfered data from the embedded solution to my webpage.

This project is created with following programming languages/frameworks/protocols/database

  • Node.JS
  • React.JS
  • Redux
  • MongoDB
  • MQTT protocol

Libraries ๐Ÿ“š

Main libraries that has been used in this project.

  • Mqtt.js
  • Socketio
  • react-chartjs-2
  • react-sparklines
  • Express

Cloud platforms โ˜๏ธ

  • MLab
  • Heroku

How to start the project?

  • First thing we need to do is to download all of the packages/libaries we need in our Server and Client. Please open up your terminal and direct in to the project folder. and then write the following:
npm install

Procede to the Client folder and do the same thing there aswell

  • When you have now downloaded the packages for the client and the server. You will have to now start the program. Write the following command in your terminal to start both Server and Client at the same time.
npm run dev

Now you should be able to start the probject and now interact with the page.

Ports

  • Server, Nodejs is running on port 5000
  • Client, Reactjs is running on port 8080

Changing the port on the Client is not a problem. You can easily do this through the package.json in Client folder. and change the start script to the port of your choice.

Changing the port Server is little bit more complex. Follow these steps and you have changed the port.

  • Server.js start listening on port of your choice
  • Go to package.json in Client folder and change the proxy object to the localhost:PORTOFYOURCHOICE

m2m-exam's People

Contributors

kbsa00 avatar

Watchers

 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.