We wanted to create a page where students will be able to share their own recipes. Our aim was to make that page look clear and readable.
So, we made a page where all variables included in recipe are divided. There are separated fields for: ingredients, instructions, title, photo and author. Thanks to it recipes on our page are easier to read.
- First you need to install Python 3.6.2
- Next install Django by writing in your terminal: $ pip install Django==1.11.4
- Install django-extensions by writing: $ pip install django-extensions
- $ python manage.py runserver
- enter ip address and port number in your browser
Our project is based on Django - the Web framework.
For every part of recipe we have different class model. Every model is somehow related to another. Most of relations are ManyToMany relations.
As you can see on first image in Readme, we have got recipe-matcher which finds recipes with chosen ingredients. It returns a list of recipes sorted by the amount of matching ingredients.
Search-field and ingredient-field(in add-recipe form) are using jQuery autocomplete to suggest to user already existing recipes/ingredients.
We have prepared likes functionality, to create ranking of active users.