SitePoint
  • Premium
  • Library
  • Community
  • Jobs
  • Blog
LoginStart Free Trial
9 Practical Node.js Projects
9 Practical Node.js Projects
Notice of Rights
Notice of Liability
Trademark Notice
About SitePoint
Who Should Read This Book?
Conventions Used
What We’ll Be Building
Basic Setup
Initialize the Application
Basic Templating with Pug
Dealing with Forms in Express
Interact with a Database
Add HTTP Authentication
Serve Static Assets in Express
Conclusion
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
What is MVC?
Laying out the Foundation
Storing Our Settings
Defining the Routes
Building the Models
Building the controllers
Building the Views
Serving Static Files
Conclusion
The MEAN Stack Authentication Flow
The Example Application
Creating the MongoDB Data Schema with Mongoose
Set Up Passport to Handle the Express Authentication
Configure API Endpoints
Create Angular Authentication Service
Apply Authentication to Angular App
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
Prerequisites
Project Plan
Installing Sails.js
Installing Front-end Dependencies
Creating Views
Routing
Generating a User API
ChatMessage API
Basic Authentication
Final Touches
Summary
Express Web App
Setting up Passport
Implementing Facebook Authentication
Implementing GitHub Authentication
Conclusion
Prerequisites
Creating the Project
HTML
Setting up Express
Setting up Passport
Creating a MongoDB Data Store
Connection Mongo to Node with Mongoose
Implementing Local Authentication
Conclusion
What is a Microcontroller?
What are NodeBots?
Where To Start
Resources for Learning NodeBots
Conclusion

Community Questions