Giter Club home page Giter Club logo

brewery-project's Introduction

brewery-project

This website allows a user to get basic brewery information from the database Open Brewery DB. When a user first loads the site the first 50 Brewerys from the database are loaded and displayed on the lefthand side of the screen. The user has the ability to click on any brewery in the list to populate all the information about the brewery.

If the brewery the user is looking for is not on the initial page they have multiple options to choose from. First there is a next page button they can click. This button will populate the next 50 breweries in the database. This button will only be available if there are more breweries in the database. A previous page button will also become available once the user moves past the first 50 breweries.

This is a very large database so the user can narrow there search by first choosing a sorting method(state or brewery type). Once they have selected which method to sort by another dropdown menu will appear allowing the user to further narrow there search.

for navigation around this repository the

fetch.js

handles all the Get requests to Open Brewery DB

index.js

handles populating the brewery list, brewery data when clicked, and any reviews made about the brewery

pages.js

handles functionality and visibility of the next and previous page buttons

sort.js

This is where the magic happens. This file handles the functionality and visibility of the select sorting elements. This file also takes data based on the choices the user makes saves it into an object that will later be used to make another get request to our database.

brewery-project's People

Contributors

toxicity1314 avatar hamzahrushdan avatar

Stargazers

 avatar

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.