Any good Javascript Hotel Booking tutorials out there?

Hey Brad,

Do you have a live example of what you’re looking to do? There’s quite a lot of different designs for this sort of feature so I’m curious as to what you’re design would look like.

I worked on a restaurant reservation application before and at the core of thing, it’s calendar which it’s main purpose is to collect the dates and time, and then these dates are passed to some sort of booking logic. What I worked on was two seperate components, the frontend UI (calendar) and the backend logic.

I recommend breaking these into to parts - the frontend and then backend. Start off looking at something like https://litepicker.com/ or react-calendar - npm for React. It’s not recommend making the actual calendar from scratch since that is such a pain! The teams I’ve been on have always leverages libraries and customized it from there.

Once you have a working calendar that can pick dates you can then move into the logic code. You might even use something like https://demand.developers.booking.com/ to do the heavy lifting if you want to make a really scalable app. Or you can just use your own database.

1 Like