Angular 2.0: Manage videos (CRUD operations) (ExpressJS + MongoDB)

02 Oct 2016 GitHub source code Angular2 JavaScript MongoDB ExpressJS


I replaced ExpressJS server and MongoDB with angular-in-memory-web-api in my previous project.

All differences with previous project only in two places. I add bin/www and app.js files to handle ExpressJS and MongoDB and remove all angular-in-memory-web-api files and modules.

Installation

To use this code you need to install MongoDB and create any database.

git clone  https://github.com/alexbra/ytplayer-express-mongo  my-proj
cd my-proj
npm i 

Open another terminal window Connect to your mongo database

cd path_to_mongodb_folder/bin
mongod --path/to/your/database

In first window run application

npm start

Open http://localhost:3000/