🇪🇺 Vue.js powered voting application. Issues are tracked @ https://git.verdigado.com/NB-Public/kandimat/issues
bin | ||
public | ||
resources | ||
src | ||
tests/unit | ||
.browserslistrc | ||
.editorconfig | ||
.eslintrc.js | ||
.gitignore | ||
babel.config.js | ||
jest.config.js | ||
package-lock.json | ||
package.json | ||
postcss.config.js | ||
README.md |
EUROMAT
A Vue.js powered, progressive web voting application for upcoming European elections. EUROMAT is hosted on Netlify and uses the Netlify CMS for easier collaboration.
Calculation Model
The calculation model for voting has been defined by the German Federal Agency for Civic Education (Bundeszentrale für politische Bildung). A good overview can be found in this PDF: resources/Rechenmodell des Wahl-O-Mat.pdf
.
Embedding Euromat
It's possible to embed Euromat via an iframe and setting query parameters:
<iframe
id="euromat-2019"
title="Euromat 2019"
width="500"
height="300"
src="https://euromat.info/de/theses?embedded=iframe">
</iframe>
⌨️ Development
This is a Vue.js progressive web application, developed with @vue/cli
.
Command | Description |
---|---|
npm install |
Installs dependencies |
npm run serve |
Serve with hot reload at localhost:8080 |
npm run build |
Build for production with minification |
npm run test:unit |
Run all unit tests |
npm run lint |
Runs standard over all .js and .vue files |
npm run svg |
Creates all SVG files used in the application |
npm run admin |
Creates config.yml for Netlify CMS admin UI |