Skip to content

Bangkit-Capstone-C23-PC639/tanitama-backend

 
 

Repository files navigation

Tanitama Logo

About TaniTama

Tanitama is an innovative application specifically developed to help farmers and agricultural enthusiasts identify diseases affecting rice plants. Our app aims to revolutionize the way farmers approach plant health monitoring and disease management, providing timely and accurate insights for maximizing crop productivity.

Our Mission

Tanitama's mission is to empower rice farmers with the necessary tools to combat diseases effectively, reduce crop losses, and promote sustainable agriculture practices. By harnessing the power of AI and providing accessible information, we aim to support farmers in achieving higher yields, increased profitability, and a healthier environment.

Key Features:

  • Disease Detection

    Users can simply capture photos of the affected plants using their smartphones and upload them to the app. The AI algorithm then compares the images with an extensive database of known rice plant diseases, instantly providing a diagnosis with a high level of accuracy.

  • Disease Library

    Tanitama boasts an extensive library of rice plant diseases, complete with detailed descriptions, images, and recommended treatments. By accessing this comprehensive resource, farmers can gain a deeper understanding of specific diseases affecting their crops, enabling them to make informed decisions about disease prevention and management strategies.

  • Community Platform

    Connect and learn from community of farmers within the Tanitama app. Share experiences, seek advice, and engage in discussions to foster knowledge exchange and stay up to date with the latest advancements in rice plant disease management.


API Documentation

https://documenter.getpostman.com/view/27591227/2s93m5zM6W

How to run this project on your local machine

This project uses Laravel as the framework, before you can run tanitama-backend project in your local machine, you should ensure that your local machine has PHP and Composer installed.

1. Clone the repo

  • Open your terminal or command prompt.
  • Navigate to the directory where you want to store the project.
  • Use the git clone command followed by the repository's URL. For example:
    git clone https://github.com/grevalby/tanitama-backend.git

2. Install Dependencies

  • Navigate to the project's directory
    cd tanitama-backend
  • Once inside the project's directory, use a package manager like Composer to install the project's dependencies. Run the following command:
    composer install
    This command will download and install all the required PHP packages specified in the project's 'composer.json' file.

3. Create the Environment File

  • Laravel requires an environment file to store configuration settings.
  • Copy the '.env.example' file in the project's root directory and rename it to '.env' :
    cp .env.example .env
  • Customize the settings in the '.env' file, such as the database connection details.

4. Generate an Application Key

  • The Laravel framework uses an application key for encryption and other security purposes.
  • Generate an application key using the 'artisan' command:
     php artisan key:generate

5. Run Database Migrations

  • Laravel uses migrations to manage the database schema.
  • Run the following command to execute the migrations and create the necessary tables in the database:
      php artisan migrate

6. Serve the Application

  • You can use Laravel's built-in development server to run the application locally.
  • Start the server by running the following command:
      php artisan serve
  • The application should now be running at http://localhost:8000 by default.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 58.5%
  • CSS 27.3%
  • SCSS 9.4%
  • PHP 3.3%
  • Blade 1.3%
  • HTML 0.2%