{"id":214,"date":"2023-07-10T10:17:40","date_gmt":"2023-07-10T08:17:40","guid":{"rendered":"http:\/\/192.168.178.139\/?p=214"},"modified":"2023-11-16T18:06:54","modified_gmt":"2023-11-16T17:06:54","slug":"creating-an-airbnb-like-data-mart","status":"publish","type":"post","link":"http:\/\/192.168.178.139\/creating-an-airbnb-like-data-mart\/","title":{"rendered":"Creating an Airbnb-like Data Mart"},"content":{"rendered":"

Airbnb was founded in October 2007, stemming from personal experiences of encountering overpriced shared apartments and fully booked hotels during a crowded conference in San Francisco. The original name, Airbedandbreakfast, was later shortened to Airbnb in 2009. Serving as an online platform, Airbnb facilitates the connection between hosts and guests and assumes responsibility for managing the booking process.<\/p>\n

Transactions are conducted through the platform, with guests making payments for their bookings using credit cards. To ensure that the accommodation matches its description on the platform, hosts receive payment 24 hours after the guest’s arrival. In 2013, Airbnb generated revenue by charging a commission of 6-12% from guests, and 3% from hosts, and amassed a total of $150 million from approximately 10 million overnight stays.<\/p>\n

Every user, whether a host or a guest, creates a profile page on Airbnb. Hosts are required to upload at least one photo and provide a phone number, while guests need to provide more comprehensive information. Hosts have the option to describe their accommodations using text and photos. Both guests and hosts can rate each other based on their experiences. The platform also features a calculator function that allows users to estimate their expected income from their own accommodations.<\/p>\n

To improve my SQL skills, I created a proof-of-concept for the Airbnb use case in the form of a data mart with the following list of requirements:<\/p>\n