Coder Social home page Coder Social logo

amatofrancesco99 / food-recommender Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 3.0 14.34 MB

A web app, whose purpose is suggesting new recipes to logged users.

Home Page: https://foodrecommender.altervista.org/templates/index.php

License: MIT License

JavaScript 8.40% PHP 55.95% CSS 30.85% Hack 2.92% HTML 1.88%
food food-recommendation recipe-website login-system registration-system review-system foodrecssysv1

food-recommender's Introduction

Food Recommender ๐ŸŸ

ForTheBadge built-with-love License Repo-views-counter

Description

A web app, whose purpose is suggesting recipes to logged users.

Used recipes dataset: FoodRecsSysv1.
It contains over 45k recipes, coming from all over the world!

Configuration

How can I start this application?
  1. Open Mamp and start the server.
    1. Not yet downloaded? Go at this link.
  2. Open phpMyAdmin clicking on WebStart>Tools and create a new db named food_recommender.
  3. Fork this project moving in the document root folder shown once Mamp app is opened.
  4. Change the config.php file, inserting your MySQL db istance coordinates.
    1. If you did not change the Mamp settings, the config.php file does not need to be modified.
  5. Download the .sql.zip file(containing users, recipes & reviews tables) and import it in food_recommender db.
    1. Problems with the import procedure, since the imported file is too big?
      Search the php.ini file and change this properties:
      post_max_size = 2048M 
      upload_max_filesize = 2048M 
      max_execution_time = 5000 
      max_input_time = 5000 
      memory_limit = 4096M 
      
  6. Insert this link in your browser: http://localhost:8888/food-recommender/templates/index.php.
  7. Now the real fun begins...
    1. You can make changes on the project and add new functionalities.

Functionalities

What else could be implemented?

The application now returns a random recipe taken from the database.
Obviously this is the easiest implementation, but you're free to fork this project and add new functionalities.
Some examples:

  • Suggesting a recipe basing on:
    • its nutrients
    • its ingredients
    • ratings given by other users
    • ...
  • Handle the possibility to add a personal rating on a recipe, by a logged user.

Any help will really be appreciated.

Languages, libraries, database & web server

JavaScript PHP CSS3 HTML5 jQuery Font Awesome MAMP MySQL Apache


alt image

food-recommender's People

Contributors

amatofrancesco99 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

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.