Public domain code that collects data about bills from the U.S. Congress.
This code has been ported to NodeJS from the unitedstates/congress project.
- Install package dependencies
npm install- Install Serverless Framework
npm install -g serverless-
Setup Serverless Framework With AWS Credentials https://www.serverless.com/framework/docs/providers/aws/guide/credentials/
-
Deploy service
sls deploy- Run bill fetcher
sls invoke -f fetchBillsThis will start the download process. All XML and JSON data will be in an S3 bucket with a name starting with "congress-"