The code that powers huttriver.co.nz.
This project is a super simple React app built with Vite, TypeScript and Material UI. Due to resource and time constraints, the project is not as polished as it could be--it could be wayyy cooler. As such, I'm open to contributions and suggestions!
We're essentially using a Facebook Event page as a headless CMS with the help of the facebook-event-scraper module.
The scraper fetches the event data from the Facebook Event page and saves it to a JSON file. The React app then reads this file and displays the event info.
- Node.js (v20.15.1)
- npm (v10.7.0)
- Clone the repository
cd
into the project directory- Install dependencies with
npm install
- Run the development server with
npm run dev
An additional convenience script is provided in the Makefile to set up Mac dev environment:
make setup_mac