Coder Social home page Coder Social logo

beerfinder's Introduction

BeerFinder

Brief Description

An app for browsing BrewDog's Punk API with some handy features.

Features

General

  • User knows at all times, that something is being loaded (e.g. spinner/fake content)
  • Application is responsive and works both on desktop and mobile devices

Listing view

  • User can see 20 beers on the first page
  • Each beer on the list displays: name, image, tagline
  • On bigger devices items appear in a grid and on smaller resolutions they wrap in a column
  • User is able to see more beers as she/he scrolls down (infinite scroll)
  • If there are no more items to load user sees that’s the end of the list and no more requests are triggered

Details view

  • Details view is a modal, accessible by clicking on any item on the listing view or by manually entering the page using it’s URL address (e.g. /details/:id)
  • The modal contains the following informations: name, tagline, description, image, brewer_tips, ibu, abv
  • Additionally, modal also lists up to 3 similar beers (e.g. beers with similar IBU/ABV/EBC)

Some more features

  • Custom beer finder, that builds search query from user's preferences
  • Ability to add beers to 'favorites' via localStorage
  • Ability to search for a certain beer
  • Further utilized API in detailed view route (more recommendations, ingredients list)
  • Error handling (wrong input, no search results)
  • Pretty D.R.Y and formatted for readabilty code with comments where necessary
  • More routes and improved layout over the requirements and mocks
  • Made from scratch in under 72h ;)
  • And waaaaay more good stuff!

Further development

  • Some jest/enzyme snapshot tests and even better error handling
  • Further reduction of components' size and reusability improvements
  • Theme toggle from light to dark/high contrast

Prerequisites

If you want to make some changes, first you have to have Node with npm installed.

Installation

After cloning this repository, in the project directory, you have to install dependencies:

npm i

Then you should run:

npm start

App should be running in your browser. Give it a try!

Built With

beerfinder's People

Contributors

krokowski0x 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.