robertgz / sdvv-frontend

Frontend for Voter's Voice website

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

Welcome to the San Diego Voter's Voice Initiative! We are a coalition of non-partisan organizations working together to create a website that will provide transparency for campaign contributions and expenditures with local San Diego candidates.

Organizations Involved in the Project

Links

Background Information

Currently, campaign finance information for candidates running for local offices as well as money spent by outside groups to support or defeat them is not readily accessible to the public. When the amount of money being spent as well as the source is not known, voters feel disenfranchised by the election process. Making campaign finance data easy to find and read will increase public trust and confidence in the election process.

For more information with Voter's Voice Initiative visit https://sdvotersvoice.org/

Prerequisites

  • Angular CLI 13.1.2+
  • npm 8+

Setup

  1. Clone directory from github

  2. change to the sdvv-frontend directory

cd sdvv-frontend
  1. Run npm install to install all the dependencies
npm install
  1. Install the Angular CLI
npm install -g @angular/cli
  1. Build the libraries at least once. This will build them into the /dist folder.
npm run build:lib

If you are modifying a component in a library then you can run either library in watch mode using:

npm run start:lib:ui:charts
npm run start:lib:ui:components
  1. Start the Angular server then browse to http://localhost:4200/
npm run start

Or to start the server and open the application in the browser.

ng serve --open

To run the application and connect to backend database on Heroku use:

npm run start:db:remote

Contributing

Contributing

About

Frontend for Voter's Voice website

License:MIT License


Languages

Language:TypeScript 80.3%Language:SCSS 8.9%Language:HTML 8.3%Language:JavaScript 1.9%Language:CSS 0.5%