Skip to content

Latest commit

 

History

History
134 lines (74 loc) · 3.33 KB

README.md

File metadata and controls

134 lines (74 loc) · 3.33 KB

React JS Material UI Bootstrap

Paddy Leaf Disease Detection System

Paddy Leaf Disease Detection System (PLDDS) is web application made to help farmers identify leaf diseases in their paddy crop.

ForTheBadge made-with-javascript

The master branch has code for React app and the backend branch has code for flask web server.

React App

[TOC]

Installation

Make sure you have node v12.x and npm installed.

If you have yarn installed, install the dependencies using it:

yarn install

or with npm:

npm install

Usage

yarn start

or with npm:

npm start

Establishing connection with the backend server

Initially the app is connected to a backend flask server hosted on heroku.

If you want to wire the backend to the local flask server setup by yourself from the backend code, you may modify the localhost value in host object to the ip address of the backend flask server.

Check the backend branch in this repo for more information on how to set up flask server.

./src/backendapi.js

import Axios from 'axios'
const host = {
    heroku: "//pldds-beta.herokuapp.com",
    localhost: "//Your local pldds backend flask server's IP Address or 127.0.0.1:5000(localhost)"
}
export default Axios.create({
    baseURL:host.heroku //change this to localhost
})

Creating production build

To create a production build of this React app, you may run:

yarn build

or with npm:

npm build

You will find the build folder generated in the project directory.

Serving the production build

To serve the production build of the app locally,

Install serve from npm:

yarn global add serve

or

npm -g i serve

and run:

serve ./build

Project Status

This project is no longer maintained.

If you 👍 this project, feel free to give it a ⭐

Authors

Joel Fintan Joel Fintan

Mahesh Chandran Mahesh Chandran G

Aldrin Alfred Aldrin Geo Alfred


ForTheBadge built-with-love ForTheBadge contains-technicaldebt ForTheBadge made-with-javascript