A React application that displays and navigates through congressional voting records from the House of Representatives.
- Display of recent congressional votes with detailed information
- Bill text links to Congress.gov
- Vote results visualization with progress bars
- Pagination for browsing through votes
- Responsive design for desktop and mobile
- Split view layout with vote list and details
- React with TypeScript
- CSS3 with Flexbox
- Node.js for data processing
- Cheerio for HTML parsing
- Axios for HTTP requests
- Node.js (v14 or higher)
- npm (v6 or higher)
- Clone the repository:
git clone https://github.com/orionnye/HouseOfCongressDateRollList.git
cd HouseOfCongressDateRollList- Install dependencies:
npm install- Start the development server:
npm startThe application includes scripts for fetching and processing vote data:
- Fetch vote data:
npm run fetch-votes- Check available pages:
npm run check-pages- Extract vote data:
npm run extract-votessrc/
├── components/ # React components
├── utils/ # Utility functions
├── backend/ # Data processing scripts
│ └── data/ # Processed vote data
└── App.tsx # Main application component
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Data source: House Clerk
- Bill text: Congress.gov
Fetches vote data from the House Clerk website.
Query Parameters:
page- Page number (default: 1)congressNum- Congress number (default: 119)session- Session (default: '1st')
Example:
http://localhost:3001/api/votes?page=1&congressNum=119&session=1st
This application fetches data from the House Clerk's voting records.