https://github.com/bostrot/wahlapp
App for election information gathering about voters and their most important topics using Angular.
https://github.com/bostrot/wahlapp
angular election information voter voter-engagement voting voting-application
Last synced: 8 months ago
JSON representation
App for election information gathering about voters and their most important topics using Angular.
- Host: GitHub
- URL: https://github.com/bostrot/wahlapp
- Owner: bostrot
- License: gpl-3.0
- Created: 2021-04-05T15:24:28.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-04-05T15:33:51.000Z (over 4 years ago)
- Last Synced: 2025-01-12T08:16:41.156Z (10 months ago)
- Topics: angular, election, information, voter, voter-engagement, voting, voting-application
- Language: TypeScript
- Homepage: https://erictrenkel.com
- Size: 2.55 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Wahlapp
### About
This project was made for a local election to gather information about voters and their most important topics using [Angular CLI](https://github.com/angular/angular-cli) version 10.0.3.
It was made primarily for mobile use so PWA is supported.
As shown in the screenshots the pages/screens are made as following:
1. Little introduction, some headings and program information 2
2. Voters most important topic selection/survey and some personal infos
3. Some options to submit some more information
4. An overview about other peoples important topics

### Getting started
This projects consists of a frontend written in angular and a backend with expressjs.
The frontend can be hosted on a static page like Github pages after it has been build (`npm run build` then copy the content from the build directory). For quick debugging, testing you can just do this:
git clone
cd
npm i
npm run start
It should now be accessible under `localhost:4200`.
For the backend/api with docker compose:
cd api/
npm i
docker-compose up -d
### Development server
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
### Code scaffolding
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
### Build
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.
### Running unit tests
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
### Running end-to-end tests
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
### Help
Contributions are welcome.