This is hosted site for the food computer, storing temperature and humidity data on MongoDB and images in an AWS bucket. Moreover, the server loads the dashboard, allowing a gardener to view the their plants anywhere.
1.) docker-compose up --build
Requests are served from 8002
1.) Install and run MongoDB.
2.) npm install
or yarn
3.) npm start
or yarn start
Requests are served from 8002
Payload:
{
id
createdAt
uri
}
Form-Data:
Key | Value |
---|---|
image | /path/to/image |
createdAt | '2018-06-23T03:01:00.000Z' |
Payload:
{
id
createdAt
uri
}
Payload:
{
id
createdAt
value
}
Body:
{
temperature: {
createdAt
value
}
}
Payload:
{
id
createdAt
value
}
Body:
{
humidity: {
createdAt
value
}
}