Skip to content

stanleyeosakul/mean-simple-starter

Repository files navigation

MEAN Simple Starter

Last Update: 3/7/2018

This MEAN starter repository is a full-stack development toolkit using the Javascript-based technologies MongoDB, Express, Angular, and Node.js.

Versions

  • MongoDB v3.6.2 (Mongoose v5.0.9)
  • Express v4.16.2
  • Angular v5.2.8
  • Node.js v9.7.1

Cloning the Project for Personal Use

Installation

  1. Clone this repo: git clone https://github.com/stanleyeosakul/mean-simple-starter.git
  2. cd into the folder of the cloned repo
  3. Run yarn install to install dependencies
  4. Start your local MongoDB instance
  5. Choose to run the development or production server
    • Development
      • Front End (Angular)
        • Run ng serve, and navigate to http://localhost:4200/.
      • Back End (MongoDB, Express, Node.js)
        • Run yarn run dev, and navigate to http://localhost:3000/.
    • Production
      • Run yarn run build, and navigate to http://localhost:3000/.

Built-in scripts

  • yarn run dev
    • Builds the Angular project without build optimization into the dist/ folder
    • Runs the server.js node app
  • yarn run build
    • Builds the Angular project into the dist/ folder
    • Runs the server.js node app

Installed Packages

Front-end

Back-end

Development