Integrated project of the lecture Web2.0 at the University of Zurich. This project was generated with the Angular Full-Stack Generator version 3.6.1.
- Git
- Node.js and npm Node ^4.2.3, npm ^2.14.7
- Bower (
npm install --global bower
) - Gulp (
npm install --global gulp
) - MongoDB - Keep a running daemon with
mongod
This link may help you setting up MongoDB in your OS X environment. Here you may find help setting it up on Windows.
-
If you are using Webstorm, you have to make sure that the Node.js Core library is enabled. In order to enable it, go to Preferences > Languages and Frameworks > Node.js and NPM and click "Enable" under 'Code Assistance'.
-
Since the application is written in ES6, you have to set it as the JavaScript language version of the project. In order to do this, go to Preferences > Languages and Frameworks > JavaScript and select 'ECMAScript 6' in the dropdown.
-
Run
npm install
to install server dependencies. -
Run
bower install
to install front-end dependencies. -
Run
mongod
in a separate shell to keep an instance of the MongoDB Daemon running -
Run
gulp serve
to start the development server. It should automatically open the client in your browser when ready.
Run grunt build
for building and grunt serve
for preview.
Running npm test
will run the unit tests with karma.
This project was developed together with two other students who all contributed a large part.