There’s some good info here about creating a booking system in your app. Could probably be modified to show availability of time slots.