Building a store website

Using Quarkly & Google sheets

ยท

2 min read

Building a store website

In this article, I will share my experience building a website using Quarkly

So, What is Quarkly ๐Ÿค” ?

Quarkly is a low-code design tool for creating websites and web apps.

It was the best fit for all the features I needed and was also free ๐Ÿ˜‹

Few features are listed below -

  1. Github sync of whole website code. (take home your website code ) ๐Ÿฅบ
  2. Building custom components using react.
  3. Prebuild components library.
  4. performant (changes are visible close to real-time)

image.png

Now, let's begin to create the website. ๐Ÿ› 

For the website demoed in this article, inspiration was taken from a design by bhavya sinha.

Screenshot 2021-06-20 at 12.39.25 PM.png

Before starting to create anything using quarkly I would suggest checking out their tutorials on youtube. Understanding how components are created and consumed will boost website development using quarkly.

When a user creates a new project, they will see an empty canvas as shown below โฌ‡๏ธ Screenshot 2021-06-21 at 12.20.37 AM.png

Now, let's start with making components that are common in multiple pages such as Header, Footer.

1. Creating <Header/> and <Footer /> component

In quarkly's catalog, there are a few sample headers for the basic use case.

Screenshot 2021-07-11 at 2.55.09 AM.png

I choose one of them, modified the style, and added two new pages to the project. Also to show the currently selected page color modify the theme accordingly.

After the header was ready, I converted it as a component to use on every page.

Screenshot 2021-07-11 at 3.20.38 AM.png

Similarly, Add a footer component.

2. Creating Product Cards

Screenshot 2021-07-11 at 3.27.46 AM.png

Quarkly also provides a components library that can be used to create other components.

I used quarkly's stack component to show the ProductItem (Card) inside it.

3. Load data from google sheets

As for this project, google Sheets is used as a database, we need a way to fetch google Sheets data.

I followed the steps in the video below, to set it up.

Here is a sample code to fetch data from google sheets.

This is how products page of the website looks. ๐Ÿคฉ

Screenshot 2021-07-11 at 4.07.43 AM.png

4. Git Sync and smooth deploy experience ๐Ÿ’จ

I loved the git sync and one-click netlify deployment feature. It was one of the smoothest deployment experiences I ever had.

Screenshot 2021-07-11 at 4.24.16 AM.png

And we are done ๐ŸŽ‰

thankyoufor attention.jpeg

PS: I would love to know what you make using quarkly. If you are stuck anywhere feel free to join their discord.