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, and everyone in between.
1. How to use HarperDB Custom Functions to Build your Entire Backend, 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
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, 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
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. Deploy HarperDB on AWS, GCP, Digital Ocean, & Linode via HarperDB Studio & Terraform, by Yitaek Hwang
See AWS/GCP tutorial here and Digital Ocean/Linode tutorial here.
"In a previous article, I deployed HarperDB on AWS and GCP via HarperDB Studio and Terraform. Given HarperDB’s excellent support for Docker, deploying it on any Linux VM was very trivial. To test it out on other cloud providers, I decided to deploy HarperDB on Digital Ocean and Linode as well."
GitHub repos in the Add-Ons Org
Learn how to: Quickly and easily deploy HarperDB anywhere, including AWS, GCP, Digital Ocean, & Linode.
4. Build a Full Stack Productivity Timer App with NextJS and HarperDB, 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
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
5. Building a C# Blazor App with NoSQL and SQL Using HarperDB, by Tawanda Nyahuye
“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
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#.
6. Analyze Twitter’s Reaction to Taylor Swift with HarperDB, by Aakriti Sharma (Part 1 & Part 2)
"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.
7. Global Multi-Cloud Terraform Deployment for Low-Latency Applications Worldwide, by Michael King
"Setup a Multi-Cloud HarperDB Cluster using Terraform, AWS and Azure. Distributed Databases are super important as we can spread our data throughout the globe and achieve a blistering fast response time no matter where our User is."
(Bonus: there's also a video demo of this)
Tech Stack: Terraform, AWS, Azure, HarperDB
8. How I used HarperDB Custom Functions and Recharts to create a Dashboard, by Tapas Adhikary
“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
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.
9. Migrating a legacy application from MongoDB to HarperDB, 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 of this)
Learn how to:
Set up the database
Migrate the code
Testing
Custom Functions
10. 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
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
11. VueJS App with HarperDB, 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
Tech Stack: VueJS, JavaScript
Learn how to: Use HarperDB with Vue to create a simple dashboard a user could login to and interact with.
12. How To Use HarperDB Custom Functions With Your React App, by Ankur Tyagi
“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
Tech Stack: React, JavaScript,
Learn how to: Build a to-do list React app using HarperDB Custom Functions.
13. CRUD REST API using Node.js, 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
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.
14. Libshare - Curate & Share Your favorite JavaScript Libraries, by Adithya Sreyaj
“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
Tech stack: Angular
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
15. 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
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.
16. 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.”
Tech stack: Node.js, Fastify
Learn how to: Use these Node.js, Fastify and HarperDB together to build a REST API
17. Build a Python App with HarperDB, by Bhavani Ravi
“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
Tech stack: Python, Flask
Learn how to: Build the backend of a Book Journal app w/ Python
18. Building a collection of Tech Blogs using React JS and HarperDB, 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
Tech stack: HTML, CSS, Javascript, React
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.
19. 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
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.
20. HarperDB and WebSockets, 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
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.
21. Query data from 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
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.
22. Build a Hacker News Clone using React and HarperDB, by Kingsley Ubah
“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
Tech stack: React, Node
Learn how to: Build a Hacker News Clone using React and HarperDB
23. The Anonymous Feedback Platform powered by the CHERN Stack, Unclebigbay
“The CHERN stack is a development tool that combines Clerk dev, HarperDB, Express.js, React.js, and Node.js.”
Frontend repo / Backend repo
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.
24. 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
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
25. Build & Deploy a Fitness App that sends daily E-mails, by Patrick Loeber
We will build and deploy a fitness app that sends you new workouts per email every day using Python and HarperDB. In the end, we will have a deployed cloud database and a deployed function that runs every day and sends you a new workout”
Github repo
(Bonus: there's also a video demo of this)
Tech stack:
Streamlit for the Frontend
HarperDB for the Backend
HarperDB Custom Functions to send emails
Learn how to: Build and deploy a fitness app with Python and HarperDB.
26. Authorization in HarperDB using Okta Customer Identity Cloud, by Yitaek Hwang
"For this, we’ll use Okta Customer Identity Cloud and pass in a JWT with scope defined in Okta. The token will then be parsed by a validator function in Custom Functions, which will set the correct permission claims before forwarding the request. This allows us to offload the authorization management to a central engine and separate that logic from the database access layer."
See also: Azure Active Directory Authentication with HarperDB, by Lucas Santos
27. 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, such as “insert”, “search_by_hash”, “update”, and more. 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
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.”
28. OAuth Authentication in HarperDB using Auth0 & Node.js, by Lucas Santos
“In the last article of this series we saw how to authenticate users using oAuth in HarperDB. In this article we will go a step further and modify our custom function implementation to allow us to have a different provider, in this case we’ll use Auth0 by Okta.”
GitHub repo
Learn how to: Integrate Auth0 into HarperDB using JavaScript and Custom Functions
29. Create a CRUD API w/ Next.js & Custom Functions, by Colby Fayock
"We’re going to build a CRUD API that allows us to easily manage product data for an online store. We’ll start off using a Next.js Starter that includes some basic UI and create some API endpoints inside of Next.js. The API endpoints will be used to make secure requests to HarperDB Custom Functions, which will perform our CRUD magic via database instance and table that we’ll first create inside of Harper, which our Custom Functions will interface with."
Bonus: watch the video demo as well
Bonus Resources:
If video tutorials are more your vibe, you can check out the livestreams and demos on our YouTube channel.
Check out all of the HarperDB-Hashnode Hackathon submissions for more project inspiration.
Looking for a full course instead of a tutorial? You’re in luck:
Full Stack Grow Udemy Course, 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 us know!