Skip to content

iot-thermometer/server

Repository files navigation

IoT server

HTTP REST API Specification

POST /api/auth/login
{
    "email": "",
    "password": ""
}
POST /api/auth/register
{
    "email": "",
    "password": ""
}
GET /api/devices
POST /api/devices
{
    "name": ""
}
PUT /api/devices/:id
{
    "name": ""
}
DELETE /api/devices/:id
GET /api/devices/:id/readings

MQTT message:

{
    "device_id": 1,
    "type": "TEMPERATURE",
    "value": 0,
    "time": 1696699342
}

MQTT topic: sensors

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages