Skip to content

Bar-Hop project. A web application with a cocktail-recipe search.

Notifications You must be signed in to change notification settings

elfsvet/Bar-Hop-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bar-Hop Team Project Bar-Hop Logo

Bar-Hop project. A web application with a cocktail-recipe search. Live demo here.

Table of contents

General Info

Current app will provide an ability to find a cocktail recipe by its name. As well, as ability to get a random cocktail by a click of a button.

Technologies

Project is created with:

  • HTML
  • CSS
  • JavaScript
  • Materialize Framework
  • jQuery
  • Google Map API and Places API
  • TheCocktailDB Cocktail API

Setup

To open this project in vscode using git in Terminal/Git Bash:

$ mkdir bar-hop
$ cd bar-hop
$ git clone https://github.com/DeRomuald/bar-hop.git
$ code .

Instructions

When you open app you presented with Age Check Modal and Location Access Allow window.

  • In Age Check Modal you can only click Yes or No. You can't close it with clicking outside of the modal.
    • If you less than 21 and choose NO you will be redirected to a baby website.
    • If you click Yes in Age Check Modal you will get access to the web app. The local storage will store your selection and won't bother you with this question anymore.
    • If you won't give permission to access your location if will use default location: Miami,FL. And display 20 liquor stores that in this area.
    • If you give permission to access your location the map will display 20 liquor stores close to your location.
  1. To search for a cocktail by name:
  • Enter a cocktail name in the and click "Find a Recipe"
    • You will be given result based on your request.
    • If you pick a cocktail that not in API database
      • It will open a Modal with a message that we don't have it in our database.
  1. You can start a new search, just follow instruction in step 1.

  2. If you don't know what cocktail you want, but want to get something click on Surprise Me button.

  • It will display a cocktail randomly picked from our database.
  1. After you've done with picking and searching for cocktails you can check the closest liquor stores on the map.
  • If you click on a marker you will be displayed with:
    • Name
    • Rating
    • Address
    • And a website if the place have this info on the file.
  1. As a bonus you can read about paring your new drink with some food.

Features

  • Search
  • Random Drink
  • Map
  • Modal Respond
  • Keeping Data in Local Storage
  • Find Location
  • Dynamically Created Elements

Screenshots

Example screenshot

You can check the demo here.

Usage

For pleasure and comfort, information that helps you make cocktails and locate closest stores.

Project Status

Project is: completed

Room for Improvement

To do:

  • Add search feature of nearby bars
  • Add menu to nearby bars
  • Suggest bars with the best menu & ratings.

Acknowledgements

  • This project was inspired by UM Coding Boot Camp Project #1.

  • This project using Google Maps Platform.

  • This project using Cocktail API.

  • This project thinks of people needs with finding right meal for a cocktail by redirection to The Spruce Eats.

  • This project lets people have fun, no matter of their age, using help of KneeBouncers.

  • This project was creating from scratch using ideas and believes of an incredible team of people👽. Example gif

Contacts

Created by:

About

Bar-Hop project. A web application with a cocktail-recipe search.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published