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 startrun the botnpx prisma generategenerate the prisma client from the schemanpx prisma studiolaunches a dashboard over the data and supports filtering/creating objects etcnpx prisma formatformats the schemaflyctl logssee the application logs (not available in Logtail, since there isn't any log drains)