GithubHelp home page GithubHelp logo

poobar's Introduction

PooBar

PooBar is a liquor cabinet app. It is intended for keeping track of drinks you can make, and what you have in your liquor cabinet. I am not interested in solving the "what are all possible drinks I can make with my current ingredients" problem, as it does not interest me. However, I have had a need for a menu I can present to guests when I ask if they want a drink, as well as a place to look up recipes that I have made before.

I am trying out supabase to allow me to build this in a manner such that other people can create their own bars. Instructions on how to build your own bar will appear here when the project gets to a working state. The fact that multiple users are in the same database will be leveraged to reduce the work involved with building ones own database, as ingredients and drinks will be a shared list. From that list bar-owners can pick for their own bar, or create new ones, which will be added to the global list.

The name

The first working title was FooBar, however to no suprise I could not get that domain. As a joke one of my friends called the project PooBar, and the name regretfully stuck. I'm considering new names, please let me know if you have any good ideas. For now you can find the live version of the project at:

poobar.no

Running the code

To install:

npm install

To run the development server:

npm run dev

The project is now available at http://localhost:3000.

Deployment is done automatically on new commits to the main branch. The website is hosted using netlify.

poobar's People

Contributors

aslakhol avatar

Stargazers

Roman avatar

Watchers

James Cloos avatar  avatar

poobar's Issues

Better method for adding drinks to a bar

The combobox approach is not quite right. I struggled a while with getting it to work for adding multiple drinks by wiping the input field, but it's really just trying to force a component to do work it's not supposed to. It'll be better with another solution.

Perhaps a dedicated page like the one I've made for work.

This page could have more advanced filtering, like filtering for whether you have the ingredients or not.

Profiles

There are a bunch of things I should do related to profiles.

  • Buttons in navbar
  • Profile page:
  • Change name of bar.
  • Display bar publicly.
  • Create account:
  • give name to bar or default to Username's bar
  • Logged in /
  • Show your bar
  • Logged out /
  • Show all public bars
  • GDPR:
  • Delete my bar,
  • Delete my account

Longer term thoughts

Early days Goodreads for cocktails. A social network for sharing cocktails and your cocktail library.

Soft delete for primary entities

Bars, Drinks and Ingredients should be soft deleted. It's too easy to delete right now and if I want to keep it easy during development, and show it off I need to be ready for someone to click the buttons as tests. I can just recover from soft delete through supabase for now.

Tasting notes

In the current permutation, the primary idea is having something you could show to your friends when making cocktails. The important part is tempting someone to pick a drink. Printing some tasting notes in the menu might be a good idea.

Delete IngredientForBar

Right now the delete button only works on the frontend form data.

Preferably when submitting we should delete ingredient for drink relations that have been marked to delete, but alternatively, we can delete them as the trash icon is clicked.

For the future: Syrup calculator

It would be nice to be able to calculate recipes for syrups. Figuring out the final yields or ingredients needed for desired yields.

Variant for drinks

I want a way of denoting different versions of a drink.

One example is the cognac and gin versions of the French 75.

Design website

It's looking pretty shit right now, time to think about looks.

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.