Giter Site home page Giter Site logo

rayriffy / rayriffy-vote Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 1.78 MB

Simple real-time voting web application with take an avantage of Firebase Authentication and Firebase Firestore

License: MIT License

TypeScript 95.68% JavaScript 4.32%
firebase firestore react voting

rayriffy-vote's Introduction

Riffy Vote

Simple real-time voting web application with take an avantage of Firebase Authentication and Firebase Firestore

Requirements

  • Node LTS

Installation & Set-up

  1. Create a firebase project that you wish to deploy into.

  2. Create some initalize data in Firestore with following data

Document Path Value
/system/admins/uids []
/system/votes/open false
  1. Copy Firebase SDK configuration into .env file and evnironment variables of your production Node (Example can be found at .env.example)

  2. Deploy by using firebase-tools

firebase deploy
  1. After deployment go to /admin URL and authenticate once

  2. When unauthorized screen appear, go to Firebasse Console and copy your User UID located at Develop / Authentication tab

  3. Add User UID into Firestore /system/admins/uids array and make sure there's no empty value in array (just in case)

Contributing

We welcome all contributions by sending PR to this repository.

Need Help ?

If you need help with anything, here're following methods:

Create an Issue

If you have something you want to discuss in detail, or have hit an issue which you believe others will also have in deployment or development of the system, opening an issue is the best way to get help. It creates a permanent resource for others wishing to contribute to conversation.

Donations

If you like my project, please supporting me by buying some coffee

rayriffy-vote's People

Contributors

dependabot[bot] avatar rayriffy avatar

Stargazers

 avatar

Watchers

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