Deployed at https://projects.wyofile.com/election-guide-2024
This site is an election guide for federal and state candidates in the state of Wyoming, built for the independent member-supported news service WyoFile. Development was completed by Tom Musselman. It was heavily influenced (with permission) by Eric Dietrich's app for Montana Free Press
Question about the code can be directed to Tom Musselman ([email protected]), and about the project and editing to Tennessee Watson ([email protected])
It is a front-end only static export Next.js app, deployed via AWS S3 with Cloudfront CDN.
It uses OpenLayers for the interactive district map. Shapefiles files for district lines were provided by the US Census Bureau and compressed and converted into GeoJSON.
News article content is fetched and cached using SWR from the Wordpress REST API. All other data is converted from CSV files into JSON objects and imported.