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
8
votes
2 answers

MEAN stack, Win 7, git push heroku master results in sh: bower: not found error

Can some please advise why I'm getting this error when doing a git push heroku master on windows 7 for a basic mean stack app? I'm trying a basic mean stack app and did the following commands and finally "git push heroku master" command which…
user2712585
  • 153
  • 1
  • 2
  • 5
7
votes
3 answers

How to call multer middleware inside a controller in nodejs?

I'm trying to upload an image in my server. In the front-end I'm working with Angular. The front-end is working fine, I only posted to show you how I'm passing the file to back-end! component.html
Diego de Lima
  • 471
  • 2
  • 7
  • 15
7
votes
4 answers

"Connection refused" Angular 4 localhost development

I am getting "Connection refused" page while running Angular 4 app locally. URL is http://localhost:4200/ Running the app with ng serve --open command. UPDATE 1: angular.json With some sources I have found that the angular cli file is now changed as…
Gopal
  • 1,734
  • 1
  • 14
  • 34
7
votes
2 answers

Incorporating MongoDB views into Node

In MongoDB v3.4, views were added as a feature. However, I haven't been able to find any resources for how'd I'd use a view I created in a Node.js application. How would I go about doing this, specifically for an aggregation view?
bag531
  • 179
  • 1
  • 9
7
votes
2 answers

A valid Gruntfile could not be found

I have followed this link to try to install a mean.js stack on an ubuntu server. Regarding grunt, in /opt/mean, I have done sudo npm install -g bower grunt-cli sudo npm install grunt --save-dev sudo npm install However, grunt or grunt jshint inside…
SoftTimur
  • 5,630
  • 38
  • 140
  • 292
7
votes
1 answer

Dockerized MongoDB on Heroku?

I'm not sure if this is the right StackExchange to be asking this, but I'm in the process of setting up a MEAN stack application and I want to do it right from the get-go. I really would like to use Docker and Heroku (due to their new pipelining…
carbon_ghost
  • 1,114
  • 5
  • 18
  • 40
7
votes
4 answers

How to authorize Node.js API with Azure AD?

We have application that is written using MEAN stack. Right now application is using home grown authentication. We are trying to replace it with Azure AD authentication. There is nice article here that shows how to configure Angular for Azure…
LP13
  • 30,567
  • 53
  • 217
  • 400
7
votes
1 answer

Can I use Firebase in a MEAN application?

Background I am building an Angularjs app and have added express and mongodb to the app already but when looking for some other back-end tools I came across firebase. I'm just a little confused as to how it all fits together and would appreciate…
Joe Lloyd
  • 19,471
  • 7
  • 53
  • 81
7
votes
1 answer

Looking for an Angular2 MEAN Stack

I am trying to use Angular2 with a NodeJS backend. I don't actually need the whole MEAN stack but only a few things : - Angular2 - Bower - NodeJS - gulp or grunt to make these work all together I found an article on android2-education but the…
Olivier
  • 3,121
  • 2
  • 20
  • 28
7
votes
1 answer

How to return json web token (jwt) with passport-facebook without showing it in the redirect url

I am using passport-facebook to login in a MEAN stack webapp. After successful login, I want to generate a JSON Web Token (jwt) and redirect to a page in my SPA. (res.redirect('/#/posts/'+ doc.generateJWT()); -- please see the associated code…
user5034543
  • 123
  • 1
  • 2
  • 7
7
votes
3 answers

How should a node.js stack for a high demand application be setup?

I'm currently working on a Node.js stack application used by over 25000 people, we're using Sails.js framework in particular and we got MongoDB Application is running at a EC2 instance with 30GB of RAM, databse is running on a Mongolab AWS based…
diegoaguilar
  • 8,179
  • 14
  • 80
  • 129
7
votes
3 answers

Is search engine optimization on a mean.js full stack javascript application still a major issue an how should it be dealt with

I am working on my first full stack javascript application using specifically mean.js as my start point, and I have started to become nervous and somewhat confused around the issue of search engine optimization (SEO). Has Googles recent efforts…
Finglish
  • 9,692
  • 14
  • 70
  • 114
7
votes
1 answer

What is the best way to install the MEAN stack on cloud9? Error message when following manual

There seem to be various way to install all the modules of the Mean Stack (mean.io). However, what is the best way to do this in c9.io? I have been trying a lot of things, but I do not seem to get them all. c9.io has dedicated workspaces for NodeJs…
WJA
  • 6,676
  • 16
  • 85
  • 152
7
votes
1 answer

How can I safely remove a CRUD module built with yo (mean.js)

How can I safely remove a CRUD module built with yo meanjs:crud-module ? Is it enough just to delete folder and server files?
Lupus
  • 1,519
  • 3
  • 21
  • 38
7
votes
0 answers

How to integrate grunt bootstrap less in a mean.io stack

I want to build my own compiled css file using the source Less bootstrap files In my project I'm using the mean.io stack. how to integrate less in a mean stack ? I found just a lot of tools out there like…
Whisher
  • 31,320
  • 32
  • 120
  • 201