0%

Book Description

While there have been quite a few attempts to get JavaScript working as a server-side language, Node.js (frequently just called Node) has been the first environment that's gained any traction. It's now used by companies such as Netflix, Uber and Paypal to power their web apps. Node allows for blazingly fast performance; thanks to its event loop model, common tasks like network connection and database I/O can be executed very quickly indeed.

In this book, we'll take a look at a selection of the related tools and skills that will make you a much more productive Node developer. It contains:

  1. Installing Multiple Versions of Node.js Using nvm
  2. A Beginner's Guide to npm
  3. Create New Express.js Apps in Minutes with Express Generator
  4. An Introduction to AdonisJs, a Laravel-like Node.js Framework
  5. Top 5 Developer-friendly Node.js API Frameworks
  6. Using MySQL with Node.js and the mysql JavaScript Client
  7. Introduction to MongoDB

Table of Contents

  1. Node.js: Tools ∓ Skills, 2nd Edition
  2. Notice of Rights
  3. Notice of Liability
  4. Trademark Notice
  5. About SitePoint
  6. About Craig Buckler
  7. Preface
    1. Who Should Read This Book?
    2. Conventions Used
    3. Supplementary Materials
  8. Chapter 1: Installing Multiple Versions of Node.js Using nvm
    1. Introducing nvm
    2. OS Support
    3. Installation
    4. Using nvm
    5. Conclusion
  9. Chapter 2: A Beginner’s Guide to npm
    1. Installing Node.js
    2. Updating npm
    3. Node Packaged Modules
    4. Changing the Location of Global Packages
    5. Installing Packages in Global Mode
    6. Listing Global Packages
    7. Installing Packages in Local Mode
    8. Managing Dependencies with package.json
    9. Uninstalling Local Packages
    10. Installing a Specific Version of a Package
    11. Updating a Package
    12. Searching for Packages
    13. Re-installing Project Dependencies
    14. Managing the Cache
    15. Audit
    16. Aliases
    17. npx
    18. Conclusion
  10. Chapter 3: Create New Express.js Apps in Minutes with Express Generator
    1. What is Express?
    2. Getting Started
    3. Application Structure
    4. app.js
    5. Bootstrapping a New Project
    6. A Useful Tool
  11. Chapter 4: An Introduction to AdonisJs, a Laravel-like Node.js Framework
    1. Basics
    2. HTTP
    3. Database
    4. Views
    5. Advanced
    6. Adonis Pros
    7. Adonis Cons
    8. Verdict
  12. Chapter 5: Top 5 Developer-friendly Node.js API Frameworks
    1. What is an API?
    2. 1. Express
    3. 2. Fastify
    4. Decorators
    5. 3. FeathersJS
    6. 4. KeystoneJS
    7. 5. Strapi
    8. Summary
  13. Chapter 6: Using MySQL with Node.js and the mysql JavaScript Client
    1. Quick Start: How to Use MySQL in Node
    2. Installing the mysql Module
    3. Getting Started
    4. Connecting to the Database
    5. Executing Queries
    6. Advanced Use
    7. Why Not Just USE an ORM?
    8. Conclusion
  14. Chapter 7: Introduction to MongoDB
    1. Terminology and Basic Concepts
    2. Installing MongoDB
    3. Basic Database Operations
    4. User Management
    5. MongoDB CRUD Operations
    6. Schema Validation
    7. An Overview of MongoDB Drivers
    8. Conclusion
18.216.233.58