DEV Community

Cover image for Dry Bar Cocktails

Posted on

Dry Bar Cocktails

About Dry Bar

Dry Bar Cocktails is an apllication that allows you to select/customize the cocktail of your choice at the joint and be served immediately The application allows you to select from a variate of cocktails that we serve.
Live link

How to contribute

To fix a bug or enhance an existing module, follow these steps:

Fork the repository
Create a new branch (git checkout -b improve-feature)
Make the appropriate changes in the files
Add changes to reflect the changes made
Commit your changes (git commit -am 'Improve feature')
Push to the branch (git push origin improve-feature)
Create a Pull Request

Fetch function

  function getData() {
    const options = {
        method: 'GET',
        headers: {
            'X-RapidAPI-Host': '',
            'X-RapidAPI-Key': 'fedf1dd524msh1cf534605192167p136515jsn5200bf26f1a5'

    const response= fetch('', options)
        .then(response => response.json())
        .then(response => response)
        .catch(err => console.error(err));
    return response
Enter fullscreen mode Exit fullscreen mode

Discussion (0)