nazt / digital-twin-graphql

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Digital Twin Made with Android Device -> MQTT-> Hasura -> ReactJS + ThreeJS Dashboard

Demo

DEMO.mov

Pre Requisites

  • A Hasura cloud project or a local Hasura GraphQL instance (Sign up on https://cloud.hasura.io/ to get a free Hasura project and PostgreSQL DB)
  • An Android Device and a toy car
  • Node JS, Yarn/ NPM

Setting up the toy car

Attach an android device in one of the option as shown below

Getting Started

To Run the MQTT to Hasura service

npm run connect
# or
yarn connect

To run the React dev server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

About


Languages

Language:JavaScript 97.4%Language:CSS 1.4%Language:TypeScript 1.2%Language:Shell 0.1%