This is a RestFull API made in NODE.JS design to response all questions about: When is a good time to planting.
This project was developed to cover the needs for the development of a software analysis plantation for the subject of Software Engineering at UFRGS.
- Predict Planting
- POA Weather
- POA Weather Forecast
- POA UV
- POA Soil
Input:
{
"weatherId": "Rain",
"forecastId": "Clouds",
"soilMoisture": "10",
"soilT0": "18",
"soilT10": "15",
"temperature": "27",
"ph": "6",
"luminosity":"10",
"humidity":"87",
"pluviometric":"120",
"cloudness":"30",
"pressure":"1000",
}
Return:
{
"resultado": "73" // Options: Number 0-100
}
Open your favorite Terminal and run these commands.
$ git clone
$ npm install
$ npm start
Once done, the API will be listening on port 3000