Skip to content

dchirst/pretcrawl

Repository files navigation

Pret Crawl Logo

The Pret Crawl is a web site for those who frickin' love Pret A Manger.

The site allows users to create their own bespoke Pret Crawl, where they travel from A to B visiting Prets along their routes.

Anyone with the Pret Coffee Subscription can get up to 5 drinks a day from any branch, with a 30 minute gap between each one. Therefore, to maximise coffee drinkage on a long walk, they must visit Prets positioned ~30 minutes apart.

This app makes it easy - simply pick your start and end points, and a patent-pending pret-finding algorithm will select the optimal branches for you to visit.

Pret Crawl Screenshot

Visit the website here to try for yourself

Installation

This site was built as an Azure static web app. To run the code locally, download the Azure SWA CLI, navigate to the repo, and run:

swa start --api-location=api

Contribution

This app is under active development as a fun hobby, so will likely have some bugs. Feel free to contribute by submitting a PR if you feel like helping.

Thanks to Jonty's Pretadata for providing the starting data for this silly little app.

Disclaimer

This app has no affiliation whatsoever with Pret A Manger.