Skip to content

fcegatti/dHondtApp

Repository files navigation

dHondtApp

dHondtApp is a dynamic web application for processing electoral data. The application calculates the allocation of seats in various elections using the D'Hondt method. While it currently supports simulations, future versions will include features for storing real election data in a database.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Node.js - Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.

Installing

  1. Clone the repo git clone https://github.com/fcegatti/dHondtApp.git
  2. Install NPM packages npm install
  3. Start the server npm start

Usage

To use dHondtApp, follow these steps:

  1. Start the server with npm start.
  2. Open a web browser and navigate to http://localhost:3000.
  3. Fill out the election form with your election type, chamber, autonomous community, and province, and add parties with their votes.
  4. Click the "Calculate Seats" button to get the distribution of seats.

Running Tests

This project does not currently include any tests. When they are added, instructions on how to run them will be included here.

Contributing

Thank you for your interest in contributing to dHondtApp! Right now, the project is not open to contributions, but keep an eye out for future opportunities.

License

The dHondtApp is open-source software licensed under the MIT license.

Contact Information

For more information, feel free to contact me at:

  • GitHub
  • LinkedIn
  • Email

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published