20+ Best HarperDB Tutorials
Tags: tutorial, javascript, programming, database
Published: 2022-05-26 22:56:52

HarperDB is quickly becoming the database of choice for developers and enterprise organizations alike. HarperDB is a data and application platform that is independent of hardware and network providers, completely agnostic of where it resides, and peer-to-peer. It can handle 20k writes/second and 120k reads/second for a single node, with global data replication in under 100ms. It’s easy to deploy in the cloud, on-prem, and/or out to the edge. By prioritizing performance and efficiency, HarperDB is reducing latency and complexity related to data management and app development. 

Here’s an extensive list of HarperDB tutorials (in no particular order), which will be helpful for everyone from beginners to experienced HarperDB users.
___
###1. [How to use HarperDB Custom Functions to Build your Entire Backend](https://dev.to/andrewbaisden/how-to-use-harperdb-custom-functions-to-build-your-entire-backend-a2m), by Andrew Baisden 

“Towards the end of 2021 HarperDB released version 3.1 which introduced a new feature for the platform. HarperDB grew from a distributed database to a distributed application development platform. Basically this means that you can now host your database and server API on the same platform with full CRUD functionality! It is a single solution that takes care of all of your backend requirements.”

[Github repo](https://github.com/andrewbaisden/harperdb-civilizations/blob/main/frontend/src/data/civilisation.sql)

Tech Stack:
* Frontend: HTML, CSS, TypeScript, React
* Backend: Node.js, HarperDB

Learn how to:
* Get started with HarperDB
* Use HarperDB Custom Functions
* Create the backend database and API on HarperDB
* Create the frontend React Application

###2. [Using TensorFlowJS & HarperDB for Machine Learning](https://harperdb.io/blog/using-tensorflowjs-harperdb-for-machine-learning/), by Kevin Ashcraft

“This article will explain how to train and use a TensorFlowJS model to classify dog breeds with HarperDB Custom Functions, using the Stanford Dogs dataset and MobileNetV2 as a base for transfer learning.”

[GitHub repo](https://github.com/HarperDB/hdb-cf-dogml) 

Tech Stack: Node.js, TensorFlowJS, MobileNetV2

Learn how to:
* Install training data and TensorFlowJS modules
* Train and verify the model 
* Add and remove new training data 
* Train with GPU

###3. [Build a Full Stack Productivity Timer App with NextJS and HarperDB](https://www.freecodecamp.org/news/nextjs-and-harperdb-tutorial-build-a-full-stack-app/), By Danny Adams

“Building full stack applications can be tough. You have to think about frontend, APIs, databases, authentication - and how all of these things work together. So, in this article, I'll show you how to do all of those things using NextJS and HarperDB. We'll be building a full stack task timer app that includes JSON Web Token Authentication, fetching data using HarperDB's built-in API, and rendering the data with NextJS. We will also make use of NextJS's API.” 

[GitHub repo](https://github.com/DoableDanny/NextJS-HarperDB-Task-Timer)

Tech Stack: NextJS, TypeScript, TailwindCSS, React 

Learn how to: 
* Set up HarperDB 
* Create a Layout Component to Wrap Every Page
* Create Reusable Components
* JSON Web Token
* Create a useUser custom hook
* Create the Add/Select Taskbar

###4. [Building a C# Blazor App with NoSQL and SQL Using HarperDB](https://dev.to/towernter/building-a-c-blazor-app-with-nosql-and-sql-using-harperdb-lc), by @towernter 

“This tutorial describes how to use HarperDB Database and Blazor. For this tutorial, we are going to build a simple Blazor .Net Core app using HarperDB.”

[Github repo](https://github.com/Towernter/HarperDB_BlazorAPP) 

Tech Stack: C#/.NET, Blazor, Visual Studio

Learn how to: Create a basic C# Blazor app and how to use HarperDB SQL and NoSQL operations in C#.

###5. [Analyze Twitter’s Reaction to Taylor Swift with HarperDB](https://link.medium.com/bEtFmVSMjrb ), by Aakriti Sharma

"Creating systems that extract, analyze, predict, and forecast data seamlessly are the need of the hour. To do so, we require high performance database management systems that help with scaling and optimization of the data transaction process. Services like HarperDB Cloud help with managing huge databases on the cloud, making the process more scalable, accessible, and rapid, with a built-in HTTP API endpoint accessible in all major languages." 

Learn how to: Extracting tweets that include the topic ‘Taylor Swift’ and perform a detailed analysis by exploiting natural language processing.

###6. [How I used HarperDB Custom Functions and Recharts to create Dashboard](https://blog.greenroots.info/how-to-create-dashboard-with-harperdb-custom-functions-and-recharts), by @atapas 

“The custom functions from HarperDB let you create APIs on the go. Learn how to create a dashboard using Recharts and HarperDB custom functions. Custom functions are a fantastic inclusion to the stack… you can create data store, APIs from the same place without worrying about deployment or managing them.”

[Github Repo](https://github.com/atapas/flicks-admin)

Tech Stack: Recharts, React, JavaScript 

Learn how to: create APIs with the help of HarperDB custom function and visualization using a Reactjs based library called Recharts.

###7. [Migrating a legacy application from MongoDB to HarperDB](https://dev.to/_staticvoid/migrating-a-legacy-application-from-mongodb-to-harperdb-4cca), by Lucas Santos

“Lots of people deal with legacy applications in a daily basis, and some of the changes they have to make include migrations from a tech stack to another. The objective is to perform the full migration without touching a lot of code.” 

(Bonus: there’s also a [video demo](https://www.youtube.com/watch?v=1F3kyNy7djM) of this) 

[Github repo](https://github.com/khaosdoctor/harperdb-migration-demo)

Learn how to: 
* Set up the database
* Migrate the code
* Testing
* Custom Functions

###8. [Building Microservices using Spring Boot + HarperDB and Deploying it on AWS](https://apoorvtyagi.tech/building-microservices-using-spring-boot-harperdb-and-deploying-it-on-aws), by Apoorv Tyagi 

“Learn how to use Spring Boot and HarperDB to create a microservice, and look at how to deploy the complete application on AWS Elastic Beanstalk. You will be building an Employee Leave Management System. This application will be responsible for tracking the detailed record of employees' leaves. You will also be implementing the functionality to add, edit, and cancel leaves.”

[GitHub Repo](https://github.com/ApoorvTyagi/Spring-Harper)

Tech Stack: Java, Spring Boot, AWS Elastic Beanstalk 

Learn how to: 
* Set up HDB
* Create a Spring Boot App
* Design REST APIs
* Test the Endpoints
* Create a JAR File 
* Create an Elastic Beanstalk environment
* Configure Spring Boot Through Environment Variables
* Test the app in the cloud 

###9. [VueJS App with HarperDB](https://dev.to/flippedcoding/vuejs-app-with-harperdb-4n9b), by Milecia

“HarperDB gives you a way to interact with your database with a client-side app. The HTTP API lets you submit database queries in JSON format, which makes it easier for you to dynamically generate your queries.” 

[GitHub repo](https://github.com/flippedcoder/blog-examples)

Tech Stack: VueJS, JavaScript 

Learn how to: Use HarperDB with Vue to create a simple dashboard a user could login to and interact with. 

###10. [How To Use HarperDB Custom Functions With Your React App](https://dev.to/tyaga001/how-to-use-harperdb-custom-functions-with-your-react-app-2c43), by @tyaga001  

“Last week, I got a chance to explore HarperDB - a fast, modern database that allows you to develop full-stack apps. Let's learn about HarperDB and how to build a React app using HarperDB Custom Functions!.” 

[GitHub repo](https://github.com/tyaga001/HarperDB-Custom-Functions)

Tech Stack: React, JavaScript, 

Learn how to: Build a to-do list React app using HarperDB Custom Functions.

###11. [CRUD REST API using Node.js, Express, HarperDB, Docker](https://blog.francescociulla.com/crud-rest-api-using-nodejs-express-harperdb-docker), by Francesco Ciulla

“This example is to show how simple it is to get started using HarperDB cloud instance, monitor the DB entries. The UI can also be used to add/remove/delete values.”

[Github repo](https://github.com/FrancescoXX/harperdb-crud-api)

Tech Stack: Node.js, Express, Docker

Learn how to: How to create a Dockerized Create, Read, Update, Delete Application, connected with a HarperDB Cloud instance.

###12. [Libshare - Curate & Share Your favorite JavaScript Libraries](https://sreyaj.dev/curate-and-share-javascript-libraries-using-libshare), by @adisreyaj 

“Libshare helps you curate and share your favorite NPM libraries with the community. Showcase all the awesome libraries that you used in your side project and give them visibility. Made for the ♥ of open-source.”

[Github repo](https://github.com/adisreyaj/libshare-hdb-functions)

Tech stack: Angular, Node 

Learn how to: Build an app using Angular as the ​​front-end framework and HarperDB Custom Functions for the entire back-end. 
* Set up HDB
*Create APIs
* Use env variables in HarperDB Custom Functions
* Deploy CF
* Set up the UI

###13. [Create a serverless book library app with HarperDB and Gatsbyjs](https://blog.greenroots.info/create-a-serverless-book-library-app-with-harperdb-and-gatsbyjs), by Tapas Adhikary

“Recently, I had an opportunity to try out a modern, easy-to-use, fast database, HarperDB. As I learned how to set up and use it, I could further explore building a serverless app using it.” 

[GitHub Repo](https://github.com/atapas/flicks)

Tech stack: Gatsby.js, React.js, Node.js

Learn how to: Create a serverless app using HarperDB & Gatsbyjs. In this step-by-step tutorial, we will learn to create a book library app and deploy.

###14. [Build A REST API With HarperDB and FastifyJS](https://catalins.tech/build-a-rest-api-with-harperdb-and-fastifyjs), by Catalin Pit 

“This article will teach you how to use Node.js, Fastify and HarperDB to build a course management system. This application will help you track the courses you are doing and the courses you plan to do.”

[GitHub repo](https://github.com/catalinpit/harperdb-fastifyjs-rest-api)

Tech stack: Node.js, Fastify

Learn how to: Use these Node.js, Fastify and HarperDB together to build a REST API

###15. [Build a Python App with HarperDB](https://bhavaniravi.medium.com/build-a-python-app-with-harperdb-ee2ee4231039), by @bhavaniravi 

“While you are busy solving business problems, services like HarperDB will take care of managing, scaling, replicating, and optimizing your databases. HarperDB is a cloud service that exposes your data via an API endpoint, making it language agnostic. It supports all major languages like Python, Java, NodeJS, etc.”

[GitHub repo](https://github.com/bhavaniravi/python-harperdb-app-tutorial)

Tech stack: Python, Flask 

Learn how to: Build the backend of a Book Journal app w/ Python

###16. [Building a collection of Tech Blogs using ReactJS and HarperDB](https://dev.to/the_greatbonnie/building-a-collection-of-tech-blogs-using-react-js-and-harperdb-30h7), by Bonnie

“I want to show you how to create a dynamic web page with a collection of awesome blogs of your choice. We will use React for the frontend and HarperDB as our database in this project. HarperDB is where all the dynamic data displayed on the front end will be stored.”

[Github repo](https://github.com/ieshreya/tech-blogs-app)

Tech stack: HTML, CSS, Javascript, React.js

Learn how to: Use HarperDB’s Custom Functions to create API endpoints that will help us to make an API request to a standalone API server inside HarperDB. The API request will get the dynamic blogs data stored in HarperDB, and then React will display it on the frontend.

###17. [Creating your First CRUD Restful API with Node.JS and Hoppscotch](https://aviyel.com/post/1393/creating-your-first-crud-restful-api-with-node-js-and-hoppscotch), by @unclebigbay  

“If you're here and want to know how to build APIs, then you're most welcome, because, in this article, I'll show you the very importance of an API and how to create your first CRUD restful API using Node.JS, Express.js, and Hoppscotch.”

[Github repo](https://gist.github.com/unclebay143/e692f7862fa72c632c7b75bb6142a15e)

Tech stack: HoppScotch.io, Node.js, Express

Learn how to: Build a backend API for the popular Todo List project, and at the end of this article, you'll have a basic understanding of how API works and how to build your own APIs.

###18. [HarperDB and WebSockets](https://dev.to/ethanarrowood/harperdb-and-websockets-3p6k), By Ethan Arrowood

“WebSocket is a computer communications protocol, providing full-duplex communication channels over a single TCP connection. HarperDB clusters replicate data between instances using the bi-directional pub/sub model. Clients can subscribe to the same WebSocket channels HarperDB uses and access all of the updates of a given table.”

[Github repo](https://github.com/Ethan-Arrowood/harperdb-websocket-tutorial/tree/main/node-app)

Tech stack: WebSocket, Node.js, Docker 

Learn how to: Create a Node.js project powered by WebSockets and HarperDB. The application will be a data entry CLI with an additional display script.

###19. [Query data from HarperDB with GraphQL using StepZen](https://stepzen.com/blog/query-harperdb-with-graphql-using-stepzen), by Roy Derks

“With HarperDB, you’ll get the best of both types of databases, as you can interact with the database via SQL and NoSQL through their REST API. They don’t (currently) support GraphQL out of the box, but you can use StepZen to get a GraphQL API that interacts with the REST API that HarperDB exposes.” 

[Github repo](https://github.com/stepzen-dev/examples/tree/main/with-harperdb)

Tech stack: Stepzen, GraphQL

Learn how to: Set up HarperDB and query its data not via REST but with GraphQL using StepZen. With just a few commands from the StepZen CLI you can transform the HarperDB REST API into GraphQL.

###20. [Build a Hacker News Clone using React and HarperDB](https://www.sitepoint.com/react-harperdb-build-hacker-news-clone/), by @ubahthebuilder 

“One of the most effective and fun ways to boost your web development skills is by cloning an existing web page or website. In this tutorial, we’ll be cloning the Hacker News home page, making use of React and HarperDB.”

[Github repo](https://github.com/KingsleyUbah/hacker-news-clone)

Tech stack: React, Node

Learn how to: Build a Hacker News Clone using React and HarperDB

###21. [INTRODUCING: The Anonymous Feedback Platform powered by the CHERN Stack](https://dev.to/unclebigbay/introducing-the-anonymous-feedback-platform-powered-by-the-chern-stack-pkn), Unclebigbay 

“The CHERN stack is a development tool that combines Clerk dev, HarperDB, Express.js, React.js, and Node.js.”

[Frontend repo](https://github.com/unclebay143/anonymous-feedback) / [Backend repo](https://github.com/unclebay143/anonymous-feedback-backend)

Tech stack: React, Node, Netlify, Heroku, Clerk, Express, Flutterwave 

Learn how to: Build the Anonymous Feedback Platform, to bridge the gap (confidence) between the person willing to give feedback and the receiver, using the CHERN stack. 

###22. [Build a Note Keeping API with NodeJS, Express, and HarperDB](https://viblog.hashnode.dev/build-a-note-keeping-api-with-nodejs-express-and-harperdb), by Lucky Victory  

“In the previous article, we built a quote generator api, but this time we are going to do something different, substantial, and much more interesting, we are going to build a Note Keeping API.” 

[Github Repo](https://github.com/lucky-victory/note-api)

Tech Stack: Node.js, Express, Javascript, VS Code

Learn how to: 
* Integrate API keys into an API
* Validate the user-supplied API key
* Generate a new API key for the user
* Revoke and expire an API key
* Authentication and Authorization, how to authorize a user to access only their content
* Use middleware in ExpressJS

###23. [Building a Contact Manager with Python, Flask, and HarperDB](https://dev.to/lordghostx/building-a-contact-manager-with-python-flask-and-harperdb-1h53), by Lordghostx 

“By integrating HarperDB with Python and Flask, we built a contact manager with CRUD functionalities with minimal effort. We saw how to create cloud databases, manage them, and execute queries using HarperDB.” 

[Github repo](https://github.com/LordGhostX/harperdb-contact-manager)

Tech stack: Python, Flask 

Learn how to: Building a Contact Manager with Python, Flask, and HarperDB

###24. [Building An Inventory Tool Using Appsmith and HarperDB](https://www.appsmith.com/blog/building-an-inventory-management-tool-using-harperdb), by Dancia Jos

“This guide explains how to quickly build an Inventory Management tool to manage movie rentals by connecting a HarperDB backend to an Appsmith frontend. It also implements authentication using HarperDB’s role-based access control feature.” 

(Bonus: there’s also a [video demo](https://www.youtube.com/watch?v=VpvO-blcfAY) of this) 

Tech stack: Appsmith, HarperDB

Learn how to: Create an inventory tracking tool that helps small businesses sign up on a platform to view and manage products in their inventory using HarperDB and Appsmith.

###25. [Build a Dynamic REST API with Custom Functions](https://harperdb.io/blog/build-a-dynamic-rest-api-with-custom-functions/), by Terra Roush 

“Simply put, Custom Functions (CF) are serverless, highly customizable API endpoints that interact with our HarperDB Core operations. You could define a CF using SQL to return all dog data records where the owner’s name is “Geena Davis” and sort them by the dog’s name. You can create a CF that deletes a dog’s data record using a route parameter and NoSQL. You can also make a CF with validation that saves a dog’s record with required properties. Custom Functions are powered by Fastify and are extremely flexible.” 

[GitHub repo](https://github.com/HarperDB/hdb-cf-rest)

Learn how to: Build a dynamic REST API with Custom Functions. “I’ll describe what I’ve built first, and then I’ll show how you can use it for your own devices. Instead of going one by one through the routes, I’ll highlight the POST for its simplicity and the PUT for its complexity.” 
___
###Bonus section:

* If video tutorials are more your vibe, you can check out the livestreams and demos on our [YouTube channel](https://www.youtube.com/channel/UCHpAvGA5LxoPUOSBVnlGMZQ). 

* Check out all of the [HarperDB-Hashnode Hackathon submissions](https://townhall.hashnode.com/tag/harperdbhackathon) for more project inspiration. 

* Looking for a full course instead of a tutorial? You’re in luck: 

[Full Stack Grow Udemy Course](https://www.udemy.com/course/full-stack-grow/), by Safa Alai

“Building a scalable web app in the Cloud from the ground up using web components, Docker containers and HarperDB. This course then gives you everything you need to get going with a serious web app, that puts full control into your hands and enables you to build your app from a hobby up to a highly successful business.”

Learn how to: Program a full-stack web application and release it to the Cloud

Requirements: Basic Javascript, Basic HTML and CSS, Basic knowledge of SQL
___

_Looking for something that you don’t see here? Have an idea for a HarperDB tutorial? Please let me know!_