Unofficial Australian GP AstraZeneca Search: https://gpvaccinesearch.com/
Searches HotDoc for nearby GPs, and ranks them by their next available appointment for first AstraZeneca dose.
Rate limited so as not to affect HotDoc. Built in two afternoons, definitely isn't my prettiest code. If it helps get us out of this national emergency one day sooner I'll be very happy.
Hosted on AWS S3 behind Cloudflare and Lambda.
- Official Aus Gov Eligibility Checker
- Unofficial Pfizer appointment finder: https://covidqueue.com/
This is a monorepo of sorts. Frontend code in frontend/
, Express server
in backend/
.
cd backend/
yarn
yarn build
yarn run dev
Starts express server on localhost:3000
For debugging, this might be handy:
ls src/*.ts | entr -rcs "yarn build && WHEREAMI=local yarn run dev"
ARE_WE_DEBUGGING
sets the Access-Control-Allow-Origin
to a localhost debug URL.
cd frontend/
yarn
yarn build
For debugging, set variables in frontend/src/constants.ts
.
This uses the coordinates of Central to find clinics, see comment in
document.addEventListener("DOMContentLoaded", ...
.
Frontend code is compiled and put into dist/
.
You could cd dist
and python -m SimpleHTTPServer
but notice that the geolocation doesn't work without HTTPS.
You can use ngrok
as well for HTTPS (ngrok http 8000
), however you'll hit CORs issues.
Built by Jake Coppinger.
Contact me at [email protected]. My portfolio is jakecoppinger.com.