How to Create a REST API with Node.js and Express

In this tutorial we will create a RESTful API to access leaderboard information. We’ll be able to track players and scores for an unlimited number of boards. Whether you are developing a game or even just a website, chances are that you will want some way to work with your data over HTTP. I’m going … Read moreHow to Create a REST API with Node.js and Express

Complete Beginner’s Guide to Node.js

What is Node.js? Node.js is a c++ engine built to manipulate OS systems that is scripted using JavaScript. The JavaScript engine is called V8, created by Google, and is the same engine that is used in Chromium (the browser technology powering Google Chrome). In simpler terms, it’s a tool to write server side applications using … Read moreComplete Beginner’s Guide to Node.js

How to Chain JavaScript Promises – Intro Tutorial to JavaScript Promises

JavaScript

What are JavaScript promises? In it’s new ECMA 6 version, JavaScript allows you to create a new type of object called a Promise. Promises are used for asynchronous or deferred computations, and can be an alternative to the usual callback approach. Promises can be used both on the browser (support is still not universal but … Read moreHow to Chain JavaScript Promises – Intro Tutorial to JavaScript Promises

Node.js Quickies – Working with MySQL

Node.js Programming Tutorials

In this tutorial I’ll give you a quick overview on how to work with MySQL and Node.js. Firstly, you need to include the mysql package in your package.json file, under “dependencies”. Make sure you run “npm install” to download all your project’s dependencies. Like with many things in life, you start by establishing a connection: … Read moreNode.js Quickies – Working with MySQL

Node.js Quickies – Loading a CSV File

Node.js Programming Tutorials

In this short tutorial I’m gonna show you how to load a CSV file using Node.js. Firstly, you need to include the ya-csv package in your package.json file, under “dependencies”. Make sure you run “npm install” to download all your project’s dependencies.   This is how you can load a csv file: You can learn … Read moreNode.js Quickies – Loading a CSV File