Questions tagged [mean-stack]

The MEAN stack is a methodology that employs MongoDB, Express, Angular / AngularJS, and Node.js to provide a complete end-to-end system. One of the primary motivations for such a stack is that it is pure JavaScript at all ends. Two different implementations are available: mean.io and mean.js

MEAN (an initialism for Mongo, Express, Angular, Node) stack can be implemented just as LAMP stack is implemented, with or without a specific framework or architecture as the four technologies can be implemented in completely different ways.

A ready-to-go implementation is available at meanjs.org.

Related tags:

3884 questions
5
votes
2 answers

Heroku Mixed content HTTPS/HTTP issue

I deployed my app to Heroku and I keep getting this error in the Chrome console: bundle.js:11892 Mixed Content: The page at 'https://***.herokuapp.com/#/login' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint …
JuniorSauce
  • 227
  • 3
  • 9
5
votes
2 answers

Passport Saml Loop

I'm trying to make a ADFS identification with Passport-Saml.js in a nodejs/angularjs project. When I'm connecting to my Web Site I'm correctly redirected to my ADFS portal. ADFS portal, after authentication correctly redirects to callback. Then the…
5
votes
2 answers

MongoDB. How to update json property inside an array

I'm using the Mean stack. I'm uncomfortably new to this and have got myself in a pickle. I've seen examples of updating records using set or push but because I'm trying to update one json object within a json object within an array of json objects…
zafrani
  • 4,030
  • 5
  • 31
  • 39
5
votes
1 answer

Adding MeteorJS to an existing AngularJS/MEAN stack app

I'm new to MeteorJS and I think it's a better alternative to the MEAN stack I used in one of my projects. I like the angular-meteor package (https://github.com/Urigo/angular-meteor) but I think it's mainly for adding AngularJS support to a MeteorJS…
Rami Enbashi
  • 3,526
  • 1
  • 19
  • 21
5
votes
2 answers

How to enable CORS in MEAN STACK web app?

I am working on a MEAN-STACK application.Using Mean-cli packgae of node. in which i am using darksky weather API, in package name Information. I have 4 other packages in custom folder of mean app. how did i enable the CORS so that all API request…
ashishkumar148
  • 975
  • 1
  • 10
  • 26
5
votes
4 answers

js-bson: Failed to load c++ bson extension, using pure JS version

I tried to install mean.io stack on an arch linux mini computer (the cubox). So I install nodejs and mongodb packages. I retrieve the stack with Git, made an npm install (it was ok) but then: I get this error after typing 'grunt': [nodemon]…
Tyvain
  • 2,640
  • 6
  • 36
  • 70
5
votes
1 answer

MEAN stack on Ubuntu 14.04 suddenly stopped working

Well, this stinks, here's the scoop: I'm helping a friend work on a website project using the MEAN stack (mongodb, express, angular and nodejs), I am running Ubuntu 14.04. I'm fairly savvy with Linux and I'm an experienced web developer but most…
hypervisor666
  • 1,275
  • 1
  • 9
  • 17
5
votes
3 answers

where should I add module dependencies in mean.js (for ng-sortable)

I am trying to add ng-sortable to my mean.js based app. https://github.com/a5hik/ng-sortable Following the install instructions and adapting them to mean.js I included the js and css files (which are loading correctly), but where I fall down is…
Finglish
  • 9,692
  • 14
  • 70
  • 114
5
votes
2 answers

Backbone.js MEAN Stack equivalent

I know a couple of projects out there like mean.io or meanjs, or even yeoman generators where all the necessary boilerplate stuff when you are going to develop under MEAN stack it's done for you. The truth is that MEAN stack has been closely coupled…
5
votes
3 answers

Auth failed error when specifying database

I'm trying to connect to a mongodb from my web application. However, I get an auth failed error from mongo when I specify the database I want to connect to. If I do not specify the db, then to connection is successful. I have checked the spelling…
David
  • 965
  • 3
  • 12
  • 24
5
votes
1 answer

Extending the users package of mean.io

I am trying to create an application for sports event management system using MEAN.io Since it uses the modular approach, there are different packages that comes in skeleton application like system, users, access. What i want to do is make a new…
bring2dip
  • 886
  • 2
  • 11
  • 22
5
votes
2 answers

How to properly initialize documents in mongoose collection

Please, correct me if my design is not recommended: I have a model for blog posts with a field "category". I want the user to be able to type the category (with typeahead) and, if the category isn't there, the user would be able to create it.…
igorauad
  • 648
  • 2
  • 8
  • 11
5
votes
5 answers

Error when starting Node Application - MEAN Stack

I have started to create a Node js application using MEAN Stack so i have followed the steps in the following URL to intialize a node js Application using MEAN. Link When i provide GRUNT or Started the Node js Application in Terminal, I am getting…
Mohan Annasamy
  • 367
  • 3
  • 5
  • 13
5
votes
2 answers

Can't find records in Waterline by date/time

how compare a datetime in sails.js Model? here it is what i did but without luck. var _date = moment().format('YYYY-MM-DDTHH:mm:ss.SSS') + 'Z'; Game.find({ where:{ active: true, start: { '>=' : _date } }, …
Sebastian
  • 51
  • 1
  • 3
5
votes
1 answer

How mongodb connection works on concurrent requests in NodeJS express server?

I am new to mongoDB and I'm currently working on setting it up with Node express server. I wonder how to manage concurrent requests to the mongodb to read the collection data using the mongoose driver module. For example: If 100 users are accessing…
user2749751
  • 405
  • 7
  • 22