Coder Social home page Coder Social logo

simple-votes-checker's Introduction

Simple-Votes-Checker

So this is a first commit of the Simple Votes Checker tool. The tool is quite basic, but some thought has been put behind the coding. Specifically, this project leverages the Namadexer DB to deliver data to a simple PHP application. The use in the Namada ecosystem is primarily (atm) the ability to see votes cast in governance and perhaps even more importantly, to see which proposals others have voted on, that the particular wallet in question has not yet voted on themselves, ie a sort of task list for pending votes.

Prerequisites

The installation is pretty straightforward, but there are some prerequisites:

  1. A working namadexer installation which serves a Postgre SQL database
  2. PHP 8.1+, installed with either Apache or nginx, or another suitable webserver, with Postgre SQL module

Installation

  1. Place all php files in the package in the same directory, which is the directory served by your php-enabled webserver
  2. Make sure php actually parses files before proceeding to the next step, as otherwise it could be a big security risk
  3. Edit the db_settings423.php-file, and input the appropriate values for your local setup.
  4. The pages should run out of the box if everything above is satisfied

Further

People are welcome to contribute to this repo, or fork to their own and use in any further development.

simple-votes-checker's People

Contributors

opsecx avatar

Stargazers

 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.