amolswnz / meanSkeleton

MEAN App Walking Skeleton

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MEAN Application

Walking skeleton

  1. npm init
  2. npm install express --save
  3. Git Repo
    • git init
    • Create .gitignore file
    • Add the directory names in this file that you want to ignore in commit (eg node_modules)
    • git add .
    • git commit -m "Project Init"
  4. Bower components
    • Create .bowerrc file
    • Add the directory name to specify the vendor files location
    {
        "directory": "public/vendor"
    }
    
    • bower init
    • Install client side dependencies with bower
      • bootstrap
      • toastr
      • angular
      • angular-resource
      • angular-route
      • components-font-awesome
    • bower install bootstrap toastr angular angular-resource angular-route components-font-awesome --save
  5. Create node application starting point index.js
  6. Add view engine npm install pug --save (More info on pug )
  7. Install dependencies
    • stylus
    • moragan
    • body-parser
    • npm install stylus morgan body-parser --save
  8. MongoDB
    • npm install mongoose --save
    • Connection path mongodb://dbUser:dbPwd@dbhost:dbPort/dbName
  9. Adding Stylus
  10. DONE

To use this MEAN Walking Skeleton

Step 1] npm install
Step 2] bower install
Step 3] nodemon

Credits

MongoDB is an open source, document-oriented database designed with both scalability and developer agility in mind.

Express.js Fast, unopinionated, minimalist web framework for Node.js

AngularJS — Superheroic JavaScript MVW Framework.

Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine.

mongoose elegant mongodb object modeling for node.js

Bootstrap is the most popular HTML, CSS, and JS framework for developing responsive, mobile first projects on the web.

jQuery The Write Less, Do More, JavaScript Library.

toastr is a Javascript library for non-blocking notifications.

Font Awesome gives you scalable vector icons that can instantly be customized.

Style Guide John Papa Opinionated Angular style guide for teams by @john_papa

About

MEAN App Walking Skeleton


Languages

Language:HTML 40.4%Language:JavaScript 39.4%Language:CSS 20.2%