Git Product home page Git Product logo

voterify's Introduction

voterify

This is the public repo of the live site hosted here: http://votery.org
The goal is to make an easy way for people to vote using cell phones and SMS.

Colaboration is welcome.

In order for this project to run locally, you'll need to contact me for the API secrets folder in /functions/
voterify at g mail

Download Architecture Map compliments of LucidChart.com

Project setup

This project is based on Google Firebase, Vue JS and Bulma.
Run Prettier extensions on save.

SSH

Create an SSH key where you plan to work

  • ssh-keygen - create the key, usually in .ssh/id_rsa
  • Add the key to GitHub
  • Start ssh agent eval "$(ssh-agent -s)"
  • Add your ssh to shh agent ssh-add
  • Check if your ssh is already added ssh-add -l

Firebase

Install firebase tools globally

  • npm install -g firebase-tools
  • firebase login - login to firebase
  • if running firebase inside a container run firebase login --no-localhost instead
  • install functions/secrets/firebase-secrets.json
    • goto https://console.firebase.google.com
    • select Votery project and click Project Settings gear
    • click service accounts
    • click Generate new private key
    • download the json and rename it to firebase-secrets.json
    • copy firebase-secrets.json to @/functions/secrets
  • run firebase use --add

Installation

yarn
cd functions
yarn

Compiles and hot-reloads for development

yarn serve

Compiles and minifies for production

yarn build

Deployment

firebase deploy

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.