Commit 14a218fd authored by Miguel's avatar Miguel
Browse files

Update README.md

parent f3afa31a
# efpftempapp
This application is a sample that aims to show that is possible to develop an application using SDK through frontend editor
## Frontend
![image.png](./screenshot.png)
## API
### database - creates the database schema
### listener - receives and stores samples collected from the broker in the database
### gelAllSamples - generates a response with the last 30 samples stored in the database
```
{
"list_of_rows":[
{
"id":"37",
"timestamp":"2022-06-02 14:34:40.285",
"sensor":"efpftempsensor",
"temperature":"48"
},
{
"id":"36",
"timestamp":"2022-06-02 14:32:40.283",
"sensor":"efpftempsensor",
"temperature":"59"
},
{
"id":"35",
"timestamp":"2022-06-02 14:30:40.281",
"sensor":"efpftempsensor",
"temperature":"26"
},
{
"id":"34",
"timestamp":"2022-06-02 14:28:40.279",
"sensor":"efpftempsensor",
"temperature":"47"
},
{
"id":"33",
"timestamp":"2022-06-02 14:26:40.277",
"sensor":"efpftempsensor",
"temperature":"22"
},
{
"id":"32",
"timestamp":"2022-06-02 14:24:40.276",
"sensor":"efpftempsensor",
"temperature":"34"
},
{
"id":"31",
"timestamp":"2022-06-02 14:22:40.274",
"sensor":"efpftempsensor",
"temperature":"26"
},
],
"error":{
"code":null,
"message":null
}
}
```
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment