Jest logo

Using Jest to test your Node.js application

After checking out AVA and tape, it’s time to check out Jest. Jest is a testing framework developed by Facebook, and is often used to test React applications. However, it isn’t limited to just React, so let’s explore the features it has by testing a small Node.js application!

Node.js logo

Testing your Node.js application with tape

Last time, I tested a simple Node.js application I wrote with AVA. While my initial experience with AVA was great, it’s probably still worth it to compare it with other testing frameworks. Another testing framework I seem to hear a lot about is tape. One of the main advantages of tape is that it produces […]

AVA logo

Testing your Node.js application with AVA

A while ago, I wrote a simple GraphQL API using Node.js, Express.js, Apollo and Mongoose. While the API probably works, we didn’t really invest any time to write some unit tests for it. That’s going to change now. There are many testing frameworks and test runners out there, but in this tutorial I’ll be checking […]

Apollo logo

Writing a GraphQL API with Node.js, Express and Apollo

A while back, I wrote a tutorial about creating a GraphQL API using Java, followed by a web application using Angular and Apollo. Back then, I also mentioned that Apollo has a server-side part as well, which allows you to create GraphQL API’s on Node.js. And today, we’re going to explore that option!

Working with Nodember

A while back I wrote a tutorial about writing a small app using Ember.js by storing its data inside the HTML5 LocalStorage. In this tutorial I will be using Node.js REST webservice and store the data into a MongoDB database. By writing both front-end and back-end in JavaScript, I’m able to write an entire application […]

Working with the MEAN stack

JavaScript is more important than ever. In today’s applications, JavaScript is used to create certain effect, make websites more interactive and improve the user experience. But you can achieve much more using JavaScript. There are MVC frameworks like AngularJS that help you structure the entire front-end part of your application and even more. With the […]

Working with the MEAN stack: MVC

In the previous tutorial I finished the configuration of the application so that in this tutorial we can concentrate ourself on the Model-View-Controller part of the application. The application consists of two parts, the server- and the client-side part of the application. Both of them use the Model-View-Controller pattern though.¬†First of all, let’s start by […]

Working with the MEAN stack: Application setup

In an earlier article/tutorial series I told you how you could create your own application using AngularJS and the HTML Local storage to persist the data. If you missed it, be sure to check it out here. The local storage is great but what if we want to persist the data somewhere inside a database […]

Meteor RSS reader

Enkele tutorials geleden heb ik uitgelegd hoe je met Handlebars.js templates een eenvoudige RSS reader kon maken. In deze tutorial ga ik hetzelfde verhaal herhalen met Meteor (en natuurlijk zit daar ook Handlebars.js in). In deze tutorial ga ik aan de hand van de vergelijking tussen gewoonweg JavaScript en een full-stack framework zoals Meteor tonen […]

Node.js Dojo webserver

Ondertussen heb ik al enkele tutorials geschreven over Node.js, Dojo Toolkit en Node.js als back-end + Dojo toolkit als front-end. In deze tutorial ga ik Dojo toolkit gebruiken als hulpmiddel bovenop Node.js waardoor ik de Dojo AMD style kan gebruiken in Node.js scripts.