---
title: "Discussion on \"HarperDB Instance w/ React\" | Hashnode"
description: "Discussion on \"HarperDB Instance w/ React\". HarperDB is a distributed database focused on making data management easy. It supports both SQL and NoSQL queries. Besides building REST APIs with server-side technologies(Catalin Pit's Build A REST API With HarperDB and FastifyJS), it also offers to..."
url: "https://hashnode.com/posts/harperdb-instance-with-react/60bd4b47e36d51141c95d172"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [HarperDB Instance w/ React](https://piyushsinha.tech/harperdb-instance-with-react?utm_source=hashnode&utm_medium=feed)

HarperDB is a distributed database focused on making data management easy. It supports both SQL and NoSQL queries. Besides building REST APIs with server-side technologies(Catalin Pit's Build A REST API With HarperDB and FastifyJS), it also offers to...

Jun 6, 2021 · 4 min read · piyushsinha.tech  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#databases](https://hashnode.com/tag/databases)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#tutorial](https://hashnode.com/tag/tutorial)

## Written by

[Piyush Sinha](https://hashnode.com/@sinhapiyush)

@sinhapiyush · Bengaluru, India

  
[View profile](https://hashnode.com/@sinhapiyush)

Frontend Developer | loves building aesthetic & robust interfaces

Frontend Developer | loves building aesthetic &amp; robust interfaces

## Responses 7

Markdown supported · ⌘↵ to post

[Amolo](https://hashnode.com/@amolo)

[Jun 13, 2021](https://hashnode.com/posts/harperdb-instance-with-react/60bd4b47e36d51141c95d172/comment/60c606a31679ed6f51a27eac)

Great article. However is it a good practice to put the username and password on the frontend. Can you also clarify this [Victoria Lo](https://hashnode.com/@victoria) ??

[Victoria Lo](https://hashnode.com/@victoria)

[Jun 14, 2021](https://hashnode.com/posts/harperdb-instance-with-react/60bd4b47e36d51141c95d172/comment/60c606a31679ed6f51a27eac#reply-60c6c22f1679ed6f51a28828)

Very excellent question [Amolo](https://hashnode.com/@amolo)! As you know, storing anything on the client is never 100% secure. For quick development and testing, the steps shown in this article would suffice. In actual production, always store important credentials and API keys in server-side.

Here's a [helpful article](https://medium.com/swlh/keeping-env-variables-private-in-react-app-fa44a9b33c31#:~:text=Are%20the%20sensitive%20API%20keys,Unfortunately%2C%20the%20answer%20is%20NO.&text=WARNING%3A%20Do%20not%20store%20any,by%20inspecting%20your%20app's%20files.) that discusses on this topic.

[Victor Ikechukwu](https://hashnode.com/@VickyIkechukwu)

[Jun 7, 2021](https://hashnode.com/posts/harperdb-instance-with-react/60bd4b47e36d51141c95d172/comment/60be6684fffc4c13b9cd9db3)

Great Article!, Now I can dive into using harperDB for the hashnode hackathon. Thanks for sharing [Piyush Sinha](https://hashnode.com/@sinhapiyush)!

[Piyush Sinha](https://hashnode.com/@sinhapiyush)

[Jun 7, 2021](https://hashnode.com/posts/harperdb-instance-with-react/60bd4b47e36d51141c95d172/comment/60be6684fffc4c13b9cd9db3#reply-60be67859cd179337419f5fc)

Thanks Victor 😊. All the best for the hackathon 🏆.

[Mr. Unity Buddy](https://hashnode.com/@UnityBuddy)

[Jun 7, 2021](https://hashnode.com/posts/harperdb-instance-with-react/60bd4b47e36d51141c95d172/comment/60be1488e36d51141c95e42a)

Yay! Now I get about HarperDB😊😊. Thanks a lot for this article!

[Piyush Sinha](https://hashnode.com/@sinhapiyush)

[Jun 7, 2021](https://hashnode.com/posts/harperdb-instance-with-react/60bd4b47e36d51141c95d172/comment/60be1488e36d51141c95e42a#reply-60be1721fffc4c13b9cd968b)

Thanks mate 😊. Glad you liked it!

[Victoria Lo](https://hashnode.com/@victoria)

[Jun 7, 2021](https://hashnode.com/posts/harperdb-instance-with-react/60bd4b47e36d51141c95d172/comment/60bde28fe36d51141c95dd97)

Hey Piyush! Nice article! I was reading it and I wondered if you got inspired from my HarperDB demo project I published on GitHub a week ago: [github.com/victoria-lo/harperdb-demo](https://github.com/victoria-lo/harperdb-demo)

It was so similiar, from the app to the code as well. I got goosebumps, thinking it was a coincidence. Correct me if I'm wrong haha 😊

[Piyush Sinha](https://hashnode.com/@sinhapiyush)

[Jun 7, 2021](https://hashnode.com/posts/harperdb-instance-with-react/60bd4b47e36d51141c95d172/comment/60bde28fe36d51141c95dd97#reply-60bde47afffc4c13b9cd901a)

You can see my code is similar to Cassidy's code in the video. That's why I added the channel in the reference.

[Victoria Lo](https://hashnode.com/@victoria)

[Jun 7, 2021](https://hashnode.com/posts/harperdb-instance-with-react/60bd4b47e36d51141c95d172/comment/60bde28fe36d51141c95dd97#reply-60bde6e1e36d51141c95de58)

I see [Piyush Sinha](https://hashnode.com/@sinhapiyush), thanks a lot for the clarification 😊 I got inspired from Cassidy's video too and decided to make it Top Programming Blogs instead of Book Reviews.

Looks like our coincidence was the fact that we have the same app idea to apply what we learned haha 😊😊

P.S. Will link this article on my own version coming up! Cheers!

[Piyush Sinha](https://hashnode.com/@sinhapiyush)

[Jun 7, 2021](https://hashnode.com/posts/harperdb-instance-with-react/60bd4b47e36d51141c95d172/comment/60bde28fe36d51141c95dd97#reply-60bdeb51fffc4c13b9cd90e9)

[Victoria Lo](https://hashnode.com/@victoria), I went through your repo just now... You have better styling than mine 😅. Eagerly waiting for your version. ♥️

[Catalin Pit](https://hashnode.com/@Catalinpit)

[Jun 7, 2021](https://hashnode.com/posts/harperdb-instance-with-react/60bd4b47e36d51141c95d172/comment/60bdb613fffc4c13b9cd88b2)

Nice one! Thank you for the mention, [Piyush Sinha](https://hashnode.com/@sinhapiyush)! 🔥

[Piyush Sinha](https://hashnode.com/@sinhapiyush)

[Jun 7, 2021](https://hashnode.com/posts/harperdb-instance-with-react/60bd4b47e36d51141c95d172/comment/60bdb613fffc4c13b9cd88b2#reply-60bdbd66fffc4c13b9cd8ad8)

Thanks Catalin. Glad you liked it!

[Rutik Wankhade](https://hashnode.com/@rutikwankhade)

[Jun 7, 2021](https://hashnode.com/posts/harperdb-instance-with-react/60bd4b47e36d51141c95d172/comment/60bdac4efffc4c13b9cd8827)

I was about to dive into harperDB and this post has really made it easy to understand. Thanks for sharing Piyush. 🙌 This helps.

[Piyush Sinha](https://hashnode.com/@sinhapiyush)

[Jun 7, 2021](https://hashnode.com/posts/harperdb-instance-with-react/60bd4b47e36d51141c95d172/comment/60bdac4efffc4c13b9cd8827#reply-60bdad21fffc4c13b9cd8839)

Happy to help. All the best for the hackathon 🏆.

[Savio Martin](https://hashnode.com/@saviomartin)

[Jun 7, 2021](https://hashnode.com/posts/harperdb-instance-with-react/60bd4b47e36d51141c95d172/comment/60bd882ae36d51141c95d365)

Great Article! Great work [Piyush Sinha](https://hashnode.com/@sinhapiyush)!

[Piyush Sinha](https://hashnode.com/@sinhapiyush)

[Jun 7, 2021](https://hashnode.com/posts/harperdb-instance-with-react/60bd4b47e36d51141c95d172/comment/60bd882ae36d51141c95d365#reply-60bda397fffc4c13b9cd87b8)

Thanks Savio. Glad you liked it!
