I built a little something on my day off after the UK government decided not to extend free school meals to children during the October half-term.
Although children do not normally receive free school meals outside of term time, the unprecedented economic situation caused by COVID-19 and mass layoffs means that many parents face the very real threat of being unable to feed their children properly over the coming week.
@MarcusRashford started an initiative to encourage local businesses to step in to fill the gap left when the government failed.
The site allows parents to quickly identify businesses near them who will feed their children for free over the coming week.
You can check it out at https://free-meals.glitch.me
For performance reasons, and to minimise the API calls out to Airtable, locations are synced into a local SQLite database, which is cached in memory for thirty seconds (theoretically if the server was persistent, it would be enough to cache in memory until the next sync with Airtable, but Glitch may spin this site down for inactivity, so we can't rely on in-memory stores).
On the front-end, the site uses Leaflet.js and the Geolocation API, but no user data is sent back to the server.
- Node.js (with NPM)
- Clone the project (or remix on Glitch)
npm run start