Skip to content

jetrosuni/craft-beer-finder-frontend-react

Repository files navigation

craft-beer-finder-frontend-react

Craft Beer Finder PWA made with React

Live demo

https://www.jetrosuni.com/react-beer-finder/

Project setup

npm install
  • Copy the content of .env.example file to .env.local & .env.production.local and make all the needed adjustments (e.g. change the VITE_CRAFT_BEER_FINDER_API_URL value to match the real backend URL).
  • Copy a full set of country coded svg flags to /public/img/flags/ (e.g. from here: https://github.com/hjnilsson/country-flags)

Development

docker compose up
http://localhost:9880

Compiles and minifies for production

npm run build

Backend

  • The backend is not currently OSS
  • Here's an example of the API response structure:
[
  {
    "beerId": 3860521,
    "name": "Brewery - Name of the beer",
    "country": "GB",
    "style": "dark",
    "styleName": "Stout - Imperial \/ Double Coffee",
    "rating": 4.57,
    "ratingCount": 199,
    "venues": [
      {
        "name": "Bar 1",
        "daysAgo": 4
      },
      ...
    ]
  },
  {
    ...
  },
]

Credits

License

Craft Beer Finder by Jetro Suni is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. Based on a work at https://github.com/jetrosuni/craft-beer-finder-frontend-react.

Creative Commons License

About

Craft Beer Finder (React PWA Frontend)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published