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 the latest MongoDB Community Server from MongoDB, and follow the installation guide for your platform (e.g. Windows, MacOS, Ubuntu).

Node.js and NPM Packages

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

  • express-generator for creating web applications using the Express framework.
  • @angular/cli for creating and building Angular projects.
  • 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 nodemon, simply run "npm install -g nodemon".

Text Editors for Developers

Sublime Text, Visual Studio Code, and Atom are all great code editors and popular among MEAN stack developers. Just pick one that you like the most.

 

This page has been viewed 6890 times.