Skip to content

AndyBowerman/punk-api-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Punk API

Website Description

The site showcases brewdogs range of beers and non-alcoholic drinks. Each drink has a card with a small amount of information on the main page and a more detailed individual page when you select more information.

Features

Users can search by name and filter results by alcohol level, acidity and beers brewed before 2010. Each beer has a specfic page holding more information.

Build

The site is built in React splitting logic between pages & containers and rendering reusable components. The Home page is responsible for the functions that receive the filters and serch terms from the navbar and in turn pass these down to the card list so the results can be filtered. The card list renders the results from the API, mapping over the array and producing a card for each result. Routing allows the user to access a specific page for each beer. Using query params and the id of each item of the array a page is generated that recieves the information of the beer with a matching ID. The beer info page then renders information about the selected beer.

Design

The site is fully responsive allowing users to view on a variety of screen sizes. I've used media queries to alter the layout at a number of break points. On screen over 560px a showcase image is displayed with the nav bar fixed in position at the top of the page. On smaller screens the nav bar isn't fixed and the image doesn't display. I've used a clean style with shades of grey, white and black and box shadow used to highlight certain elements.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published