A small bot which scrapes last minutes appointments from Folktandvården Stockholm.
See https://www.folktandvardenstockholm.se/webbokning/boka-sista-minuten/ to test in in the browser.
Built with node & prisma (MongoDB Atlas), and runs on fly.io.
I've added charts in MongoDB 🤯
The deploy is manual - run flyctl deploy
Some useful commands
npm start
run the botnpx prisma generate
generate the prisma client from the schemanpx prisma studio
launches a dashboard over the data and supports filtering/creating objects etcnpx prisma format
formats the schemaflyctl logs
see the application logs (not available in Logtail, since there isn't any log drains)