Using Typescript with hapi

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • Appwrite - The Open Source Firebase alternative introduces iOS support
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Less time debugging, more time building
  • npm-run-all

    A CLI tool to run multiple npm-scripts in parallel or sequential.

    dev uses npm-run-all to run both commands at the same time, so you don't have to have two terminals open.

  • berry

    📦🐈 Active development trunk for Yarn ⚒

    I've chosen to use yarn in the examples below; if you're using npm instead, just change yarn add to npm install.

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • Nodemon.io

    Monitor for any changes in your node.js application and automatically restart the server - perfect for development

    dev:serve uses nodemon to automatically reload the server when the Javascript changes.

  • mocha

    ☕️ simple, flexible, fun javascript test framework for node.js & the browser

    We're going to keep our tests in test. We'll use chai and mocha to run them; since we're using Typescript we'll also want to add the relevant type annotations from DefinitelyTyped.

  • Hapi

    The Simple, Secure Framework Developers Trust

    I've been using hapi lately, and decided to start using Typescript at the same time. When I looked though there didn't seem to be a lot out there on using them both together. Here's what I learned.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts