/barcart

Primary LanguageJavaScript

main

Stores a list of cocktail recipes, a list of user inventory, and returns a filtered list of cocktails.

Additionally has user inventory functionality, and all cocktail functionality.

Structure

React Component Tree


UI Diagram


Current Functionality

  1. Shopping List: Displays nothing
  2. Cocktails: Displays list of entire cocktails
  3. User Bar: Displays names and amounts of all user items. Items with a count of 0 are excluded.

Future Functionality

  1. Implement Shopping List: Should be able to easily add more ingredients by button or typing, or add all ingredients in a cocktail by a button.
  2. Connect to back-end to show filtered cocktail list: Back-end has functionality to show all possible user drinks ('api/drinks/'), just need a flag to switch api call in cocktail container.
  3. Displaying recipe on cocktail front end, and adding the recipe to the schema
  4. Currently, liquor is unnamed. Could add a "name" column, allowing for multiple kinds of vodka, for example

future data entry

LIST OF FUTURE COCKTAILS/RECIPES TO ADD

Sidecar 2oz Brandy 1/2 Triple Sec 3/4 Lemon Juice 1/4oz Simple Syrup Shake & Strain. Garnish with orange twist.

Vieux Carré 1oz Rye Whiskey 1oz Brandy 1oz Sweet Vermouth 2 Dash Angostura 1 Dash Peychaud's Stir & Strain. Garnish with lemon twist.

Hot Toddy 1.5oz Brandy (or Whiskey) 1/2oz Lemon Juice 1 tsp Honey Top with hot water Build. Garnish cinnamon stick or lemon wedge.

Aviation 2oz Gin 3/4oz Lime Juice 1/2oz Luxardo 1/4oz Creme de Yvette 1/4oz Simple Syrup Stir & strain. Garnish lime wheel.

Martini 2.25oz Gin Rinse or 1/2oz dry vermouth 0-1 dash orange bitters Stir & strain. Garnish with lemon twist To make Dirty: 1/2oz Olive Juice Garnish with olive

Negroni 1oz Gin 1oz Campari 1oz sweet vermouth Stir & strain over big ice cube. Garnish orange twist

French 75 1/2oz Gin (or Brandy) 3/4oz Lemon Juice 1/2oz Simple Syrup Shake & strain. Top champagne. Garnish lemon twist

Tom Collins 2oz Gin 1oz Lemon Juice 3/4oz Simple Syrup Shake & dump. Top soda. Garnish lime wedge

Daiquiri 2oz Rum 1oz Lime Juice 3/4 Simple Syrup Shake & strain. Garnish lime wheel.

Hemmingway Daiquiri 2oz Rum 1/2oz Luxardo 3/4oz Lime 1/2oz Grapefruit Juice Shake & strain. Garnish lime wheel.

Mai Tai 2oz Rum 1/2oz Dry Curaçao/Triple Sec 3/4oz Lime Juice 1/4oz Almond Orgeat 1/4oz Demerara Simple Shake & strain over pebble ice. Garnish spent lime half with mint bush on top.

Mojito 2oz Rum 1oz Lime Juice 3/4oz simple syrup 2 dashes angostura 6 mint leaves (muddle mint) Shake & dump. Top Soda (optional). Garnish lime wedge.

Cuban Mule 2oz Rum (or vodka) 1/2oz Lime Juice Top with ginger beer (I like fever tree) Shake & dump. Garnish lime wedge.

Margarita 2oz Tequila 1oz Lime Juice 3/4oz Cointreau 1/4oz Agave Syrup Shake. Either dump or strain over large ice cube into salted glass. Garnish lime wedge.

Paloma 2oz Tequila 1/2oz Lime Juice 1/2oz Grapefruit Juice 1/2oz Simple Syrup Shake & dump. Top soda or Grapefruit soda. Garnish lime wedge.

Brooklyn 2.25oz Whiskey 1/2oz Dry Vermouth 1/4oz Luxardo 3 Dashes Angostura Bitters Stir & strain. Garnish lemon twist or cherry.

Manhattan 2.25oz Whiskey 3/4oz Sweet (red) Vermouth 3 Dashes Angostura Bitters Stir & strain. Garnish cherry.

Mint Julep 2oz Bourbon 1/2 simple syrup Mint bouquet Muddle mint with syrup and pebble ice. Build, add pebble ice.

Old Fashioned 2.25oz Whiskey 1 tsp simple syrup 3 dashes Angostura Build. Or stir & strain over large ice cube. Garnish orange peel.

Whiskey Sour 2oz Whiskey 1oz Lemon 3/4oz Simple Syrup 1 Egg White Dry shake ingredients. Add ice, shake again. Strain over big ice cube. Garnish cherry.

Diamondback 2 Whiskey .5 bonded apple Brandy .5 yellow chartreuse Stir & strain.

Amaretto Sour 1.5oz Amaretto 1/2oz High Proof Whiskey OR 3/4oz Whiskey 1oz Lemon 3/4oz Simple Syrup 1 Egg White Dry shake ingredients. Add ice, shake again. Strain over big ice cube. Garnish lemon twist.