The Rapha Festive 500 is a year-end cycling challenge where participants aim to cycle a minimum of 500 km between Christmas Eve and New Year's Eve. For the third year running, 8 Ghent cycling clubs are collaborating to help cyclists achieve this goal.
- Daily social rides from December 24-31
- Start time: 9:30 AM
- Two route options: 75km and 100km
- Accompanied by road captains
- No-drop policy ensuring comfortable group riding
- Three pelotons with varying speeds to accommodate all riders
Each year, the Ghent Festive 500 supports a charity. This year's beneficiary is Sportaround, an organization making sports accessible to everyone. Participants can purchase stamp cards for a voluntary contribution, with 100% of proceeds going to Sportaround.
This repository contains the code for tracking and displaying donations made to Sportaround during the Ghent Festive 500 event.
├── api/
│ └── payment-total.js
├── squarespace_code_blocks/
│ └── countdown_with_donation.html
└── README.md
- Node.js 14+
- Stripe account with API keys
- Vercel account (for serverless function deployment)
- Squarespace website
- Clone the repository:
git clone https://github.com/your-username/ghent-festive-500.git
cd ghent-festive-500
- Install dependencies:
npm install stripe
- Deploy the API function to Vercel:
vercel
Add your STRIPE KEYS as environment variables in the Vercel dashboard.
- Squarespace Integration
Add the html code in squarespace_code_blocks/
as a code block on your squarespace website.