Application to collect and analyze Irrigation Data.
Username: 111111111111
Password: demo1234
It's an application to collect and analyze the irrigation data to reduce water wastage. It solves the problem in three major steps. Collect. Analyze. Connect.
Collect - It starts with the collection of the data. The Irrigation data can be collected with the help of Mobile Application. It is stored in OLTP Database. Both communicate with the help of REST APIs.
Analyze - In this phase the collected data is then migrated to OLAP Database. After the migration the data can be exported in the desired format to analyze. The administrators can export the data from the Web Portal. After that, they can analyze the data with the help of advance tools and get the insights.
Connect - The insights and relevant information can be shared with the farmers and irrigation authorities.
0.5
Clone the Project
$ git clone https://github.com/JitendraNirnejak/TellMe.git
$ cd TellMe
Install the dependencies (flask, psycopg etc.)
$ pipenv install
This will start the server
$ python app.py
POST the given data in JSON format
/api/getOTP :
{
"aadharID": ""
}
/api/verifyOTP :
{
"aadharID":"",
"OTP":""
}
/api/register :
{
"aadharID":"",
"password":"",
"contactNo":"",
"name":""
}
/api/login :
{
"aadharID":"",
"password":""
}
/api/checkNotification :
{
"aadharID":"",
}
/api/feedFarmData :
{
"aadharID":"",
"farmName":"",
"longitude":"",
"latitude":"",
"state":"",
"district":"",
"city":"",
"landArea":"",
"groundWaterLevel":"",
"soilType":""
}
/api/getFarmList :
{
"aadharID":""
}
/api/feedCropData :
{
"aadharID":""
}
/api/getCropList :
{
"aadharID":""
}
/api/feedIrrigationData :
{
"aadharID":""
}
Common Format of Response :
{
"status":"success"
}
{
"status" : "failed",
"message" : "Something went wrong"
}