Code Monkey home page Code Monkey logo

foodifire-frontend's Introduction

Project Foodifire:

Team Members

Student Name UoW Number IIT Number
T.S.D. Wanigaratne (Leader) 18676790 20210597
W.R.S.S. Gunarathna 1899299 20211178
S.W.R. Minoth 18677052 20210788
I. Shanooka 19128180 20210155
B.J. Premarathna 1904454 20211467

Project Details

Technologies used

  • ReactJS + MUI

How It Works

Upon launching the application, first the user provides the disease conditions that he faces to the application. Next when the user takes an image of a food source he is about to consume, the image is transfered to the NodejS backend via a POST Request. This will trigger the servers TensorflowJS Machine Learning model to predict the image source and generate a food label. Then the food label is sent as a query from the server to the mongodb database server, where it will return back the diseases related to the food label. Finally the Server will send back a JSON response containing the food label and the relevant diseases to the frontend, where a report will be generated by comparing user provided disease conditions with the fetched disease conditions.

Usage

  1. Clone the Repository

  2. To Launch the frontend

cd frontend
npm install
npm run dev
  1. Start using the application

Contributing

  1. Pull new changes to master branch
git pull
  1. Create a new branch
git checkout -b yourName-dev
  1. For frontend, always create new features or changes in the tempFrontendComponents directory
📦foodifire-frontend
┣ 📂node_modules
┣ 📂public
┣ 📂src
┃ ┣ 📂components
┃ ┣ 📂pages
┃ ┣ 📂resources
┃ ┣ **📂tempFrontendComponents**
┃ ┃ ┗ **📜yourName_component.jsx**
  1. Stage, commit and push the branch
git add .
git commit -m "Meaningful commit message"
git push
  1. Create a pull request in github (DO NOT MERGE)

  2. switch to main branch and Delete the local branch

git checkout master
git branch -d yourName-dev

foodifire-frontend's People

Contributors

xenowa avatar

Stargazers

 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.