Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.52 KB

README.md

File metadata and controls

46 lines (31 loc) · 1.52 KB

Devicer

Introduction

So what's a "Devicer"? This is a small application that will be available to get data from sensors of different devices.

For example, you have a device that has "Thermometer" sensor, that measures room temperature and "Hygrometer" sensor that measures room humidity.

And you want to get the data from the device every second and show it to the user as a dataset and realtime.

That's why we will create a devicer. This will be a combine of microservices that will include:

  • Basic micro-services with REST API
  • MQTT receiver to get data from devices
  • Websocket server to show real-time data
  • Frontend application based on ReactJS

Stack

In this tutorial we will use:

Command shortcusts

Frequent CLI commands:

run development server: npm run start:dev

generate new migrations with %migration_name% name: npm run migrations:generate -- src/migrations/%migration_name%

run migrations: npm run migrations:run

run end-to-end tests: npm run test:e2e