Giter Site home page Giter Site logo

robertgz / sdvv-frontend Goto Github PK

View Code? Open in Web Editor NEW

This project forked from opensandiego/sdvv-frontend

0.0 1.0 0.0 22.99 MB

Frontend for Voter's Voice website

License: MIT License

JavaScript 1.99% TypeScript 78.80% HTML 8.35% SCSS 8.91% CSS 0.54% MDX 1.31% Dockerfile 0.09%

sdvv-frontend's Introduction

Transparency Dashboard for San Diego City elections

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/

Data Source

The campaign finance data used in this site is sourced from publicly available campaign disclosure data provided by the City of San Diego's Electronic Filing System.

Prerequisites

  • Angular CLI 16+
  • npm 9.8+
  • node 18+

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

The easiest way to run the site locally is to have it access the data using the remote development backend hosted on Heroku. This does not require the backend or database to be run locally. To do this use:

npm run start:db:remote

Contributing

Contributing

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.