Skip to content

App for election information gathering about voters and their most important topics using Angular.

License

Notifications You must be signed in to change notification settings

bostrot/wahlapp

Repository files navigation

Wahlapp

About

This project was made for a local election to gather information about voters and their most important topics using 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 <this_project>
cd <this_project>
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.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Help

Contributions are welcome.

About

App for election information gathering about voters and their most important topics using Angular.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published