Giter VIP home page Giter VIP logo

node-express-firebase-voting-app's Introduction

node-express-firebase-voting-app

Repository for final app in prep for prep bootcamp. Inspired by https://frontendmasters.com/courses/firebase-react/

Youtube playlist series that anyone can code along with as they build this app from scratch: https://www.youtube.com/watch?v=8YNw8J9Edjk&list=PLJm7_t7JnSjn__VC3sK86o2YlUuwlPKkO

This is by no means a production-ready app and in many ways is not even very well architected. Regardless, it does a decent job of teaching the core concepts of building servers with Node.js and Express.js.

The app uses ejs to render html templates serverside, and the client uses vanilla javascript to make api calls to Firebase for authentication and voting.

Made a few mistakes in how I set up the auth listener in the instructional videos, but this repository should reflect the right changes to avoid redundant code.

DISCLAIMER:

This app's main flaw is that the client asks the window to reload each time a vote is cast. This is because I did not have a chance to teach websockets, so the server can't listen for data from Firebase and update the client when necessary. This is pretty inefficient.

But, it's still valid code and what the heck - the app works! Enjoy.

node-express-firebase-voting-app's People

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.