Sample application using Node.js, Express, Angular 2, MongoDB and Gulp.
-
Install Node.js: https://nodejs.org
-
Install MongoDB: https://mongodb.com
-
Start the MongoDB daemon: navigate to MongoDB installaton folder and execute
mongod
-
Install Nodemon and Gulp: execute
npm install nodemon gulp -g
-
Install npm dependencies:
npm install
-
Copy required Angular modules into the public folder:
gulp copy:libs
-
Compile the TypeScript and start the server:
npm start
-
Browse to http://localhost:3000