O'Reilly logo

Node.js 8 the Right Way by Jim Wilson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Setting Up the Initial Project

Rather than write everything from scratch, you’ll want to rely more on the code download that accompanies this book than in previous chapters. In the fortify directory, you’ll find three subdirectories:

  • b4-initial—You should copy this directory to a local directory called b4.

  • b4—This represents the project as it should be at the end of the chapter. No peeking!

  • b4-final—This includes everything in b4 plus more functionality—the ability to add books to bundles, book title autocomplete, etc.

The b4-initial project that you’ll be building on combines the Express framework and the webpack compilation of the last two chapters. Here’s a file listing of that directory:

 $ ​​tree​​ ​​-F​​ ​​--dirsfirst​​ ​​b4-initial/ ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required