Skip to content

DetaElectPro/MEAN

Repository files navigation

Node Version Manager

Build Status CII Best Practices

MEAN Stack Angular Nodejs MongodbMIT license

This is the MEAN stack development project with angular6, nodejs, expressjs, mongodb using TypeScript, developed by Angular CLI and visual studio code tools.

This project uses the MEAN stack:

Other tools and technologies used:

Prerequisites

  1. Install Node.js and MongoDB
  2. Install Angular CLI: npm i -g @angular/cli and npm install -g typescript
  3. From project root folder install all the dependencies: npm i

Installation

git clone https://github.com/DetaElectPro/MEAN
cd MEAN
cp .env.example .env
npm install
npm run dev #(for development)

RUN

  1. Run mongod and mongo serices (If you get any error like connection faild, just create the folder C:\data\db). or systemtlc start mongodb or service mongod starton Linux
  2. npm run dev: concurrently execute MongoDB, Angular build, TypeScript compiler and Express server.
  3. npm run prod: run the project with a production bundle and AOT compilation

Preview

Preview

Author