Appendix B. Setting up a Node.js server
You can run Angello one of two ways: with Firebase or Node.js. We’ll show you how to install Node.js and integrate it with Angello.
Install Node.js (with Node Package Manager, a.k.a. npm) and MongoDB
If you don’t have Node.js and npm, here are a few resources to get you started:
- Git (http://git-scm.com/)
- Node.js (https://nodejs.org/download/)
- You’re in luck: Node.js comes with npm!
To install MongoDB, go to http://docs.mongodb.org/manual/installation/ and follow the directions for your specific platform.
Initialize the repo
Go to your terminal and run the following commands (after you’ve installed Git and Node.js):
cd <your-projects-folder> git clone https://github.com/angularjs-in-action/angello-express-api ...
Get AngularJS in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.