October 4, 2023

Best practices for HarperDB projects using TypeScript

Welcome to Community Posts
Click below to read the full article.
Summary of What to Expect
Table of Contents

When you are working with HarperDB, you can use TypeScript to improve your development experience. This article will show you some best practices to use TypeScript with HarperDB. We’ll talk about folder structures, best practices of code, and how to best set your project to make the most of HarperDB.

This tutorial includes:

  • Setting up Node and TypeScript
  • Testing the setup
  • Setting the environments and the database
  • Separating Layers
  • The domain layer
  • The data layer
  • The service layer
  • The presentation layer
  • Testing
  • Conclusion