Skip to content

Pennelli02/Django_PPM

Repository files navigation

RECIPE SHARING WEBSITE

It is a project about a recipe sharing website using the framework django.

It is very simple because it is focused on backend using the framework django

Implements:

  • user register/login/logout logic and templates
  • add recipe logic/template mixed with add ingredients logic/template so it is more realistic
  • possibility to save recipes and a logic to count how much ppeople save it and displa this number
  • a function to manage the images (resize and default image)
  • search recipes by title
  • user friendly urs using the slug on recipes and categories

User can search and see the details about recipes without do the login, but if you register/login User can write recipes, save it on his favourites and take a look on them When an user create a recipe have to choose an image (if not there is a default image), a title, description, the istructions, the category (is a manytomany relationship so he can choose more than one and there are already in the website added by the admins) and other feature. User can add/remove like and save/remove it on his profile thanks to a button. Admin and staff can delete any recipes whitout being the author. We can see all the categories and from them we can see all the recipes associated with the category. For interface it is used bootstrap.

Riscontrato alcuni problemi dopo il deployment nella visualizzazione delle immagini e certe funzioni di bootstrap estetiche. Vengono salvate nel database, ma il sito non riesce a mostrarle (cosa che non accadeva prima del deployment)
Per mostrare immagini dal media su render è necessario l'installazione di un boto3 --> pip install boto3 django-storages

Per chi volesse lo può scaricare nel proprio progetto e inserire nel requrements.txt io non l'ho fatto perché l'obiettivo del corso non è il frontend, ma il backend

About

An university project about creating a recipe sharing website focused on backend-django

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors