Our great sponsors
-
dev uses npm-run-all to run both commands at the same time, so you don't have to have two terminals open.
-
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.
-
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.
-
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.