An Aurelia website

In this section of the chapter, we will build an Aurelia application that is hosted by Node and Express. We will also implement the login screen using Aurelia, and work through sending and receiving JSON data from the Node website to the Aurelia application. First up, let's get Node and Aurelia working together.

To create our Aurelia application, we simply create a new directory on disk, change to this directory, and run the Aurelia command line interface to create an Aurelia environment:

mkdir node_aurelia
cd node_aurelia
au new .

At this stage, we can start up an Aurelia environment by simply typing au run, and pointing our browser at http://localhost:9000.

Note

At the time of writing, Aurelia was still using typings in order ...

Get Mastering TypeScript - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.