'Javascript Dynamic Scheduling of Resources
I'm trying to figure out the most efficient way to create schedules for resources. Specifically for a Next.JS application (can use Node.JS and libraries for the backend stuff).
Imagine there are shared resources at work. Resource 1 is available Every Tuesday and Thursday from 10AM to 4PM. I want to be able to create a schedule for this resource and allow people to reserve it during its available times.
The last part would be to allow for exclusion criteria. For example, maybe exclude the last Thursday of the month from the schedule above. This is less important at the moment.
In the end it I should be able to see what the next available dates are minus any reservations, etc.
I'm currently using @breejs/later but am wondering if there is a better way or something that I'm missing. Especially when it comes to reserving the resource, or the exception schedule.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
