duongnln96 / care-pet

Care Pet IoT ScyllaDB example

Home Page:https://care-pet.docs.scylladb.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ScyllaDB IoT example

This example project demonstrates a generic IoT use case for ScyllaDB.

The application allows tracking of pets' health indicators and consists of 3 parts:

  • a collar that reads and pushes sensors data
  • a web app for reading and analyzing the pets' data
  • a database migration tool

Read the Documentation for the Care-Pet Example

Quick Start

Language-specific implementation resides in the corresponding folder:

The project uses docker-compose to provide the simplest local deployment of the ScyllaDB database cluster.

Architecture

Pet -> Sensors -> Collar -> ScyllaDB <---- WebApp <- User
                               ^             |
                               \-aggregation-/

In this simple example, a Collar generates sensors data once a second and sends it directly to the database.

Pet owners, sensors, and measurement data can be accessed via the REST API web server. It also implements the lazy-evaluation of the data aggregates.

Links

About

Care Pet IoT ScyllaDB example

https://care-pet.docs.scylladb.com/

License:Apache License 2.0


Languages

Language:JavaScript 48.0%Language:Go 10.7%Language:Rust 9.5%Language:Java 8.6%Language:PHP 8.2%Language:TypeScript 6.5%Language:SCSS 2.5%Language:Python 2.3%Language:HTML 2.2%Language:Dockerfile 0.5%Language:HCL 0.5%Language:Shell 0.4%Language:CSS 0.0%