A Beginner’s Guide to Feathers.js
In this article, you’ll learn how to build a RESTful API Server in Node.js using Feathers. An API server, also known as an Application Server, is a program that provides data to front-end applications....
View ArticleHow to Redesign Unsplash Using Styled Components
Writing future-proof CSS is hard. Conflicting classnames, specificity issues, and so on, come up when you have to write and maintain thousands of lines of CSS. To get rid of the aforementioned issues,...
View ArticleBuild a Real-time Voting App with Pusher, Node and Bootstrap
In this article, I'll walk you through building a full-stack, real-time Harry Potter house voting web application. Real-time apps usually use WebSockets, a relatively new type of transfer protocol, as...
View ArticleHow to Build Your First Telegram Chatbot with Node.js
So, this morning you woke up with the idea to develop a way to store and label interesting articles you've read. After playing with the idea, you figure a Telegram chatbot is the most convenient...
View ArticleBuild a JavaScript Command Line Interface (CLI) with Node.js
As great as Node.js is for “traditional” web applications, its potential uses are far broader. Microservices, REST APIs, tooling, working with the Internet of Things and even desktop applications: it’s...
View ArticleHow to Build Your First Discord Bot with Node.js
Nowadays, bots are being used for automating various tasks. Since the release of Amazon's Alexa devices, the hype surrounding automation bots has only started to grow. Besides Alexa, other...
View ArticleUnderstanding module.exports and exports in Node.js
In programming, modules are self-contained units of functionality that can be shared and reused across projects. They make our lives as developers easier, as we can use them to augment our applications...
View ArticleLearn End-to-end Testing with Puppeteer
Puppeteer is a Node library which provides a high-level API to control Chrome or Chromium over the DevTools Protocol. Puppeteer runs headless by default, but can be configured to run full...
View ArticleUsing MySQL with Node.js and the mysql JavaScript Client
NoSQL databases are rather popular among Node developers, with MongoDB (the "M" in the MEAN stack) leading the pack. When starting a new Node project, however, you shouldn't just accept Mongo as the...
View ArticleWhat Is Node and When Should I Use It?
So you’ve heard of Node.js, but aren’t quite sure what it is or where it fits into your development workflow. Or maybe you’ve heard people singing Node’s praises and now you’re wondering if it’s...
View ArticleForms, File Uploads and Security with Node.js and Express
If you’re building a web application, you’re likely to encounter the need to build HTML forms on day one. They’re a big part of the web experience, and they can be complicated. Typically the...
View ArticleAn Introduction to MongoDB
MongoDB is a cross-platform, open-source, NoSQL database, used by many modern Node-based web applications to persist data. In this beginner-friendly tutorial, I’ll demonstrate how to install Mongo,...
View ArticleBuild a Simple Beginner App with Node, Bootstrap and MongoDB
If you’re just getting started with Node.js and want to try your hand at building a web app, things can often get a little overwhelming. Once you get beyond the “Hello, World!” tutorials, much of the...
View ArticleHow to Build a File Upload Form with Express and DropzoneJS
Let’s face it, nobody likes forms. Developers don’t like building them, designers don’t particularly enjoy styling them, and users certainly don’t like filling them in. Of all the components that can...
View ArticleA Beginner’s Guide to npm, the Node Package Manager
Node.js makes it possible to write applications in JavaScript on the server. It’s built on the V8 JavaScript runtime and written in C++ — so it’s fast. Originally, it was intended as a server...
View ArticleBuild a Native Desktop GIF Searcher App Using NodeGui
NodeGui is an open-source library for building cross-platform, native desktop apps with Node.js. NodeGui apps can run on macOS, Windows, and Linux. The apps built with NodeGui are written using...
View ArticleQuick Tip: Configuring NGINX and SSL with Node.js
NGINX is a high-performance HTTP server as well as a reverse proxy. Unlike traditional servers, NGINX follows an event-driven, asynchronous architecture. As a result, the memory footprint is low and...
View ArticleManaging Dates and Times Using Moment.js
Working with dates and times has always been a bit cumbersome. I've always thought that a JavaScript library for manipulating dates would be quite helpful. It was only recently that I was introduced to...
View ArticleHow to Build and Structure a Node.js MVC Application
In a non-trivial application, the architecture is as important as the quality of the code itself. We can have well-written pieces of code, but if we don’t have good organization, we’ll have a hard time...
View ArticleHow to Debug a Node.js Application: Tips, Tricks and Tools
Software development is complex and, at some point, your Node.js application will fail. If you’re lucky, your code will crash with an obvious error message. If you’re unlucky, your application will...
View Article