Inspiration

RepDex helps users find their political representatives based on location, making political representation more accessible and encouraging civic engagement. By using NotionAPI, it allows for much more modularity where the user can search, sort, and organize based on their civic needs.

What it does

It fetches representatives’ data from the Google Civic Information API, extracting key details like name, office, party affiliation, and contact information, which are stored in a Notion database for easy access.

How we built it

RepDex is built with JavaScript and Node.js, utilizing Notion API for data storage, Google Civic Information API for retrieval, and Axios for API requests while securely handling API keys with dotenv.

Challenges we ran into

I tackled duplicate entries, validated representative image URLs (because their unfortunately was not a lot of image data), managed API rate limits, and structured data for consistency in Notion.

Accomplishments that we're proud of

I successfully integrated multiple APIs, implemented robust data validation, and created a scalable system for efficient political representation tracking. I am proud that I submitted in time.

What we learned

I improved API request management, structured political data effectively, optimized Notion API usage, and enhanced error handling for API-dependent applications.

What's next for RepDex

Future plans include a user-friendly UI, enhanced data visualization, automated updates, multi-platform support, and community engagement features. I would also like to add more pages including top headlines, upcoming elections/bills, and transportation to local election locations

Built With

Share this project:

Updates