Giter VIP home page Giter VIP logo

cocktails's Introduction

Cocktails Browser

Netlify Status Build Status Codacy Badge GitHub license

Screenshot

Deployed at https://iba-cocktails.netlify.com/

This provides a user interface for browsing and filtering the IBA cocktails list (and a couple of other popular drinks). Features include;

  • Browse all 77 IBA cocktails, plus a few non-IBA drinks.
  • Maintain your bar to describe what you have at home.
  • Filter by ingredient, category, glass, vegan or "makeable from your bar"
  • Ability to "favourite" cocktails
  • Integration with TheCocktailDB for enrichment/cocktail images
  • Persistence (local browser storage only)
  • Configurable color schemes
  • See measurements in either parts, ml, cl or oz
  • Pro-mode! Have measurements replaced with 'bartender lingo' such as 'Jigger' and 'Pony'
  • Installable on smart devices (via PWA/Add To Home Screen)

This is a small pet-project and a work in progress. It is built entirely using functional components and react hooks.

Credits

Cocktail list and ingredient data was originally seeded from https://github.com/teijo/iba-cocktails

Enrichment and images provided by the amazing CocktailDB

Application is hosted over at netlify - awesome service

Tech stuff / Local Usage

If you want to run this locally you'll need nodejs/npm installed. Clone the repo, then;

npm install
npm start

All the data is in JSON files (see src/data), so there's no server or database to worry about.

Contributing

If you have a comment about one of the recipes / a data related issue, feel free to raise an issue and label it 'data'. It's just an unfortunate fact of life that cocktail recipes will vary and what some people think is good, others will not, but we're happy to correct blatant mistakes.

Take the labels "Help Wanted" or "Good first issue" as an open invitation to pick tickets up if you want to, but if they don't have those labels then please get in touch to discuss any change before contributing.

  • Assign yourself to a ticket if you're working on it.
  • If there's not already an open ticket, but you have a suggestion, please raise as an issue and discuss prior to doing any work.
  • We're not doing versioning yet so don't worry about bumping versions/changelogs.
  • We've got Snapshot Testing going on in this app, remember to update them if you change the views.
  • Don't check in package-lock unless package.json has changed.
  • This is a function-component-only project.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.