Refactoring the application folder

Our refactoring process includes two steps.

First, let's create a directory for the application source files, such as JavaScript, SCSS, and images files.

In the second step, we will create some directories within the client folder to receive our scripts.

Let's create the source folder for images, libs, scripts, and scss files.

Creating the images folder

In this folder, we will store the images before processing an optimization technique using imagemin-cli.

  1. Inside the root project, create a folder called src.
  2. Within the src folder, create a folder called images.
  3. Within the images folder, create a folder called gallery.
  4. Download the sample images file for chapter 09, Building a Frontend Process with Node.js and NPM from ...

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

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