Skip to content

AbishekPerera/Central-Agroz-Economic-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

Central-Agroz-Economic-System

This web application aims to address the challenges faced by the agricultural sector in Sri Lanka. It provides a centralized platform that connects farmers, agricultural officers, and economic center management officers, facilitating efficient communication and coordination. The system aims to establish an accurate database for the government, create new business opportunities for farmers, and track the sales of crops received at economic centers. By utilizing the MERN (MongoDB, Express.js, React.js, Node.js) stack, this application offers a user-friendly interface and robust functionality.

Setup Instructions

Follow these step-by-step instructions to set up the Agriculture Management System on your local machine:

Prerequisites

  • Node.js
  • MongoDB
  • Installation

    1. Clone the repository to your local machine using the following command:
    git clone <repository_url>
    
    
    1. Navigate to the project directory:
    cd agriculture-management-system
    
    
    1. Install the dependencies:

      //cd backend
      npm install
      
      
      //cd frontend
      npm install
      
      
    2. Configuration:

  • Create a .env file in the server directory.
  • Set the following environment variables in the .env file:
  • MONGODB_URL = mongodb://localhost:27017/agriculture-management-system
    PORT = 8085
    JWT_SECRET_KEY ="MyKey"
    
    1. Run the application:
    //cd backend
    npm run dev
    
    
    //cd frontend
    npm start
    
    
    1. Open the application in your browser:
    http://localhost:3000/
    
    

    Features

  • Super Admin
  • Register economic centers and the people in charge.
  • Register agricultural officers.
  • Update, view, and delete profiles of authorities.
  • Agricultural Officer
  • Register farmers and update their details.
  • Manage fertilizer distribution.
  • Keep track of harvested quantities for each crop.
  • Generate reports related to farmers and fertilizers.
  • Farmer
  • Register with the system through an agricultural officer.
  • Maintain a profile and advertise crops.
  • Receive direct orders from customers.
  • Post requirements for fertilizers and tools.
  • Economic Center Management Officer
  • Manage stock details of items brought to the economic center.
  • Set and update daily buying and selling prices.
  • Generate reports and search stock details.
  • Conclusion

    The Agriculture Management System provides a comprehensive solution for the agricultural sector in Sri Lanka. By connecting farmers, agricultural officers, and economic center management officers, it aims to improve coordination, facilitate business opportunities, and reduce food wastage. The MERN stack ensures a robust and user-friendly web application that contributes to the country's economy, food security, and sustainable growth in the agricultural sector.

    Contributors

  • Perera A.S.A it21013096
  • Ranasinghe H.R.A.L.N it21022838
  • Mayadunna J. B it21026898
  • Udunuwara U.K.C it21018282
  • Hosted Link

    https://64685669c369835a1c029c80--jovial-taffy-79d888.netlify.app/

    screenshots

    image

    About

    No description, website, or topics provided.

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published