Git Product home page Git Product logo

newbeercellar's Introduction

New Beercellar

A simple web app to keep track of beers.

Components

  1. A command line script to get the ratebeer dump file and insert to a postgres db
  2. A simple Flask API in Python to search for beers/breweries and add bottles to a cellar
  3. A Web Gui using React to display and add bottles to a cellar

Todos

  • Edit bottle
  • search in cellar(s)
  • create more cellars
  • edit cellar
  • edit profile
  • delete/drink bottle
  • fix ansible playbook to work for non-vagrant
  • fix memory usage of import script
  • add tags
  • statistics
  • bar code integration (crowdsourcing)
  • add new beers
  • import beers from vinmonopolet (name matching)
  • TESTS (python and js)

Setup

  1. Install ansible and vagrant

  2. go to https://console.developers.google.com/project, create a new project, go to Credentials and "create new CLient id". Choose web application, and enter http://localhost:9080/oauth2callback as redirect uri

  3. copy provisioning/host_vars/development_example to provisioning/host_vars/172.16.10.15, and fill the missing parts

  4. run vagrant up dev

  5. run vagrant ssh dev

  6. run python manage.py loaddata to load data

  7. run foreman start to launch app

  8. app is now available at localhost:8090

Access db

  1. vagrant ssh
  2. sudo su - postgres
  3. psql -d beer

Set up jsx-build

jsx --watch static/js/src/ static/js/src/gen/ -x jsx

newbeercellar's People

Contributors

atlefren avatar kriben avatar

Stargazers

Asbjørn Mikkelsen avatar Ingvald Skaug avatar Marius B. Kotsbak avatar

Watchers

Marius B. Kotsbak avatar  avatar  avatar

newbeercellar's Issues

User-defined beers

The ratebeer-dump is not complete, have an option to let users add beers themselves. Handle duplicates, how?

newbeercellar feedback

Ser fint ut.
Klarte ved et uhell å slette en øl når jeg skulle inn og redigere den da de to symbolene var veldig nærme hverandre.
Kunne også tenkt meg en kolonne for ølstil.
Sliter også med å logge meg inn på paden da den automatisk plukker "feil" gmailkonto. Da det er den jeg sist logget inn på nettleseren med.
Designet var pent og ryddig.
Finner ikke alt av bryggerier og øl, men det kommer vel mulighet for begge.
tommel opp for jobben :)

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.