SitePoint
Blog
Forum
Library
Login
Join Premium
Toggle sidebar
Your First Week With Node.js
Toggle community discussions
Close
Content
Bookmarks
Preface
Your First Week With Node.js
Notice of Rights
Notice of Liability
Trademark Notice
About SitePoint
Who Should Read This Book?
Conventions Used
1
What Is Node and When Should I Use It?
What Is Node.js?
How Do I Install Node.js?
Introducing npm, the JavaScript Package Manager
What Is Node.js Used For?
Node.js Lets Us Run JavaScript on the Server
What Kind of Apps Is Node.js Suited To?
What Are the Advantages of Node.js?
Other Uses of Node
Conclusion
A Beginner Splurge in Node.js
Why Node.js?
Callbacks
Asynchronous Operations
File I/O
A Web Server
Async Await
Conclusion
A Beginner’s Guide to npm — the Node Package Manager
Installing Node.js
Node Packaged Modules
Changing the Location of Global Packages
Installing Packages in Global Mode
Listing Global Packages
Installing Packages in Local Mode
Managing Dependencies with package.json
Uninstalling Local Packages
Installing a Specific Version of a Package
Updating a Package
Searching for Packages
Re-installing Project Dependencies
Managing the Cache
Aliases
Version Managers
Conclusion
Forms, File Uploads and Security with Node.js and Express
Setup
Displaying the Form
Form Submission
Validation and Sanitization
The Valid Form
Security considerations
File Uploads
Thanks For Reading
MEAN Stack: Build an App with Angular 2+ and the Angular CLI
Introduction to the MEAN Stack
Overview
Prerequisites
Creating the Backend Using Express.js and MongoDB
Building the Front End Using Angular
Creating Components, a Model, and a Service
Finishing Touches
Wrapping It Up
Debugging JavaScript with the Node Debugger
The Node CLI Debugger
Client-Side Debugging
Debugging inside an Editor
Debugging Transpiled JavaScript
Conclusion
Using MySQL with Node.js and the mysql JavaScript Client
Quick Start: How to Use MySQL in Node
Installing the mysql Module
Getting Started
Connecting to the Database
Executing Queries
Advanced Use
Why Not Just USE an ORM?
Conclusion
How to Use SSL/TLS with Node.js
HTTPS Everywhere
Basic Communication
HTTPS
Generating Certificates
Tighetning It Up
Conclusion
Open text modal
Community Questions
Close