drex44 / good-food-guide

A guide to know which foods are good when you have certain disease! [Built with React/NextJs]
https://good-food-guide.now.sh
MIT License
48 stars 38 forks source link

FrontEnd: create a request box #50

Open drex44 opened 5 years ago

drex44 commented 5 years ago

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

ToDo: a request box,

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!

comment for more information or queries!

louillustrator commented 5 years ago

I can do this :)

Where would you like the request box to be? And where will the requests go to?

drex44 commented 5 years ago

the page will be on a new page. and we are looking for a solution to send the requests. we haven't thought about it yet! we don't have any backend solution yet!

drex44 commented 5 years ago

@louillustrator we have found a good starting point for this issue. you can create a react component using material UI that shows a request form like this! go to the end of the page to see a box for the suggestions. https://www.algolia.com/doc/api-client/javascript/getting-started/?language=sh#install

  1. Create a new page named suggestion.js(look for the about.js page to see how to create a new page).
  2. Use the above create request form component inside the page.
  3. Add a link to it in the navigation bar between home and about (don't forget to add a link for both desktop view and mobile view).

we will add the server soon for the requests. so for the time being, you can work on the frontend part and submit PR.