Coder Social home page Coder Social logo

meanskeleton's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.