Giter Site home page Giter Site logo

drex44 / good-food-guide Goto Github PK

View Code? Open in Web Editor NEW
48.0 48.0 38.0 2.24 MB

A guide to know which foods are good when you have certain disease! [Built with React/NextJs]

Home Page: https://good-food-guide.now.sh

License: MIT License

JavaScript 96.86% CSS 3.14%
css hacktoberfest html javascript material-ui nextjs reactjs

good-food-guide's People

Contributors

adriangmweb avatar adriansecretsource avatar audreylin avatar carlosproiete avatar combizs avatar cristiankumul avatar ctahirih avatar drex44 avatar ffadilaputra avatar greenkeeper[bot] avatar gwgga avatar harrison1 avatar kartikpandey2 avatar kboohene avatar klanti avatar maafaishal avatar nlsum1 avatar pasanjayawickrama avatar pdut89 avatar rishubhjain avatar rsmelo92 avatar sameeps avatar srinivasu619 avatar tharuja avatar tomlandis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

good-food-guide's Issues

FrontEnd: Implement a share button

In the foodCard.js, there's a share button. right now it does not work.

Clicking on it should open a modal and it should have various buttons for FB, twitter, copy to clipboard etc buttons.
content to share is the link to the foodDetails.js for a particular disease.

This is a react/nextjs web app. comment for more information.

Suggest a feature!

create or edit a file named feature_requests.md if you have any suggestion for this repo or website.

Read the readme.md for more information or comment if you need more information or help!

An in-range update of react-instantsearch is breaking the build 🚨

The dependency react-instantsearch was updated from 5.4.0 to 5.5.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

react-instantsearch is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • βœ… now/api/getAllDiseases/index.js: is ready
  • βœ… now/api/getDisease/index.js: is ready
  • ❌ now/www/package.json: has failed
  • ❌ now: Deployment has failed (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

FrontEnd: Add a back button

The site is in react/ nextjs. The master branch is always live. check out the url from home code screen.

If you click on learn more, it navigates to foodDetails.js.
There should be a button (back arrow or something elegant) to go back to the main home page.

happy hacking! :)
comment below if you need help or want to work on this!

FrontEnd: Search food feature: Pulls up specific foods that list their known benefits

The site is in react/ NextJs. The master branch is always live. check out the URL from the home code screen.

Create a new page (see about.js to know how to create a new page.)(will discuss what to be named later).
In this page, display the list of disease which can be treated with the given food.
I will update on how the users will reach this page with the food query but right now take static value.

happy hacking! :)
comment below if you need help or want to work on this!

An in-range update of ajv is breaking the build 🚨

The dependency ajv was updated from 6.10.0 to 6.10.1.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

ajv is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • βœ… now/api/getAllDiseases/index.js: is ready (Details).
  • βœ… now/api/getDisease/index.js: is ready (Details).
  • ❌ now/www/package.json: has failed (Details).
  • ❌ now: Deployment has failed (Details).

Commits

The new version differs by 12 commits.

  • 8b59052 6.10.1
  • 66c2907 chore(package): update del-cli to version 2.0.0 (#1014)
  • d476534 chore(package): update eslint to version 6.0.0 (#1030)
  • c468632 test: update node.js versions for travis test
  • 3ca7571 chore: update jshint
  • 120d746 chore(package): update nyc to version 14.0.0 (#994)
  • c3093bb Add "empty" to useDefaults Option type definition (#1020)
  • ab841b4 fix: addKeyword and schema without ID, closes #1001
  • bc993de chore(package): update karma to version 4.0.1 (#959)
  • 6be5ff6 fix(types): add strictKeywords to Options interface (#975)
  • 78a9403 update JSON-Schema-Test-Suite
  • d107207 Fix wrong json schema reference (#961)

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

bootstrap the backend server

Currently, there's no backend server. All the data is fetched from the JSON file only.

So create APIs to make it dynamic. I haven't specified the schema for the APIs but I will update it soon.

EDIT:

  • Bootstrap API project structure and convert repo to monorepo
  • Create APIs
  • Integrate APIs into frontend

An in-range update of react is breaking the build 🚨

There have been updates to the react monorepo:

    • The dependency react was updated from 16.8.6 to 16.9.0.
  • The dependency react-dom was updated from 16.8.6 to 16.9.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

This monorepo update includes releases of one or more dependencies which all belong to the react group definition.

react is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • ❌ now: Deployment has failed (Details).

Release Notes for 16.9.0 (August 8, 2019)

React

  • Add <React.Profiler> API for gathering performance measurements programmatically. (@bvaughn in #15172)
  • Remove unstable_ConcurrentMode in favor of unstable_createRoot. (@acdlite in #15532)

React DOM

React DOM Server

  • Fix incorrect output for camelCase custom CSS property names. (@bedakb in #16167)

React Test Utilities and Test Renderer

Artifacts

β€’ react: https://unpkg.com/[email protected]/umd/
β€’ react-art: https://unpkg.com/[email protected]/umd/
β€’ react-dom: https://unpkg.com/[email protected]/umd/
β€’ react-is: https://unpkg.com/[email protected]/umd/
β€’ react-test-renderer: https://unpkg.com/[email protected]/umd/
β€’ scheduler: https://unpkg.com/[email protected]/umd/

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of express is breaking the build 🚨

The dependency express was updated from 4.16.4 to 4.17.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

express is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • βœ… now/api/getAllDiseases/index.js: is ready
  • βœ… now/api/getDisease/index.js: is ready
  • ❌ now/www/package.json: has failed
  • ❌ now: Deployment has failed (Details).

Release Notes for 4.17.0
Commits

The new version differs by 53 commits.

There are 53 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

FrontEnd: Add information in Footer!

The site is in react/ NextJs. The master branch is always live. check out the URL in the Readme.

Objective: This site is created by many developers and we want to appreciate it. you can submit PR for each task described below!
ToDo,

  1. Add a new line saying "Crafted(less than and greater than sign often seen for code) with love(red heart symbol) by amazing people!"
  2. amazing people in the above line is a link to another page. so use the about.js page as the reference and create a new page contributors.js in pages directory.
  3. create a react component called contributors.js in components folder that fetches all information about contributors of this repo using GitHub API. Import this component in pages/contributors.js
  4. Make the contributors.js component more intuitive.

happy hacking! :)
comment below if you need help or want to work on this!

FrontEnd: Create a new simple page

This is react/ nextjs webapp.

If you go to the home page then it shows a learn more button. clicking on it should show a page with more details.

so create a simple component called detailedFoodDetails.js that shows the title of the disease passed. you can follow the instruction given here

Read the readme.md for more information or comment if you need more information or help!

Add Medicine Support for disease

Hey, I found you through the medium. It's Amazing.
Hie I felt that it would be awesome to have how to cure, Steps to be taken care & Medicines

Currently, In this society, Health is also becoming a business and Hospitals are charging like Hell. It would be every Helpfull.

Problem when run yarn dev.

Hi πŸ‘‹

I have a problem when I try to run yarn dev I don’t know if I need to install another dependency. This is the message error

Screen Shot 2019-10-17 at 9 10 57 AM

FrontEnd: Add search bar

We are designing the website frontend first so it will need a search bar.

This is react/ nextjs webapp.
Use material UI component to add a new search bar at the top!

Read the readme.md for more information.

Find a way to better save food data!

This is react/ nextjs webapp.

We will show foods to eat when you have a certain disease. currently, only one example disease is shown but we will add more data later.
we want the site to be static. So, suggest an idea or thought to save these. we can have json.

Read the readme.md for more information or comment if you need more information or help!

FrontEnd: more informative detailedFoodDetails.js

This is react/ nextjs webapp.
First, the issues #4 and #3 should be completed to do this.

change file detailedFoodDetails.js and show all the information about the foods to eat from the data source. you only need to show the information.
no need to make it look better (we have another issue for that here #6 ).

Read the readme.md for more information or comment if you need more information or help!

Performance problem

Now the website had a backend and is used to query from the database. this has resulted in slow page response.

Need to think of a way to increase the performance.

FrontEnd: create a request box

check out the readme.md to know more about this repo and website,

ToDo: a request box,

  • where users can ask for a disease not listed yet.
  • can add a new food to the existing list.

we are not sure about whether to implement a custom solution or use existing third-party service. if you have any suggestion then comment below!

  • we do not have a backend server right now.

comment for more information or queries!

An in-range update of micro is breaking the build 🚨

The dependency micro was updated from 9.3.3 to 9.3.4.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

micro is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • βœ… now/api/getAllDiseases/index.js: is ready
  • βœ… now/api/getDisease/index.js: is ready
  • ❌ now/www/package.json: has failed
  • ❌ now: Deployment has failed (Details).

Release Notes for 9.3.4

Patches

  • Chore(examples/with-https): using destructuring: 62c1e01
  • Convert getURL fn to more ergonomic one liner: 85d7bd6
  • Decrease install size: #396
Commits

The new version differs by 4 commits.

  • 11d8691 9.3.4
  • 0cf4d7c Decrease install size (#396)
  • 85d7bd6 convert getURL fn to more ergonomic one liner
  • 62c1e01 chore(examples/with-https): using destructuring

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of micro-http-router is breaking the build 🚨

The dependency micro-http-router was updated from 1.3.0 to 1.4.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

micro-http-router is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • βœ… now/api/getAllDiseases/index.js: is ready
  • βœ… now/api/getDisease/index.js: is ready
  • ❌ now/www/package.json: has failed
  • ❌ now: Deployment has failed (Details).

Commits

The new version differs by 2 commits.

  • 32e4e92 Added unroute method
  • adc8739 Add full support for query parameters

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Add more details/data

We fetch the food details about diseases from dataList.js.
Add more data to it.

Follow the given JSON format in the file.

EDIT: we need at least 20 data and at max 30.
While adding the Image URL, use only HTTPS sources as our site is in https. using HTTP sources give us mixed content warnings!

Get the browser langauge

The site is in react/ NextJs. The master branch is always live. check out the URL from the home code screen.

ToDo,

  1. Create a new component to get the language from the browser
  2. store it in the local storage of the browser.
  3. create a drop-down list with two values. first value should be "English" and other is the language fetched from the browser. the location of this drop-down should be right-hand side of the about button in navigation on.

happy hacking! :)
comment below if you need help or want to work on this!

FrontEnd: create a footer component

This is react/ nextjs webapp.
Create a new Footer component.
And add this footer component in the Layout.js.
Read the readme.md for more information or comment if you need more information or help!

FrontEnd: make foodDetails.js more intuitive

This is react/ nextjs webapp.
First, the issues #4 , #3 and #5 should be completed to do this. if it's not completed then check them out first!

change file foodDetails.js and make it look more intuitive!

Read the readme.md for more information or comment if you need more information or help!

Add unit tests

The website does not have any unit tests currently so it should be added ASAP.

Unit tests to be added in:

  • Components
  • Pages
  • Api Modules

FrontEnd: create a new react component to show breadcrumbs

The website is in React/nextjs. you can check out the live version.
we are using material-ui.

From home, if you click on learn more, a new page comes.
Here, in foodDetails.js,
there should be breadcrumb shown just below the navigation menu.

For more information comment.

An in-range update of mongoose is breaking the build 🚨

The dependency mongoose was updated from 5.5.2 to 5.5.3.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

mongoose is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • βœ… now/api/getAllDiseases/index.js: is ready
  • βœ… now/api/getDisease/index.js: is ready
  • ❌ now/www/package.json: has failed
  • ❌ now: Deployment has failed (Details).

Commits

The new version differs by 20 commits.

  • 63be350 chore: release 5.5.3
  • 6a94b74 chore: add tekhattan as an opencollective sponsor
  • 082b729 docs(aggregate): use eachAsync() instead of nonexistent each()
  • b5a6f22 docs(model): list out all operations and options for bulkWrite()
  • ac10789 docs(validation): add CastError validation example
  • 8f37ebf refactor(array): move _parent property behind a symbol
  • 0b84971 fix(query): dont show useFindAndModify deprecation warning if useFindAndModify = false
  • 191994e style: fix lint re: #7679
  • d7c0f20 fix(update): run setters on array elements when doing $set
  • c0000e0 test(update): repro #7679
  • 1474fe8 fix: add findAndModify deprecation warning that references the useFindAndModify option
  • 5fa7177 docs(query+model): list out all options and callback details for Model.updateX() and Query#updateX()
  • e410423 fix(document): handle pushing a doc onto a discriminator that contains a doc array
  • b28e489 test(discriminator): repro #7704
  • 92dd346 Merge pull request #7718 from rzymek/buffered-arguments-fix

There are 20 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

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.