So far, each of the pages that we have rendered displays its viewModel
data perfectly, but that pesky sidebar still remains blank. We're going to fix this by creating a few modules for the sidebar content but implementing them as helper modules. These helper modules are those that will be used repeatedly by various parts of our application and don't necessary belong to the controller
folder or the server
folder. So, we'll just create a new home called helpers
and store these modules there.
Web Development with MongoDB and Node.js
By :
Web Development with MongoDB and Node.js
By:
Overview of this book
Table of Contents (19 chapters)
Web Development with MongoDB and Node.js
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Welcome to JavaScript in the Full Stack
Getting Up and Running
Node and MongoDB Basics
Writing an Express.js Server
Dynamic HTML with Handlebars
Controllers and View Models
Persisting Data with MongoDB
Creating a RESTful API
Testing Your Code
Deploying with Cloud-based Services
Single Page Applications with Popular Frontend Frameworks
Popular Node.js Web Frameworks
Index
Customer Reviews