A WEB application that allows users to search for healthier food replacements, built with Django.
UPDATE of P8OC p10 Branch for the project 11 of OpenClassrooms Python developper certificate
Demo
👉 Watch it deployed in Google cloud platform here.
Open a navigator and go to the demo URL. Write in one of the search forms a food nome that you would like to replace with an healthier one. If healthier replacements are found they will be displayed, you will the be able to look at one food item datas in particular and save it to your favorites if logged-in. You have the possibility to create a personnal account to be able to retrieve your favorites food items.
-
Clone the app directory
-
Install Python3 on your computer if you are running a Windows environment.
-
Install the dependencies with Pipenv from Pipfile
-
this project works with a PostGreSQL engine so install it if deployed locally
-
update purbeurre.settings with database credentials
-
execute manage.py makemigrations followed by manage.py migrate
-
execute manage.py populate_db if you want to add data fro open food facts into your PGSQL database
-
either run manage.py runserver for debug or deploy elewere as needed
- Django
- Bootstrap
- django-crispy-forms
- and a lot more ...!
- All Fodd data provided by Open Food Facts
- website template by
- home background photo by Kawin Harasai
- nutriscore vectors by vecteezy
- and countless unnamed contributors from the all the Python community without whose this project would not have been possible. Thanks to you all !
Paul Girmes - Initial work
This project is licensed under the MIT License - see the LICENSE.md file for details