AirBnB

An app for short term rentals

How would you use CanCan features to build an app like AirBnB ?

To build an app like that you would need the following features:

  • The ability to apply to become a host on your app

  • The ability to book apartments on your app

  • The ability to rate and/or review hosts/guests on your app

  • The ability to take a percentage on hosts' revenue

Becoming a host on your app

To become a host on your app, property owners can partner with your channel and then list their properties on their partner walls directly on your channel. You can read more about doing that on the page below:

Partnerships

Booking apartments on your app

To book an apartment on your app, users first find the apartment that's the best fit for them on your channel's main page under the Items > partners tab like in the image below and then click on it to go to its product's page.

From there the apartment's product page, they can buy it directly, through the stake market or using a valuepool. You can find guides for each one of those cases on the pages below:

Buying Products/ServicesBuying Through The Stake MarketBuying Through Valuepools/DAOs

Rating and/or reviewing hosts/guests on your app

To rate a property, click on the property to go to its product page and enter your rating and review. You can read more about how to do that on the page below:

Reviews

In case you are a host, you can also rate a guest by voting up/down his/her channel. You can read about how to do that on the page below:

Votes

Taking a percentage on hosts' revenues

When listing their properties on their partner walls, hosts will specify the percentage they are willing to give you off of each sale they make. In the image below, the user entered 10 in the referrer fee field meaning he/she will be giving you 10% on each sale.

We can also see that the minimum fee allowed by the channel is 0%. You can change this parameter by following the guide on the page below under the Updating The Minimum Partnership Fee section

Partnerships

You can read more about listing properties (products) on a partner's channel on the page above under the Adding Items To Your Partner Wall section

Last updated