Skip to content
Application to collect and analyse irrigation data to reduce water wastage
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
libs Message Bug Fix Mar 31, 2018
static Gulp, sass and browsify added Nov 29, 2018
templates Success 1 Mar 31, 2018
tests
.gitattributes Create .gitattributes Feb 27, 2019
.gitignore npm added Nov 29, 2018
Pipfile
Pipfile.lock Chloropleth Mar 30, 2018
Procfile First Commit Mar 22, 2018
README.md Update README.md Jan 4, 2019
analysis.py Web Portal Authentication Mar 31, 2018
api.py API Mar 31, 2018
app.py New DB Changes Mar 26, 2018
config.py Modularization v1 Mar 22, 2018
gulpfile.js Gulp, sass and browsify added Nov 29, 2018
models.sql Bug Fix - Feed Farm Details Query Mar 27, 2018
npm-debug.log Gulp, sass and browsify added Nov 29, 2018
package-lock.json
package.json Update package.json Dec 1, 2018
views.py

README.md

TellMe

Application to collect and analyze Irrigation Data.

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.

Version

0.5

Usage

Clone

Clone the Project

$ git clone https://github.com/JitendraNirnejak/TellMe.git
$ cd TellMe

Installation

Install the dependencies (flask, psycopg etc.)

$ pipenv install

Run

This will start the server

$ python app.py

API Endpoints:

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"
	}
You can’t perform that action at this time.