Beginning Web Development with Node.js
Last updated on 2013-10-18
About the Book
There are plenty of blog articles and tutorials available today that show various aspects of web development with Node.js, but it can be difficult to figure out how to piece different elements together and assemble a complete web application. This book will guide you through the development of a web application using the following components.
- Express.js Web Framework
- MongoDB Database
- Mongoose Database Mapping Utility
- Passport.js for User Authentication
- Express Validator for form validation
- Twitter Bootstrap for the User Interface
- Connect Flash for Message Passing
- Mocha and Zombie for Testing
We'll build an application using these components, version our code with Git, push it out to GitHub, and deploy it to a real production environment using Heroku. This book is not an encyclopedic reference of any of these technologies, but rather a simple guide to building a usable application with them.
Node and Express
- A Tour of Node.js
- The Express Framework
- Using Git
- Deploying to Heroku
- Creating Tests with Mocha
- Simulating a Browser with Zombie
- View Templating
- Using Bootstrap
- Fixing our Tests
Working with Data
- Add Some Data
- Connecting to MongoDB on Heroku
- Adding some Flash
- Form Validation
- Add an Edit Form
- Delete Contacts
Users and Authentication
- User Model
- Controller Actions
- View Templates
The Leanpub 45-day 100% Happiness Guarantee
Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms
Free Updates. Free App. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets), MOBI (for Kindle) and in the free Leanpub App (for Mac, Windows, iOS and Android). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.