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': 'the-cocktail-db.p.rapidapi.com',
'X-RapidAPI-Key': 'fedf1dd524msh1cf534605192167p136515jsn5200bf26f1a5'
}
};
const response= fetch('https://the-cocktail-db.p.rapidapi.com/popular.php', options)
.then(response => response.json())
.then(response => response)
.catch(err => console.error(err));
return response
}
Top comments (0)