Giter Site home page Giter Site logo

openbrewerydb-graphql's Introduction

๐Ÿป Open Brewery DB Dataset

All Contributors

Open Brewery DB Logo

This is the open-source dataset for the Open Brewery DB API which is served by a REST API built with Ruby on Rails

๐ŸŽฏ Purpose

Provide an approval-based pipeline to update the dataset and API.

๐Ÿ—„ Data Formats

API

Access the dataset programmatically via the Open Brewery DB API. Use the following tools to get started without any code:

If you don't know how to use APIs, you can use Brewery DB without code through the databar.ai platform.

Run without code

A shared Postman collection containing all the API requests to fetch breweries information from the open-source dataset.

Run in Postman

๐Ÿš€ Getting Started

  1. git clone [email protected]:openbrewerydb/openbrewerydb.git
  2. cd openbrewerydb && npm install

๐Ÿค Contributing

For information on contributing to this project, please see the contributing guide and our code of conduct.

  1. Fork the repository
  2. Add or update breweries in the CSV (Excel, Google Sheets)
  3. Submit a Pull Request

Tips

First and foremost, don't worry about messing up! ๐Ÿ™‚ Thank you so much for contributing! ๐Ÿ™Œ

  • CSVs are organized by data/[country]/[state_province]
  • Required fields/columns: name, brewery_type, city, state_province, postal_code, and country
  • When adding a brewery, do not include an id. This will be created after review.
  • Please either add to breweries.csv (preferred if adding breweries for a new country) or the individual state/province CSV file. Adding to both at the same time may introduce duplicates/errors.

โš™๏ธ Scripts

These are the npm scripts used to maintain this dataset.

  • npm run csv:combine - Combine CSVs from country/state-region folders into breweries.csv
  • npm run csv:split - Split breweries.csv into country/state-region/city CSVs
  • npm run contributors:add - Add contributor (interactive CLI)
  • npm run contributors:check - Check if there are any missing contributors
  • npm run contributors:generate - Generate contributors into README.md
  • npm run generate:ids - Generate unique OBDB IDs based on the brewery name and city and overwrite breweries.csv
  • npm run generate:json - Generate JSON from breweries.csv output to breweries.json
  • npm run generate:sql - Generate PostgreSQL SQL from breweries.csv output to breweries.sql
  • npm run validate - Validate CSVs based on JSON Schema
  • npm run workflow:maintain - Combine, generate, split (used when updating individual CSVs)

๐Ÿ‘พ Community

๐Ÿ“ซ Feedback

Any feedback, please email me.

Cheers! ๐Ÿป

Contributors โœจ

Thanks goes to these wonderful people (emoji key):

Mike Putnam
Mike Putnam

๐Ÿ”ฃ
Andrew A. Barber
Andrew A. Barber

๐Ÿ”ฃ
Jason Allen
Jason Allen

๐Ÿ”ฃ
Juicob
Juicob

๐Ÿ”ฃ
Will Karnasiewicz
Will Karnasiewicz

๐Ÿ”ฃ
Dylan T. Vavra
Dylan T. Vavra

๐Ÿ”ฃ
Madison Martinez
Madison Martinez

๐Ÿ”ฃ
Daniel Eremchuk
Daniel Eremchuk

๐Ÿ”ฃ
Alex Chong
Alex Chong

๐Ÿ”ฃ
Matt S
Matt S

๐Ÿ”ฃ
Samuel Rusher
Samuel Rusher

๐Ÿ”ฃ
Evan Caraway
Evan Caraway

๐Ÿ”ฃ
Tyler K Kuromiya Parker
Tyler K Kuromiya Parker

๐Ÿ”ฃ
kendellmendoza
kendellmendoza

๐Ÿ”ฃ
Johnnyk737
Johnnyk737

๐Ÿ”ฃ
James Schuler
James Schuler

๐Ÿ”ฃ
Creighton Leif
Creighton Leif

๐Ÿ”ฃ
Vitaly Tomilov
Vitaly Tomilov

๐Ÿ’ป
Kyle Scudder
Kyle Scudder

๐Ÿ”ฃ
Chris Mears
Chris Mears

๐Ÿ’ฌ ๐Ÿ’ป ๐Ÿ”ฃ ๐Ÿšง ๐Ÿ“† ๐Ÿ”ง โœ…
donkeyslaps
donkeyslaps

๐Ÿ”ฃ
Pranav Davar
Pranav Davar

๐Ÿ”ง
Alexandre Hernandes Barrozo
Alexandre Hernandes Barrozo

๐Ÿ”ฃ
Resten
Resten

๐Ÿ”ฃ
Matt Higgins
Matt Higgins

๐Ÿ”ฃ
Alex Justesen
Alex Justesen

๐Ÿ”ฃ
Craig Kelly
Craig Kelly

๐Ÿ”ฃ
Krzysztof Rewak
Krzysztof Rewak

๐Ÿ”ฃ
John Baumert
John Baumert

๐Ÿ”ฃ
Charlie Cox
Charlie Cox

๐Ÿ”ฃ
Miles Kane
Miles Kane

๐Ÿ”ฃ
Anthony Laflamme
Anthony Laflamme

๐Ÿ’ป
Georg Engelsmann
Georg Engelsmann

๐Ÿ”ฃ
Clinton Williams
Clinton Williams

๐Ÿ”ฃ
Brent Busby
Brent Busby

๐Ÿ”ฃ
kenster89
kenster89

๐Ÿ”ฃ
Adilet Sarsembayev
Adilet Sarsembayev

๐Ÿ”ฃ
Pranav Davar
Pranav Davar

๐Ÿ”ฃ
b-mc2
b-mc2

๐Ÿ”ฃ
Nicole
Nicole

๐Ÿ”ฃ
Nicholas Hance
Nicholas Hance

๐Ÿ”ฃ
Joachim Nilsson
Joachim Nilsson

๐Ÿ”ฃ
Alejandro Lopez Rocha
Alejandro Lopez Rocha

๐Ÿ”ฃ
zshapleigh
zshapleigh

๐Ÿ”ฃ
Praval Visvanath
Praval Visvanath

๐Ÿ”ฃ
JohnHenry
JohnHenry

๐Ÿ”ฃ
Alfredo Garcia
Alfredo Garcia

๐Ÿ”ฃ

This project follows the all-contributors specification. Contributions of any kind welcome!

openbrewerydb-graphql's People

Contributors

chrisjm avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

openbrewerydb-graphql's Issues

Create deployable GraphQL server

Overview

The goal is to have a repo with a "Deploy to AWS" button so that anyone can deploy a GraphQL server using their own AWS account credentials and connect to a database. We'll start with a connection to RDS (relational DB; PostgreSQL) so that we can set up and deploy an official GraphQL server.

Tasks

  • Set up development environment
  • Configure DB connection
  • Set up Deploy to Button (not sure what this entails, so please expand)
  • Deploy official OBDB GraphQL server

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.