Code Monkey home page Code Monkey logo

firebasevoting's Introduction

Vote for your favorite dog!

App that allows users to vote for their favorite dog breed. Each user can only vote once and votes are tracked in real time (updated without refreshing the page).

How it's made:

  • HTML
  • CSS
  • JS
  • Firebase Realtime Database

Reflections and Lessons Learned:

This was a really neat exercise in using a new (to me) tech in firebase. It was extremely easy to use, and the documentation was very straight-forward which was helpful in getting the application running.

Optimizations

As it stands, local storage is used to track which users have voted. This is of course a huge flaw! So future implementations we can look into fixing this issue. We can do this by adding authorization and tracking users and their votes.

Errors and bugs

If something is behaving weirdly or unexpectedly, it is a bug! Please report it here.

Running locally

  • Create a firebase account
  • Create a file called firebaseConfig.js and add your config variables to that page and export them as firebaseConfig

firebasevoting's People

Contributors

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