datamade / how-to

📚 Doing all sorts of things, the DataMade way
MIT License
89 stars 12 forks source link

Try porting the Judicial Voting Guide to Next.js #378

Open antidipyramid opened 2 months ago

antidipyramid commented 2 months ago

Background

It's likely that we're going to be managing Injustice Watch's Judicial Voting Guides moving forward. Their current deploy process involves a fairly involved Webpack configuration scheme that compiles a static site. Though it works, the compilation is handled "by hand" and is both hard to parse and prone to breaking when updating packages.

Proposal

We used Next.js for Security Force Monitor's Myanmar site. Next.js is a well-maintained, well-documented, and full-featured JS/React/Webpack based framework that can handle much of the intricacies of static site generation for us.

Switching over to Next.js would likely save us a lot of time when maintaining/updating future Judicial Voting Guides along with other static site projects.

Deliverables

Get the 2024 Judicial Voting Guide static site running on Next.js.

Timeline

2 days.