All Projects → devcongress → elections-api

devcongress / elections-api

Licence: other
Serving JSON for all elections since 1992

Programming Languages

ruby
36898 projects - #4 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to elections-api

Mat-O-Wahl
🇩🇪 Mat-O-Wahl - Ein einfach zu bedienender, freier Open Source Wahl-O-Mat Klon fuer jedermann ### 🇬🇧 🇺🇸 A simple to handle, free "Voting Advice Application" / "Electoral Compass" alternative
Stars: ✭ 27 (+68.75%)
Mutual labels:  democracy, elections
made-in-ghana
Open-source projects from Ghana.
Stars: ✭ 36 (+125%)
Mutual labels:  ghana, devcongress
Oss In Browser
Play with OSS, right in browser!
Stars: ✭ 158 (+887.5%)
Mutual labels:  oss
IconPacks.Browser
The Browser for all available Icon packages from MahApps.Metro.IconPacks
Stars: ✭ 74 (+362.5%)
Mutual labels:  oss
Go Fastdfs
go-fastdfs 是一个简单的分布式文件系统(私有云存储),具有无中心、高性能,高可靠,免维护等优点,支持断点续传,分块上传,小文件合并,自动同步,自动修复。Go-fastdfs is a simple distributed file system (private cloud storage), with no center, high performance, high reliability, maintenance free and other advantages, support breakpoint continuation, block upload, small file merge, automatic synchronization, automatic r…
Stars: ✭ 2,923 (+18168.75%)
Mutual labels:  oss
Uptoc
A static file deployment tool that supports multiple platforms./ 一个支持多家云厂商的静态文件部署工具
Stars: ✭ 159 (+893.75%)
Mutual labels:  oss
guide
Maintenance Guidelines for GitHub/npm organization.
Stars: ✭ 12 (-25%)
Mutual labels:  oss
Artify Macos
🌎 18th century Arts for everyone
Stars: ✭ 140 (+775%)
Mutual labels:  oss
fossresponders.com
The website for FOSS Responders
Stars: ✭ 20 (+25%)
Mutual labels:  oss
Code Samples
Just some code samples for MahApps and other experiments...
Stars: ✭ 205 (+1181.25%)
Mutual labels:  oss
Kap
An open-source screen recorder built with web technology
Stars: ✭ 14,488 (+90450%)
Mutual labels:  oss
Carte
🍴 Open source license notice view generator for Swift
Stars: ✭ 167 (+943.75%)
Mutual labels:  oss
awesome-democracy-data
A curated list of awesome data sources related to elections, electoral reforms, and democratic political systems.
Stars: ✭ 59 (+268.75%)
Mutual labels:  elections
Netease Cloud Music Community
参照网易云音乐云村做的一个小程序社区,后端技术栈为Java,SpringBoot,MySQL,Redis,前端技术栈为uni-app。欢迎吐槽。
Stars: ✭ 157 (+881.25%)
Mutual labels:  oss
portal-web-legacy
The web client for the JOSA portal.
Stars: ✭ 15 (-6.25%)
Mutual labels:  oss
Codefund
Deprecated. Please go to https://github.com/gitcoinco/code_fund_ads
Stars: ✭ 140 (+775%)
Mutual labels:  oss
Redmine issue templates
Maintenance Repository - https://github.com/agileware-jp/redmine_issue_templates
Stars: ✭ 181 (+1031.25%)
Mutual labels:  oss
ama
Ask Tanay questions about life, career, programming or anything. 🤔 He'll try his best to come up with a satisfactory answer.
Stars: ✭ 50 (+212.5%)
Mutual labels:  oss
FactoryOrchestrator
A cross-platform system service which provides a simple way to run and manage factory line validation, developer inner-loop, diagnostics, and fault analysis workflows.
Stars: ✭ 36 (+125%)
Mutual labels:  oss
monitorizare-vot-ios
iOS election monitoring app - a mobile app through which commissioned observers can easily report back to their respective NGOs throughout the election day
Stars: ✭ 17 (+6.25%)
Mutual labels:  elections

Elections Api · Build Status Test Coverage Code Quality Issues

The Elections API project is a collection of endpoints to retrieve json-formatted elections-related data in Ghana since 1992.

This project is an initiative of DevCongress.

What you need

  • Ruby: This project uses Ruby v 2.4.1, we try to stay on the latest stable or releast candidate version. We try to stay on the latest stable or release candidate. rbenv is pretty easy to set up but there's other equally good ruby version management tools out there. Choose which one works for you.

  • Bundler: You can grab the latest version of the bundler by running gem install bundler. You will need this to grab all the dependencies of the application.

  • Postgres: There's a PostgreSQL for most operating systems. Follow the instructions here to install it on your box. PostgreSQL comes with an initializer script that hooks into start up. So the PostgreSQL server is always running in the background. Otherwise you can start it with this command: $ sudo service postgresql start

  • Git: We use Git and GitHub for version control and collaboration. If you don't have a GitHub account already you can create one here. Follow instructions here to install the latest version of Git for your system.

Project Setup

  1. Clone this repository on your computer with the following command: git clone https://github.com/devcongress/elections-api.git
  2. Run bundle install to grab all the dependencies of the project
  3. Create a copy of the .env.example file in the project root directory, rename it to .env and set the values for ELECTIONS_DB, ELECTIONS_DB_TEST, ELECTIONS_DB_USERNAME, ELECTIONS_DB_PASSWORD variables. All environment variables go into this file.
  4. Run rails db:create to create your database
  5. Run rails db:structure:load to load the db schema.
  6. Run rails server to start your server

How to run the test suite

To run the test suite, run rails test

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Guidelines

Use the following guides for getting things done, programming well, and programming in style.

TODO

  • Deployment Instructions
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].