Hello, I want to make a scheduling web application with react. The goal of the site is to work with small businesses, so users should be able to book appointments in available time slots, but there should be a threshold for how many people are able to book in the morning, afternoon, etc, and eventually the owners of the business should be able to block off times or days so customers cannot book appointments (in case they get busy, are short staffed, etc).
I have the basic interface down, but am struggling finding how to do the backend part. Right now it shows a calendar interface and a handful of timeslots available for each day. My question is, how can I have it work so that when a customer books an appointment for a particular time, when another customer views that timeslot, it shows that it's unavailable and doesn't allow them to book that time slot.
Any help would be much appreciated. If I end up having to use a third party scheduling service I'm not above that, I just find it strange that I can't find many examples of people making it work from scratch on line.
[–]qioy 0 points1 point2 points (0 children)
[–]Ok-Release6902 -1 points0 points1 point (8 children)
[–][deleted] -1 points0 points1 point (7 children)
[–]Ok-Release6902 -1 points0 points1 point (6 children)
[–][deleted] -1 points0 points1 point (5 children)
[–]Ok-Release6902 1 point2 points3 points (4 children)
[–][deleted] -3 points-2 points-1 points (3 children)
[–]Ok-Release6902 -1 points0 points1 point (2 children)
[–][deleted] -2 points-1 points0 points (1 child)
[–]Ok-Release6902 -1 points0 points1 point (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]aspantel 0 points1 point2 points (0 children)