Skip to content

simple Boiler Plate for Mongo Express Angular Node (a.k.a MEAN)

Notifications You must be signed in to change notification settings

ValleJulien/MEAN

Repository files navigation


To Start


  1. install nvm, follow the link (manually or =with curl) NVM install https://github.com/creationix/nvm for Linux Unbuntu

  2. in terminal launch and follow instruction to generate node env ad package.json npm init

  3. create at the root folder the file index.js

  4. feel free to add node module like npm install nodemon --save-dev --save (just a dependacy) -dev(dev depency)

    to run the nodemon laucnh this command (not globally installed): node node_modules/nodemon/bin/nodemon index.js to install globally npm install -g nodemon

  5. add formidable module for parsing form data, especially file uploads (https://www.npmjs.com/package/formidable) npm install formidable --save

  6. add express.js http://expressjs.com/ in new folder named here (SampleExpress) for sample test

  7. install express globally with express generator

  8. create a new app myApp with the cmd express create myApp

  9. to run the express app, go to myApp folder and write DEBUG=myApp:* npm start in terminal

  10. add a middleware (cf app.js line 25)

  11. install mongo-Db (https://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/):

    • sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927

    • echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.2.list

    • sudo apt-get update

    • sudo apt-get install -y mongodb-org

  12. install mongojs npm install mongojs --save

  13. add angular last step to MEAN boiler Plate


Mongo Express Angular Node MEAN


  • A good Boiler Plate for implementing Node and Node environement


  • Open-Source Full-Stack Solution For MEAN Applications

What is MEAN.JS?

  • MEAN.JS is a full-stack JavaScript solution that helps you build fast, robust, and maintainable production web applications using MongoDB, Express, AngularJS, and Node.js.

Why MEAN.JS?

  • MEAN.JS will help you getting started and avoid useless grunt work and common pitfalls, while keeping your application organized. Our goal is to create and maintain a simple and readable open-source solution that you can use and trust in your projects.

Getting started

  • After downloading the source code go over the official documentation of MongoDB, ExpressJS, AngularJS, and Node.js, then continue with the MEAN.JS Documentation.

MEAN.IO The Friendly & Fun Javascript Fullstack for your next web application (http://mean.io/ and http://learn.mean.io/)


Express

Express is a minimal and flexible node.js web application framework, providing a robust set of features for building single and multi-page, and hybrid web applications.

AngularJS

AngularJS lets you extend HTML vocabulary for your application. The resulting environment is extraordinarily expressive, readable, and quick to develop.

Node.js

Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications.

MEAN STACK


MEAN is a framework for an easy starting point with MongoDB, Node.js, Express, and AngularJS based applications. It is designed to give you a quick and organized way to start developing MEAN based web apps with useful modules like Mongoose and Passport pre-bundled and configured. We mainly try to take care of the connection points between existing popular frameworks and solve common integration problems.

About

simple Boiler Plate for Mongo Express Angular Node (a.k.a MEAN)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages