https://github.com/nirnejak/tellme
Application to collect and analyze irrigation data to reduce water waste
https://github.com/nirnejak/tellme
analytics flask insights irrigation-data postgres python
Last synced: about 1 year ago
JSON representation
Application to collect and analyze irrigation data to reduce water waste
- Host: GitHub
- URL: https://github.com/nirnejak/tellme
- Owner: nirnejak
- Created: 2018-09-21T07:46:42.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-02-04T18:07:48.000Z (over 3 years ago)
- Last Synced: 2025-04-13T13:05:59.445Z (about 1 year ago)
- Topics: analytics, flask, insights, irrigation-data, postgres, python
- Language: Python
- Homepage:
- Size: 2.37 MB
- Stars: 5
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TellMe
Application to collect and analyze Irrigation Data.
## Demo
[Demo Link](https://quiet-sierra-48529.herokuapp.com)
**Username:** `111111111111`
**Password:** `demo1234`
## About
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
```sh
$ git clone https://github.com/JitendraNirnejak/TellMe.git
$ cd TellMe
```
### Installation
Install the dependencies (flask, psycopg etc.)
```sh
$ pipenv install
```
### Run
This will start the server
```sh
$ python app.py
```
## API Endpoints:
POST the given data in JSON format
**/api/getOTP :**
```sh
{
"aadharID": ""
}
```
**/api/verifyOTP :**
```sh
{
"aadharID":"",
"OTP":""
}
```
**/api/register :**
```sh
{
"aadharID":"",
"password":"",
"contactNo":"",
"name":""
}
```
**/api/login :**
```sh
{
"aadharID":"",
"password":""
}
```
**/api/checkNotification :**
```sh
{
"aadharID":"",
}
```
**/api/feedFarmData :**
```sh
{
"aadharID":"",
"farmName":"",
"longitude":"",
"latitude":"",
"state":"",
"district":"",
"city":"",
"landArea":"",
"groundWaterLevel":"",
"soilType":""
}
```
**/api/getFarmList :**
```sh
{
"aadharID":""
}
```
**/api/feedCropData :**
```sh
{
"aadharID":""
}
```
**/api/getCropList :**
```sh
{
"aadharID":""
}
```
**/api/feedIrrigationData :**
```sh
{
"aadharID":""
}
```
**Common Format of Response :**
```sh
{
"status":"success"
}
```
```sh
{
"status" : "failed",
"message" : "Something went wrong"
}
```