Skip to content

Ngazetungue/farmino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The system has the ability to

  • Ability to login as an admin and login as a new user member
  • Ability to register new users
  • Ability to allow the Farmer can register their livestock into the system
  • Ability to log out
  • Ability to calculate the cost of each livestock
  • Ability to do some logic operation
  • Implementation of pagination for all the list views across the application.
  • Ability to calculate the Bill of the farmer
  • Ability to calculate farmer discount if they register more than five livestocks

Features to be added soon

  • More and complex business logic will be written.
  • Use FBV and decorator , Currently i use CBV and LoginRequiredMixin
  • Authorisation and Cache
  • Ability to search
  • calculate all listed billing of farmers together
  • Ability to send message to the farmer with email i.e sendgrid and twilio for mobile.I want to include third-party apis
  • Nofification bell will be added next to logout to show upcoming notification to the staff/administrators

#Prerequisites

  • Use requirements.txt file to install all required packages
  • Any Editor (Preferably VS Code or Sublime Text)
  • Any web browser with latest version

Languages and Technologies used

  • HTML5/CSS3
  • Bootstrap (An HTML, CSS, and JS library)
  • Django, Python
  • Sqlite

Steps to run the project in your machine

  • python -m venv venv
  • source venv/bin/activate
  • pip install -r requirements.txt
  • python manage.py makemigrations users (first )
  • python manage.py migrate users
  • python manage.py makemigrations farmer
  • python manage.py migrate farmer
  • python manager.py createsuperuser
  • python manage.py runserver

GETTING INTO THE PROJECT:

  • Livestock registration systems in Python and Django This system has a ‘Login’ page from where the administrator can login into their accounts . Fig 1.1 shows the ‘Login’ page of our project.

Screenshot 2022-10-14 at 2 32 50 PM

  • This system has a ‘Signup’ page from which the user can register into the system . Fig 1.2 shows the ‘Signup’ page of our project.

Screenshot 2022-10-14 at 2 34 29 PM

  • This system has a "Register" page from which farmers can register their livestock.
    Fig 1.3 shows the "Register livestock’ page of our project.

Screenshot 2022-10-14 at 2 33 13 PM

#The ‘Home’ page consists of 3 modules:

  1. Information interface
  2. List of Farmer list
  3. Billing
  • Information interface This module shows the total number of register farmers and thier bills

Screenshot 2022-10-14 at 5 59 19 PM

  • list of Farmer module This module contains the list of the farmers that register their livestock and also the number of their livestock.

Screenshot 2022-10-14 at 5 59 47 PM

  • Billing module This module contains all the necessary information about the farmer, and this is the fig that display the business logic happening in backend (models files). The discount is given to the farmers once they register more than five livestock; otherwise, they won’t get a discount.Screenshot 2022-10-14 at 6 00 11 PM

About

The liverstock registration portal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published