Skip to content

Using Laravel to create a Web app for farmers to get advice from advisors.

Notifications You must be signed in to change notification settings

b14ck0ps/FarmersAssistant

Repository files navigation

Farmers Assistant Project

The Farmers Assistant project is a web application built using Laravel and Tailwind CSS. It provides a platform for farmers, admins, and advisors to interact and facilitate farming-related activities. Users can register, login, and perform specific actions based on their roles.

Features

  1. User Roles

    • Admin: Responsible for managing the application, including adding/removing advisors and setting subscription prices.
    • Farmer: Can register, login, and purchase agricultural products from the platform.
    • Advisor: Can register, login, and provide assistance to subscribed farmers via email.
  2. Registration and Login

    • All users (Admin, Farmer, Advisor) can register and log in to access their respective functionalities.
  3. Product Purchase

    • Farmers can browse and purchase various agricultural products available on the platform.
  4. Subscription System

    • Farmers can choose to subscribe to the platform by paying a subscription fee.
    • Subscribing farmers get access to additional features, including assistance from advisors through email.
    • Admins can manage subscriptions, set subscription prices, and view subscribed farmers.
  5. Discounts

    • Subscribed farmers receive discounts on agricultural products.

Demo

Login as Farmer

order

Mail

profile edit

Installation

To set up the Farmers Assistant project locally, follow these steps:

  1. Clone the repository from GitHub.
git clone <repository-url>
  1. Install the required dependencies using Composer.
composer install
  1. Create a .env file from the .env.example file and update the database and other configuration settings as required.

  2. Generate a new application key.

php artisan key:generate
  1. Run the database migrations to set up the necessary database tables.
php artisan migrate
  1. Seed the database (if required) with initial data such as admin credentials, advisor details, etc.
php artisan db:seed
  1. Compile the frontend assets using pnpm (assuming Node.js is already installed).
pnpm install
pnpm  dev
  1. Start the development server.
php artisan serve
  1. Access the application in your browser by visiting the URL displayed in the terminal.

About

Using Laravel to create a Web app for farmers to get advice from advisors.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages