Giter Site home page Giter Site logo

animal_pairing's People

Contributors

dependabot[bot] avatar mmlado avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

andor123

animal_pairing's Issues

List animals

Create a page containing a list of entered animals. Create filters for each of the fields.
Page also contains link to create new animal, and each entry option to view, update and delete the animal.

Validate animal inputs

Run the animal through validation.

  • father is male
  • mother is female
  • father and mother are older

Delete animal

Add a function to "delete" the animal. Only delete those animals from database that are not connected by parent relationship to other animals or the animal is 7 levels separated from an active offspring. This is needed for future calculations.

Add python requirements

It would be nice if python virtual environment packages could be installed simply.

A file requirements.txt that can be ues to install packages using pip.

Update README.md file with a list of required packages.

Create database for keeping animals

Create database table and migrations to keep animals.
Unique identifier needs to be name and dob (day of birth). Also keep track of mother and father, whose animal it is and is it active in breading.

Update animal page

Create a page that will load the given animal for making corrections to it. The ancestors are fixed and can't be changed, exception is entering new ancestors if they're missing from the database. Only selected animals data can be manipulated.

Add base localization

Setup the application that all it's strings are translated into English.
Further languages to be added later.

Animal form

Create a form for creating and updating animals. The form should allow the user to enter the family tree of the animal, to 3 levels: animal, parents, grandparents, great-grandparents.
The whole form should be done in a form of a tree. Each animal has fields for name, dob and if the user owns it. Only the main entered animal can have a gender as the form should make it distinct if the entered animal is the mother or father of their child.
When typing a name allow the user to select from a dropdown from already entered animals. In case one is selected all it's ancestors fields should be filled out with the correct data, and the fields should be closed from further manipulation. When a parent is not present in database, the corresponding fields should stay editable, and the animals in those fields should be added to the database with updating the child animal.
Only the main animal will have status of active.

  • Basic form
  • Validator

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.