{"id":20338037,"url":"https://github.com/codeforfoco/cerp-webview","last_synced_at":"2025-04-11T23:09:41.832Z","repository":{"id":84879646,"uuid":"108481604","full_name":"CodeForFoco/CERP-webview","owner":"CodeForFoco","description":"Community Elections Resources and Polling Tool ","archived":false,"fork":false,"pushed_at":"2018-12-07T02:52:41.000Z","size":45,"stargazers_count":2,"open_issues_count":0,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-11T23:09:17.650Z","etag":null,"topics":["civic-hacking","code-for-america"],"latest_commit_sha":null,"homepage":"https://cerp-code-foco.herokuapp.com/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CodeForFoco.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-27T00:53:09.000Z","updated_at":"2019-01-05T18:05:45.000Z","dependencies_parsed_at":"2023-03-02T18:30:22.084Z","dependency_job_id":null,"html_url":"https://github.com/CodeForFoco/CERP-webview","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeForFoco%2FCERP-webview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeForFoco%2FCERP-webview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeForFoco%2FCERP-webview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeForFoco%2FCERP-webview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeForFoco","download_url":"https://codeload.github.com/CodeForFoco/CERP-webview/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248492868,"owners_count":21113163,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["civic-hacking","code-for-america"],"created_at":"2024-11-14T21:11:26.738Z","updated_at":"2025-04-11T23:09:41.827Z","avatar_url":"https://github.com/CodeForFoco.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CERP-webview\n\n[![Build Status](https://travis-ci.org/CodeForFoco/CERP-webview.svg?branch=master)](https://travis-ci.org/CodeForFoco/CERP-webview)\n[![Coverage Status](https://coveralls.io/repos/github/CodeForFoco/CERP-webview/badge.svg?branch=master)](https://coveralls.io/github/CodeForFoco/CERP-webview?branch=master)\n\n\u003e The webview for the CERP project.\n\u003e See [CERP-backend][backend] for the backened.\n\nCommunity Elections Resources and Polling Tool\n\nProvide information on local elections, politicians, issues, and political outcomes. Visualize and share results.\n\nElection information should be available to citizens in an easy to understand, fun to explore, and overall interesting way so that our community can better understand itself and its political past, present, and future.\n\n#### Election Information\n\nLarimer County provides information about elections at a precinct level, but the information is provided as a table of statistics. We are striving to improve the explorability of the data by building a website that lets Larimer County citizens view results on a map, compare precincts, and discover ways to reach out to elected officials.\n\n#### Detailed Project Requirements\n\n1. Show election information on a heat map of precincts in Larimer County.\n2. Display all election outcomes for a precinct on the same page.\n3. Allow different \"views\" of the data to be shared via hyperlinks.\n\n## Getting Started\n\nFor a detailed explanation on how things work, check out the [guide](vue-webpack) and [docs for vue-loader](vue-loader-docs).\n\n### Initial Steps\n\nThese steps only need to be performed once.\n\n#### Verify Required Applications\n\nThis project is confirmed to work with a minimum of `node 6.11.3` and `npm@3.10.10`. If you do not wish to install the minimum [version of Node][node-releases] system-wide, you have a couple of options:\n- [nvm (Node Version Manager)][nvm] **(recommended)** allows you to use multiple versions of Node and `npm` on the same machine. Once you have followed the installation instructions, run:\n    ```bash\n    nvm install\n    ```\n    ...to automatically set the appropriate versions for this project.\n- [Docker][docker] is a more complex alternative that will not be covered here, but feel free to use it or any other method you want.\n\n#### Dependencies/Packages\n\nInstall `npm` dependencies:\n\n``` bash\nnpm install\n```\n\n#### Set the API Source\n\nIn *src/config.js*, uncomment the applicable option (and comment the other two) for `API_LOCATION`:\n\n| Option                                 | Scenario                                                                                     |\n|----------------------------------------|----------------------------------------------------------------------------------------------|\n| `http://localhost:5000`                | Front **AND** back end development (be sure to [start the Python server][backend-serve] first)   |\n| `https://cerp-code-foco.herokuapp.com` | **Front** end development                                                                        |\n| `''`                                   | Building for **production**. *DON'T FORGET TO CHANGE CONFIG TO THIS IF BUILDING FOR PRODUCTION.* |\n\n## Developing\n\nOnce you have completed the initial setup steps above, follow these instructions to start developing.\n\n### Start the Server\n\nTo start a local web server with hot reload (browser will refresh automatically when files are changed) at [localhost:8080](http://localhost:8080):\n\n``` bash\nnpm run dev\n```\n\n### Running Tests\n\nSeveral commands exist for periodically running various tests on the code:\n\n- **Unit:** `npm run unit`\n- **e2e:** `npm run e2e`\n- **All:** `npm test`\n\n### Building and Testing\n\nBuilding the project is a step for individuals responsible for updating the production environment. Before running these steps, please be sure you have cloned [CERP-backend][backend] as the build expects the directory.\n\nTo periodically build the project for production with minification:\n\n```bash\nnpm run build\n```\n\nOr, to build for production and view the bundle analyzer report:\n\n```bash\nnpm run build --report\n```\n\n## Contributing\n\nWe welcome new contributors.  Be sure to check out guide on [contributing][contributing], which includes instructions on how to fork, clone, branch, commit, pull request and sync your fork.\n\nNot sure where to start? Look for [open issues][githubissue] on GitHub, or message the team on [our Slack site][slack]. If you aren't on our Slack, [click here for an invite][slackinvite].\n\nTL;DR Contribution Workflow:\n\n1. [Fork][fork] this repository and Clone your fork locally.\n1. Checkout a new branch on which to make your changes.\n1. Make edits. Try to match existing coding style.\n1. Test your changes.\n1. Commit your changes. Push your changes to your fork on GitHub.\n1. Submit a new [pull request][pullrequest] and your changes will be reviewed and merged.\n\n\n## Bugs / Feedback / Suggestions\n\nWe encourage you to [open up an issue][newissue] if you have any feedback, suggestions or bugs.\n\n## License\n\nMIT, see [LICENSE](/LICENSE) for full license.\n\n[slack]: https://codeforfoco.slack.com/\n[slackinvite]: https://codeforfocoslack.herokuapp.com\n[fork]: https://help.github.com/articles/fork-a-repo/\n[forkthisrepo]: https://github.com/CodeForFoco/CERP-webview#fork-destination-box\n[contributing]: https://github.com/CodeForFoco/org/blob/master/CONTRIBUTING.md\n[githubissue]: https://github.com/CodeForFoco/CERP-webview/issues\n[newissue]: https://github.com/CodeForFoco/CERP-webview/issues/new\n[pullrequest]: https://github.com/CodeForFoco/CERP-webview/pulls\n[backend]: https://github.com/CodeForFoco/CERP-backend\n[backend-serve]: https://github.com/CodeForFoco/CERP-backend#start-the-server\n[docker]: https://www.docker.com/\n[nvm]: https://github.com/creationix/nvm\n[node-releases]: https://nodejs.org/en/download/releases/\n[vue-webpack]: http://vuejs-templates.github.io/webpack/\n[vue-loader-docs]: http://vuejs.github.io/vue-loader\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeforfoco%2Fcerp-webview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeforfoco%2Fcerp-webview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeforfoco%2Fcerp-webview/lists"}