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
1
vote
1 answer

$injector:nomod Module 'mean.system' is not available! running karma on new mean.io app

Just bootstrapped an app w/ mean.io mean init myApp cd myApp grunt test and the karma tests are failing with " Error: [$injector:nomod] Module 'mean.system' is not available!" OSX 10.9.4 mean 0.5.51 PhantomJS 1.9.7 Karma 0.12.16 The packaged…
Mark Nadig
  • 4,901
  • 4
  • 37
  • 46
1
vote
1 answer

How to set sass with compass and coffeescript in meanio

I find mean.io (MongoDB Espress Angular Node) very interesting. I'm used to work with coffeescript, sass and compass. I would like to start a project with all these and not with pure js and css as the default setup does. Is it possible to do it?
mtoninelli
  • 686
  • 1
  • 6
  • 21
1
vote
0 answers

MongoDB and REST

I have this Schema: (I am working with MEAN stack) var userSchema = mongoose.Schema({ firstName: String, lastName: String, randomText: String }); var User = mongoose.model('User', userSchema); A jade file: .someClass Some default…
DareDev1l
  • 121
  • 1
  • 8
1
vote
3 answers

Angular ng-view not working

I've been following the following tutorial (http://scotch.io/bar-talk/setting-up-a-mean-stack-single-page-application) trying to learn building MEANapps. Uppon setting up the application my views are not shown in the ng-view div. My app is…
user3788494
  • 19
  • 2
  • 4
1
vote
1 answer

What are packages in meanio

What are these packages in mean stacks. I am playing around with meanio and it has its own packages and so does cleverstack with its modules. Why do we need them? More specifically they should be be node packages rather than packages specific to…
Anoop
  • 5,540
  • 7
  • 35
  • 52
1
vote
0 answers

Deploying Angular-fullstack on Heroku: problems adding modules

I have used generator-angular-fullstack, and I have deployed on Heroku and all works. But I have tried to add some module (angular-bootstrap), and when I try to deploy on Heroku I have this problem: Uncaught SyntaxError: Unexpected token < …
Enrique Aparicio
  • 807
  • 1
  • 7
  • 19
1
vote
2 answers

Generating subdomains on the fly

I am working on a MEAN application which provides people with their own unique sub-domain as part of their sign-up process. How to I do this? I am open minded regarding what cloud services I use, I am impressed by Digital Ocean for example but it…
Nick Lewis
  • 772
  • 1
  • 10
  • 20
1
vote
1 answer

Can I arbitrarily close tags in Jade?

I've been trying in vain to produce the following HTML in Jade:
  • Item - lorem ipsum
I'm sure it's possible, but the closest thing I could find was self-closing tags. Thanks! UPDATE I experimented with…
Titus
  • 4,487
  • 6
  • 32
  • 42
1
vote
1 answer

MEAN stack, angular basic example is not working

i am newbie to MEAN stack. i am making example from many websites. but i just cannot go further. here is the problem. my webserver can send index.html and other js files. but simple angular app won't work. here are codes. index.html
Hanjun koo
  • 313
  • 4
  • 14
1
vote
1 answer

filtering nested ng-repeat with the outer ng-repeat's object property

I'm trying to do two nested ng-repeats with two json's, where the second ng-repeat is filtered by the parameter of the first ng-repeat. First json $scope.matches contains the information on every match in the World Cup. The second json…
TheGuvnor
  • 13
  • 2
1
vote
1 answer

NodeJS - post data is cached in the request body

I have two node servers where node server2(port 3001) receives requests from node server1(running on port 3000). When i bind data in server1 and make post call to server2 , server2 always caches the old data maintained in previous call. For ex :…
user2749751
  • 405
  • 7
  • 22
1
vote
1 answer

integration socket.io - express 4 ,same port and security session

I'm working with mean.js and I need to have some real time features in my app, to accomplish that I'm going to use socket.io library. Here is my idea on how to integrate and still have a good structure in the app. Mean is using a server.js file,…
rahpuser
  • 1,224
  • 10
  • 31
1
vote
1 answer

Understand communication between node angular express and mongo

I'm trying to understand the communication in a MEAN stack. I wrote the following pieces of code, using yeoman fullstack generator to scaffolding the app: mongoose schema 'use strict'; var mongoose = require('mongoose'), Schema =…
Biagio Chirico
  • 646
  • 5
  • 14
1
vote
2 answers

HTTP POST is submitting empty JSON array

$scope.submitBracket = function(item, event){ console.log("submitting form"); var jsonData = '{"userEmail" : "darwood@mail.com","brackets" :' + JSON.stringify($scope.allGames) + '}'; var testJSON = {"Hello": {"id": "file", "value":…
djpATLSF
  • 243
  • 1
  • 3
  • 5
1
vote
2 answers

Express failing to look up view

I am trying to create a SPA app, but when i start my application it does an infinte loop leading to a crash. I am using ExpressJS 4.3.0 App architecture: public --partials ----index.jade server.js My express code: var app = express(); var port =…
1 2 3
99
100