{"id":16325492,"url":"https://github.com/tynes/congress-source","last_synced_at":"2025-06-13T05:32:12.894Z","repository":{"id":104848447,"uuid":"60499083","full_name":"tynes/congress-source","owner":"tynes","description":"Some simple info about congress members","archived":false,"fork":false,"pushed_at":"2016-10-11T17:14:27.000Z","size":789,"stargazers_count":0,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-14T21:16:25.226Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tynes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2016-06-06T04:43:56.000Z","updated_at":"2018-02-20T22:25:05.000Z","dependencies_parsed_at":"2023-07-07T20:32:58.693Z","dependency_job_id":null,"html_url":"https://github.com/tynes/congress-source","commit_stats":{"total_commits":219,"total_committers":1,"mean_commits":219.0,"dds":0.0,"last_synced_commit":"420c085d2335dfb4a74bd8ad60713781b41b2877"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tynes/congress-source","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tynes%2Fcongress-source","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tynes%2Fcongress-source/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tynes%2Fcongress-source/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tynes%2Fcongress-source/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tynes","download_url":"https://codeload.github.com/tynes/congress-source/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tynes%2Fcongress-source/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259589105,"owners_count":22880910,"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":[],"created_at":"2024-10-10T23:05:08.345Z","updated_at":"2025-06-13T05:32:12.871Z","avatar_url":"https://github.com/tynes.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# congress-source\n\n## Philosophy/Intent\nWith the spectacle that is US Politics and our momentum as a society, there has never been a\nmore important time to be informed about our politicians. Technology can be used to help\nprovide transparency and level out the playing field between different groups, and I would\nlike to see more of this philosophy applied to politics. I built this web application to provide\ntransparency into who is representing us - fulfilling our own personal needs and desires takes\ntoo much effort to stay fully informed about politics - therefore staying on top of politics\nought to be made easier.\n\n## Congress Source!\n![Main Page](http://i63.tinypic.com/2ufbo6x.png \"Logo Title Text 1\")\n\n### Features\n- Search through members of the US Government  \n- Filter by Political Party (Currently only supporting the Republicans and Democrats, the parties that the US Government supports)  \n- Search by State or Name  \n- Responsive Material Design \n- Pagination system  \n- Display timer ticking down to when that person's seat is up for election on tap (mobile) or mouseover  \n\n### Responsive Design  \n![responsive2](https://cloud.githubusercontent.com/assets/6626818/19016964/a22b287a-87de-11e6-856e-80d1f152eb17.gif)  \n\nI originally wanted to display each member's approval rating along with how long that person is still in office.\nThose 2 pieces of information are really interesting when portrayed together. Unfortunately, I was not\nable to find a free and good source for individual member's ratings. If you know of any sources for that kind of\ndata, please contact me at mark.tyneway@gmail.com and I would love to chat!  \n\n### Tech Stack\n- React  \n- Sass  \n- Node/Express  \n- MongoDB  \n\n### API\nTo get data from the database:\n```\nGET /search\n```\nQuerystrings are used to return the appropriate data  \n\nThe search query:  \n``/search?query=QUERY_HERE``\n\nTo differentiate searching by name or state:  \n```/search?searchBy=name``` or ```/search?searchBy=state```  \n\nTo add a party filter:  \n```/search?party=Republican``` or ```/search?party=Democrat```  \n\nThe pagination queries use begin \u0026 end:  \n``/search?begin=0\u0026end=8``  \n\nAny of the querystrings can be mixed and matched for results\n\nTODO:\nFigure out the Dockerfile\nFigure out how to build the DB for deployment\nI added a /test path that invokes the searchMethods.buildDB()\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftynes%2Fcongress-source","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftynes%2Fcongress-source","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftynes%2Fcongress-source/lists"}