Creating the baseline application

Although we already used the Loopback framework, we strongly recommend that you install it again, to ensure that you will have the most up-to-date version on your machine:

 npm install -g loopback

In this example, we will not make many changes to the generated code, since our focus is to create building tasks, but we will use some interesting features of the Loopback framework using the command line:

  1. Open terminal/shell, and type the following command:
      slc loopback
    
  2. Name the application chapter-09.
  3. Choose empty-server (an empty LoopBack API, without any configured models or data source's) and press Enter.

Now we have created the application scaffold. Don't worry about the next commands suggested by the terminal output, ...

Get Node.js 6.x Blueprints now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.