DEV Community

martinpeak
martinpeak

Posted on

Making a Website Application (Belafonte Food Hub) using a public API

When learning Javascript, using a FETCH API to come-up with a website is one of the milestones that you could achieve as a weekend task.You get to experience different types of API and a variety to choose from.
Below are a few sites that have API feel free to go through as you follow along:

  1. https://github.com/public-apis/public-apis

Things you need before starting:

  1. A Design of the website: Figma will give you an idea: https://www.figma.com/login
  2. A public API

Using a fetch API ("https://www.themealdb.com/api/json/v1/1/search.php?s=") to get a list of meals I came up with Belafonte Food Hub website that offers users a variety of meals and using a button one can watch how to prepare the meals, like or dislike based on their preference and Submit a review at the button of the page.
Getting:
1.List of meals/dish.
2.Name of the meal.
3.Category: such as Soup or side dish.
4.Origin of the meal.
5.Youtube link to learn how to prepare the meal with the aid of a video.

SCREENSHOTS

  • Screenshot from 2022-06-26 21-33-24
  • Screenshot from 2022-06-26 21-33-34
  • Screenshot from 2022-06-26 21-33-51

Repo link: https://github.com/Martinpouh/Belafonte-Food-Hub

Top comments (0)