GithubHelp home page GithubHelp logo

marcelohcortez / beerapp Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.29 MB

Brewery searcher with localStorage favorites functionality

HTML 2.88% TypeScript 74.84% CSS 12.40% JavaScript 9.88%
material-ui react-router-dom reactjs typescript webpack workbox-webpack-plugin

beerapp's Introduction

Beer Wiki

Brewery searcher with localStorage favorites functionality. Implements PWA approach with Workbox so the project can function when 'offline'.

It uses the Open Brewery DB as the API.

The app is fully functional and responsive.

The project doesn't run with Nodejs and Express (purposely), so in order to test the PWA part you can just use the 'serve' as indicated on the instructions.

Tech & 3rd party used in the project:

How to run the project:

  • Clone the repository
  • Install the modules, run
  npm install
  • Since we are not using Nodejs and Express, in the main folder, run
  REACT_APP_API=https://api.openbrewerydb.org/v1/ npm run build
  • And then start the server with the 'dist' folder as the root
  serve -s dist
  • To test the 'offline' functionality, on your DevTools, in the tab 'Network', instead of the option 'No Throttling', select 'Offline'.

The cache stores anything that has been previously fetched in the API, so before going 'offline' visit some areas that fetch content from the API

MIT License GPLv3 License AGPL License

beerapp's People

Contributors

marcelohcortez avatar

Watchers

 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.