Skip to content

Latest commit

 

History

History
54 lines (49 loc) · 1.52 KB

README.md

File metadata and controls

54 lines (49 loc) · 1.52 KB

MEAN-Stack-Workshop-Code

Requirements

  1. Git Version Control (Download & Install)
    https://git-scm.com/downloads
  2. Node JS (LTS) (Download & Install)
    https://nodejs.org/en/download/
  3. Mongo DB (v4.4.3) (Download & Install)
    https://www.mongodb.com/try/download/community
  4. Postman (Download & Install)
    https://www.postman.com/downloads/
  5. Angular 10.x.x (Run Command)
    npm install -g @angular/cli@latest
  6. Nodemon (Run Command)
    npm install -g nodemon

Verify Installation of all CLI Tools

  1. Git
    git --version
  2. Node JS
    node -v
  3. Mongo DB
    mongo --version
  4. Angular
    ng --version
  5. Nodemon
    nodemon --version

How to Install & Run the App

  1. Clone the repository by running this command where you want the project to be saved.
    https://github.com/Revolution-SDC/MEAN-Stack-Workshop-Code.git
  2. Install Node Modules.
    i) In the root directory, run the command:
    npm install
    ii) Go to the 'angular-src' directory and again run:
    npm install
  3. In the root directory, run the command:
    nodemon
  4. Go to the 'angular-src' directory and run the command:
    ng serve
  5. Open a browser and go to the following URL:
    localhost:4200

You always have to run the following commands in order to start the application.

  1. To start the backend of the project, open a CMD in the root directory and run the command:
nodemon
  1. To start the frontend of the application, open a CMD in the "angular-src" directory and run the command:
ng serve

Happy Coding!