namillum
Version:
Bubble Protocol SDK
92 lines (61 loc) • 3.36 kB
Markdown
---
id: dev-rentonzilliqa-frontend
title: Introduction to the frontend
keywords:
- react
- rentonzilliqa
- frontend
description: Creating the RentOnZilliqa frontend application
---
---
In this section, we will build the frontend application for accessing
RentOnZilliqa.
The frontend is built using
[](https://github.com/facebook/create-react-app) with
[](https://www.typescriptlang.org) enabled. We rely on
[](https://tailwindcss.com) for styling the application. The setup
for these is freely available on the respective documentations.
Using [ZilPay](https://zilpay.io), we will connect the frontend elements to the
transitions and state of the Smart Contract.
The frontend will consist of a homepage which shows all the available listings.
Details about each listing will be displayed on a separate listing page.
This page lists all the houses that have been posted on the platform. For users
with a host account, it also shows the listings managed by them.
| <img alt="Listings Page" width="1600" src="../../../../../assets/img/dev-dapps/rentonzilliqa/listings.png" /> |
| ------------------------------------------------------------------------------------------------------------- |
<br />
This page presents the details about the listing. Users can make a reservation
for the listing from this page.
| <img alt="Individual Listing Page" width="1600" src="../../../../../assets/img/dev-dapps/rentonzilliqa/listing-1.png" /> |
| ------------------------------------------------------------------------------------------------------------------------ |
| <img alt="Individual Listing Page" width="1600" src="../../../../../assets/img/dev-dapps/rentonzilliqa/listing-2.png" /> |
<br />
Most actions, including account and listing creation, booking, etc., will be
accessible via modals.
On the [Listings Page](
done via a modal, which provides options to connect ZilPay and the form for
account creation.
| <img alt="Account Modal" width="1600" src="../../../../../assets/img/dev-dapps/rentonzilliqa/account.png" /> |
| ------------------------------------------------------------------------------------------------------------ |
<br />
From the [Listings Page](
manage existing listings via modals.
| <img alt="Create Listing Modal" width="1600" src="../../../../../assets/img/dev-dapps/rentonzilliqa/create-listing.png" /> |
| -------------------------------------------------------------------------------------------------------------------------- |
| <img alt="Update Listing Modal" width="1600" src="../../../../../assets/img/dev-dapps/rentonzilliqa/update-listing.png" /> |
In the coming sections, we will build the frontend in the following stages:
- [Components](../scilla-contract/dev-rentonzilliqa-library.md)
- [Scripting](dev-rentonzilliqa-scripting.md)
- [Modals](dev-rentonzilliqa-modals.md)
- [Pages](dev-rentonzilliqa-pages.md)

[](https://quinence.com).