Questions tagged [meanjs]

MEAN.JS is a full-stack JavaScript solution for building web applications using MongoDB, Express, AngularJS, and Node.js.

MEAN.JS is a full-stack JavaScript open-source solution, which provides a solid starting point for MongoDB, Node.js, Express, and AngularJS based applications. The idea is to solve the common issues with connecting those frameworks, build a robust framework to support daily development needs, and help developers use better practices while working with popular JavaScript components.


Documentation :

Related Tags for the used applications:

  • The database itself
  • The interface from express to the database.
  • web application network
  • other tag for the same web application network
  • the web frontend in the version 1.x.x
  • the javascript framework to develop and publish.
877 questions
4
votes
2 answers

Oauth social login using MEAN.js Restful sessionless API backend

I'm developing a Restful API using MEAN.js, which will be consumed by an AngularJS Web site and Phonegap Mobile Apps. I'd like the user to be able to create an account and/or login using Faceboo, Google and Twitter. I'm trying to use the same sample…
4
votes
1 answer

Best practices to inject custom module in meanjs

As I understood there is no classical registration of module, where we can inject our dependencies like: var myModule = angular.module('myModule', [otherModule]); However there are file module-name.client.module.js at the root of the…
khex
  • 2,778
  • 6
  • 32
  • 56
4
votes
0 answers

Saving value through subdocument with AngularJS and Mongoose(MEANJS)

I am trying to add a value to the 'UserID', 'UserName' keys these are the subdocument 'NetworkList' with: this.NetworkList.UserID in the controller. Using that breaks form submission, no errors in console. When the form submits, it does add the…
4
votes
0 answers

What are best practices for documenting MEAN stack web applications?

I am from Java programming background. I know how to do documentation there. We can document each method and each attribute of a class in java environment. Since last year, I have been working on a web application using MEAN stack. At first, I just…
SamFast
  • 1,054
  • 2
  • 16
  • 31
4
votes
0 answers

Enabling https after successful authentication mean.js

I'm working on an application using the mean.js framework. I have successfully managed to get facebook and local passport auth working. What I'm looking for a way to do is use https instead of http after the user has successfully logged in. I havent…
Karan Kapoor
  • 227
  • 2
  • 12
4
votes
2 answers

Where do I put the Angular code in this Mean.js app to make this list sortable?

Following the advice of @Pavlo to use https://github.com/angular-ui/ui-sortable, I have this repeating list that I want to make sortable.
user390480
  • 1,655
  • 4
  • 28
  • 61
3
votes
2 answers

How to get day name in a date in node js

I have a date like this 2017-06-23 and my desired output is Friday June 23 2017 v.npi.appointment_dates[j] = date.toLocaleString('en-US', {year: 'numeric', month: 'long', day: 'numeric' }); But because of the day: 'numeric' I am missing the day…
Duster
  • 99
  • 3
  • 9
3
votes
1 answer

meanjs 0.4.0 not working when deployed to Heroku

I've just tried the meanjs 0.4.0 in local host and runs fine but when I deploy to heroku link to app and try the "Sign up" option I get this in the navegator console: POST https://meanjsapptest.herokuapp.com/api/auth/signup 503 (Service…
Edercillo
  • 33
  • 6
3
votes
2 answers

How to uglify an angular project using grunt?

I'm trying to deploy a meanjs project but can't seem to figure out how to minify,concat&uglify the project using grunt. What I've found out so far : Need to run concat -> ngAnnotate -> uglify (else code won't run) need to concat in dependency order…
Daniel
  • 131
  • 1
  • 1
  • 7
3
votes
1 answer

How to integrate a meanjs v0.4.2 default app with a bootstrap v3.3.7 theme

I do already know how to integrate Python-flask and WordPress with Bootstrap. I do also know how to add and change the behaviour and views of new CRUD modules with the yeomon CRUD module sub-generator of generator-meanjs. However I am overwhelmed by…
thinwybk
  • 4,193
  • 2
  • 40
  • 76
3
votes
1 answer

How can I get a value from mongodb to an angularjs controller

I am new to Web Development and started out with a MEAN-Stack (Mongo, Express, Angular, Node). In short, I would like to get a value from mongo into my angular controller to use multiple values from mongo in a formula like this: value11*value12 +…
Daniel Kr
  • 43
  • 4
3
votes
0 answers

Mean.js Schema error because of module load order

I'm learning the MEAN stack and I'm still fairly new. I have a small app built in Mean.io, and I'm trying to move it over to Mean.js because that platform seems to be more maintained. Things were going well, but I hit a roadblock and I need some…
Jonathan
  • 648
  • 4
  • 13
  • 34
3
votes
2 answers

How do you update 'phantomjs' package references to 'phantomjs-prebuilt' - message from terminal in Mac OS

I am attempting to learn mean.js through a tutorial. I have installed node.js, npm, mongodb, grunt, bower, gulp, and yeoman without any errors. When I try to "yo meanjs" in the terminal (on Mac OS), I enter the directory where I want to install and…
Dan
  • 940
  • 2
  • 14
  • 42
3
votes
3 answers

How to group and calculate the total sum of items in subdocuments using AngularJS

I am using MEAN stack in my application with AngularJS as my front-end. I am trying to get total sum of my subdocuments but I did not get the desired result. my fiddle The result I got Summary: 1000 100 50 100 100 Total:undefined The result I'm…
user6124975
3
votes
1 answer

How do i add custom CSS and JS files in Sails.js 0.11?

How do i add custom CSS and JS files in Sails.js 0.11 ? Right now my tasks/pipeline.js looks like this: `var tmpPath = '.tmp/public/'; var cssFilesToInject = [ 'styles/bootstrap.css', 'styles/**/*.css' ]; var jsFilesToInject = [ …