reset password

Setting Up MEAN Development Environment for CS5220

This guide is for setting up a MEAN (MongoDB, Express, Angular, Node.js) development environment for CS5220 on Windows. 

MongoDB

Download and install the latest MongoDB Community Server from MongoDB. Unlike some other DBMS, MongoDB does not automatically create and start a Windows service during installation. Please read the tutorial for your platform (e.g. Windows, OS X, Ubuntu).

Node.js and NPM Packages

Download and install Node.js 8.x from nodejs.org. We will also need the following global packages:

  • eslint and tslint for problem detection in JavaScript and TypeScript code, respectively.
  • express-generator for creating web applications using the Express framework.
  • @angular/cli for creating and building Angular projects.
  • ts-node for running TypeScript code.
  • nodemon for running and monitoring Node.js applications.

To install a package globally (meaning the package will be available to all projects instead of being used by only one project), open a command prompt and run the following command:

npm install -g <package_name>

For example, to install eslint, simply run "npm install -g eslint".

Visual Studio Code

Which

 

This page has been viewed 7620 times.