Show Me Beer is an unfinished application built using React, Redux, Webpack and Firebase 3.x that shows you what beers are being sold at pubs in London. It is still in progress and is meant more of a side project to test out new packages and ideas, rather than a production ready project. All the beers and locations are being served up by Firebase, more locations need to be added...but the thought is there.
You can login using Google authentication and save the beers you like by clicking on the stars next to the beer! This will write your saves to the Firebase DB. You can also create beers and locations which will automatically update both lists.
git clone
the reponpm install
to get the node_modules foldernpm start
to initialize the app- visit http://localhost:8080/
These rules are applied to the code using the .eslint.json
file in the root of the project. I am also running an atom package named linter-eslint which provides an interface to eslint.
(0 = off, 1 = warn, 2 = error)
no-var: 2
- require let or const instead of varconstructor-super: 2
- make sure every constructor has a super()no-trailing-spaces: 2
- disallow trailing whitespace at the end of linesmax-len: 0
- ignore the maximum line lengthno-underscore-dangle: 0
- allow dangling underscores in identifiers such as_variable
linebreak-style: 0
- ignores consistent linebreak style as we may be using both unix & windowscomma-dangle: [ 2, "never" ]
- disallow trailing commas in object literalsindent": [ 2, 4 ]
- will throw an error if the line is not indented with a tab (4 spaces in this case)quotes: [ 2, "single" ]
- single quotation marks within a stringsemi: [ 2, "always" ]
- enforce semi colons at the end of statementsno-console: 0
- allows console.logs to be added in the code
pre-commit is being used to catch any errors when trying to commit code with errors. The eslint rules above need to be adhered by.