Created a sample shopping cart for a Target.com exercise several years ago. Just navigate to: https://github.com/BrockFredin/cart/tree/develop/packages/custom/cart/server
CART API is a framework for an easy starting point with MongoDB, Node.js, Express, and AngularJS based applications. It is designed to give you a quick and organized way to start developing CART API based web apps with useful modules like Mongoose and Passport pre-bundled and configured. We mainly try to take care of the connection points between existing popular frameworks and solve common integration problems.
- Node.js - Download and Install Node.js, nodeschool has free node tutorials to get you started.
- MongoDB - Download and Install mongodb - Checkout their manual if you're just starting.
If you're using ubuntu, this is the preferred repository to use...
$ curl -sL https://deb.nodesource.com/setup | sudo bash -
$ sudo apt-get update
$ sudo apt-get install nodejs- Git - Get git using a package manager or download it.
- Node.js - Download and Install Node.js, nodeschool has free node tutorials to get you started.
- MongoDB - Follow the great tutorial from the mongodb site - "Install Mongodb On Windows"
- Git - The easiest way to install git and then run the rest of the commands through the git bash application (via command prompt) is by downloading and installing Git for Windows
- Node.js - Download and Install Node.js or use the packages within brew or macports.
- MongoDB - Follow the tutorial here - Install mongodb on OSX
- git - Get git from here.
- CART API currently works with either grunt or gulp..
$ npm install -g gulp
// and bower
$ npm install -g bower
To start with a CART API install the mean-cli package from NPM.
This will add the mean command which lets you interact (install, manage, update ...) your CART API based application.