https://github.com/lachlanjc/nrafunded
The NRA is paying off Congress at the expense of lives.
https://github.com/lachlanjc/nrafunded
guns politics react
Last synced: 3 months ago
JSON representation
The NRA is paying off Congress at the expense of lives.
- Host: GitHub
- URL: https://github.com/lachlanjc/nrafunded
- Owner: lachlanjc
- Created: 2016-06-20T01:27:11.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-03-03T00:03:02.000Z (over 2 years ago)
- Last Synced: 2025-03-29T20:51:06.569Z (7 months ago)
- Topics: guns, politics, react
- Language: JavaScript
- Homepage: https://lachlanjc.github.io/nrafunded/
- Size: 3.25 MB
- Stars: 21
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
# NRA Funded
See how much the NRA gives your Congress members — and speak out. Built with React, [Rebass](http://jxnblk.com/rebass), [Geomicons](http://jxnblk.com/react-geomicons), [static-react](https://github.com/jxnblk/static-react), [axios](https://github.com/mzabriskie/axios), and [scrape-it](https://github.com/IonicaBizau/scrape-it).
[**→ Check it out**](https://nrafunded.now.sh)
## Local development
1. Clone the repo
2. `npm install` to install dependencies
3. `npm start` to start the local development server## `npm` Commands
Command | Description
--- | ---
`data` | Scrape and parse the source data for funding, etc. Combines `npm run scrape` and `npm run parse`.
`render` | Render static components. You have to do this after every change to the body or analysis sections (`render:analysis` and `render:body` are also available). This is very much necessary for performance.
`build` | Build the site to `docs/`.MIT license
___
*Another thing by [@lachlanjc](https://lachlanjc.glitch.me).*