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 offer a selection of nine different practical projects that you can follow along with.
It contains:
- Build a Simple Beginner App with Node, Bootstrap & MongoDB by James Hibbard
- How to Build a File Upload Form with Express and Dropzone.js by Lukas White
- How to Build and Structure a Node.js MVC Application by James Kolce
- User Authentication with the MEAN Stack by Simon Holmes & Jeremy Wilken
- Build a JavaScript Command Line Interface (CLI) with Node.js by Lukas White & Michael Wanyoike
- Building a Real-time Chat App with Sails.js by Michael Wanyoike
- Passport Authentication for Node.js Applications by Paul Orac
- Local Authentication Using Passport in Node.js by Paul Orac
- An Introduction to NodeBots by Patrick Catanzariti
This book is for anyone who wants to start learning server-side development with Node.js. Familiarity with JavaScript is assumed.
Publisher resources
Table of contents
- 9 Practical Node.js Projects
- Notice of Rights
- Notice of Liability
- Trademark Notice
- About SitePoint
- Preface
- Chapter 1: Build a Simple Beginner App with Node, Bootstrap & MongoDB
-
Chapter 2: How to Build a File Upload Form with Express and Dropzone.js
- by Lukas White
- Introducing DropzoneJS
- Installation
- First Steps
- Basic Usage
- Basic Configuration Options
- Sending Additional Headers
- Handling Fallbacks
- Handling Errors
- Overriding Messages and Translation
- Events
- A More Complex Validation Example: Image Dimensions
- A Complete Example
- Theming
- A Simple Server-Side Upload Handler with Node.js and Express
- Handling Upload Success
- Handling Upload Errors
- Summary
- Chapter 3: How to Build and Structure a Node.js MVC Application
- Chapter 4: User Authentication with the MEAN Stack
-
Chapter 5: Build a JavaScript Command Line Interface (CLI) with Node.js
- by Lukas White & Michael Wanyoike
- Why Build a Command-line Tool with Node.js?
- What We’re Going to Build: ginit
- The Application Dependencies
- Getting Started
- Adding Some Helper Methods
- Initializing the Node CLI
- Prompting the User for Input
- Dealing With GitHub Authentication
- Communicating with the GitHub API
- Creating a Repository
- Creating a .gitignore File
- Interacting with Git from Within the App
- Putting It All Together
- Making the ginit Command Available Globally
- Taking it Further
- Chapter 6: Building a Real-time Chat App with Sails.js
- Chapter 7: Passport Authentication for Node.js Applications
- Chapter 8: Local Authentication Using Passport in Node.js
- Chapter 9: An Introduction to NodeBots
Product information
- Title: 9 Practical Node.js Projects
- Author(s):
- Release date: November 2018
- Publisher(s): SitePoint
- ISBN: 9781492071099
You might also like
book
Node.js 8 the Right Way
Node.js is the platform of choice for creating modern web services. This fast-paced book gets you …
book
Node.js: Tools & Skills, 2nd Edition
While there have been quite a few attempts to get JavaScript working as a server-side language, …
book
Node.js High Performance
Take your application to the next level of high performance using the extensive capabilities of Node.js …
book
Learning Node.js Development
A comprehensive, easy-to-follow guide to creating complete Node apps and understanding how to build, deploy, and …