Setting up

In this section we will go over the required tools and preliminary knowledge for best learning Feathers.

Prerequisites

Feathers and most plug-ins work on NodeJS v6.0.0 and up. For the guides we will use syntax that only works with Node v8.0.0 and later. On MacOS and other Unix systems the Node Version Manager is a good way to quickly install the latest version of NodeJS and keep it up to date.

After successful installation, the node and npm commands should be available on the terminal and show something similar when running the following commands:

$ node --version
v8.5.0
$ npm --version
5.5.1

Feathers does work in the browser and supports IE 10 and up. The examples used in this guide will however only work in the most recent versions of Chrome, Firefox, Safari and Edge.

What you should know

Readers should have reasonable JavaScript experience using ES6 and some experience with NodeJS and the JavaScript features it supports like the module system. Some familiarity with HTTP and REST APIs as well as websockets is also helpful.

The guide examples use async/await. Familiarity with Promises and async/await (and how they interact) is highly recommended. For a good introduction to JavaScript promises see promisejs.org and then follow up with async/await in this blog post.

Feathers works standalone but also provides an integration with Express. This guide does not require any in-depth knowledge of Express but some experience with Express will be helpful in the future (see the Express guide to get started).

What we won't cover

Although Feathers works with many databases, this guide will only use examples of standalone database adapters so there is no need to run a database server.

Authentication will be shown later in the chat application guide.

All examples will reside within a single file. The Feathers generator (CLI) will create a recommended structure for a Feathers application. You can see what it does to structure an application in the Generator guide and how to use it in the chat application guide.

What's next?

All set up and good to go? Let's install Feathers and create our first app.

Is anything wrong, unclear, missing? Leave a comment or edit this page.

results matching ""

    No results matching ""