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.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Node.js - Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
- Clone the repo git clone https://github.com/fcegatti/dHondtApp.git
- Install NPM packages npm install
- Start the server npm start
To use dHondtApp, follow these steps:
- Start the server with
npm start
. - Open a web browser and navigate to
http://localhost:3000
. - Fill out the election form with your election type, chamber, autonomous community, and province, and add parties with their votes.
- Click the "Calculate Seats" button to get the distribution of seats.
This project does not currently include any tests. When they are added, instructions on how to run them will be included here.
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.
The dHondtApp is open-source software licensed under the MIT license.
For more information, feel free to contact me at: