Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
The Node Craftsman Book

You're reading from   The Node Craftsman Book An Advanced Node.js Tutorial

Arrow left icon
Product type Paperback
Published in Apr 2017
Publisher Packt
ISBN-13 9781787128149
Length 186 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Manuel Kiessling Manuel Kiessling
Author Profile Icon Manuel Kiessling
Manuel Kiessling
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Preface 1. Part 1: Node.js Basics in Detail 2. Working with NPM and Packages FREE CHAPTER
3. Test-driven Node.js Development
4. Object-oriented JavaScript 5. Synchronous and Asynchronous Operations Explained 6. Using and Creating Event Emitters 7. Optimizing Code Performance and Control Flow Management Using the Async Library 8. Node.js and MySQL 9. Node.js and MongoDB 10. Part 2: Building a Complete Web Application with Node.js and Angular 11. Milestone 1 – A First Passing Test Against the Server
12. Milestone 2 – The API Responds with Actual Database Content 13. Milestone 3 – Setting the Stage for a Continuous Delivery Workflow 14. Milestone 4 – Giving Users a Frontend 15. Milestone 5 – More Work on the Backend 16. Milestone 6 – Completing the Backend and Finalizing the Application

Setting up the development environment

This is going to be our largest application to date, so let's make sure we can work comfortably.

Let's start by creating a project folder – let's call our project Keyword Wrangler:

$ mkdir keyword-wrangler

Next, we initialize a Node.js project in this folder by running npm init and answering the upcoming questions as follows:

$ npm init

This utility will walk you through creating a package.json file. It only covers the most common items, and tries to guess sane defaults:

See `npm help json` for definitive documentation on these fields
and exactly what they do.

Use `npm install <pkg> --save` afterwards to install a package and
save it as a dependency in the package.json file.

Press ^C at any time to quit.
name: (keyword-wrangler)
version: (1.0.0) 0.0.1
description: A tool to manage keywords
entry point: (index.js) src/backend/index.js
test command...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime