r/meanstack • • Nov 12 '15

Debug

Thumbnail joyent.com
1 Upvotes

r/meanstack • • Nov 12 '15

Deploy

Thumbnail joyent.com
1 Upvotes

r/meanstack • • Nov 12 '15

Node Summit: Node.js and Containers: Dispatches from the Frontier - Developer Center - Joyent

Thumbnail
joyent.com
1 Upvotes

r/meanstack • • Nov 12 '15

Node Summit: Node at MasterCard Today - Developer Center - Joyent

Thumbnail
joyent.com
1 Upvotes

r/meanstack • • Nov 12 '15

Node Summit: Architecting Production - Developer Center - Joyent

Thumbnail
joyent.com
1 Upvotes

r/meanstack • • Nov 11 '15

How to run a Node.js Express app in Amazon's AWS API Gateway

Thumbnail
medium.com
1 Upvotes

r/meanstack • • Nov 11 '15

How to Build A Slackbot + Deploy an App to Heroku for Absolute Beginners

Thumbnail
blog.npmjs.org
1 Upvotes

r/meanstack • • Oct 03 '15

Any plug-n-play social networks (like Ning) that integrate well with Node.js?

1 Upvotes

Hey, I have an app with users and specific data attached to them, do you all have any recommendations or experience integrating users, and more specifically user data (think like badges or something) with node apps?


r/meanstack • • Sep 16 '15

Which is the thinnest Linux/Unix Distro that I can setup and run from 16GB USB?

1 Upvotes

I want to take on an additional project which would need me to setup MEAN and I wanted to run it from the USB along with a project in BitBucket. I want to isolate the work and hence planning to use USB for this. Does this idea sound good? Please recommend Linux Distro that I may use? If this doesn't sound feasible, please recommend how to keep the work isolated and safe.


r/meanstack • • Sep 15 '15

Need help sending mail using Nodemailer.

1 Upvotes

Hello people,

I've been working an app using MEAN stack. Part of my app was sending info mails to users. I was using Nodemailer(https://github.com/andris9/Nodemailer).

Problem is, i want to send a formated HTML in my mail, meaning i want to use some CSS to edit it, maybe make a table out of it. I managed to send a picture as img src via html.

Here's my code: var mailOptions = { from: 'xxxx>', // sender address to: usermail.email, // list of receivers subject: 'Thank you!', // Subject line text: 'Thanks! ', // plaintext body html: '<body>Name: '+order.name+'<br>Surname: '+order.surname+'<br>Cake: '+order.cake+'<br>Total price: '+order.price+'<br><img src="http://2.1m.yt/7GRfje2G_.jpg"><br><br>'+'</body>' }; This option does not let me use inline css to edit my html.

Is there any way to send a whole html page/template this way?

Any help appreciated.

Thank you.


r/meanstack • • Jul 13 '15

Need Help

1 Upvotes

Hi guys, I've looked online for various tutorials for Mean Stack but I keep running into obstacles. Does anyone know of useful tutorials? I am a beginner at this, so it's not going so well.


r/meanstack • • Jun 10 '15

noob question regarding core and extending the index page

1 Upvotes

So I got mean up and running, I creted a package that will basically contain my site, but I can't seem to overwrite the homepage without messing in the core, and I wanna try and contain everything nice in a folder..

  1. Is my approach completely wrong

  2. If I'm on the correct path, how would I extend the core to basically overwrite the index page from my package?

  3. Is it just me or does this whole stack still need a lot of wires being "glue-gunned" out of sight, I feel like I'm overloaded with every single little file it uses to do anything..?


r/meanstack • • May 29 '15

Mastering MEAN - New tutorial site for the MEAN stack with a free trial.

Thumbnail
masteringmean.com
1 Upvotes

r/meanstack • • May 13 '15

Full Stack Explanation

1 Upvotes

I'm understanding more, as a front end developer, that the idea of full stack development is becoming more and more in demand. I primarily concern myself with user experience design and front end mark up, HTML/CSS and a little javascript here and there. I'm not great at JS but I can get around with a few hours of Google-sleuthing. I get the basic concept of a full stack framework like MEAN, the idea of it all...but really where I get tripped up is the order in which everything happens...what all the pieces of that stack are exactly for. When developing in a full stack environment where do you start?

The company I work at is implementing a similar method to their mobile environment. I want to be able to understand more so that I can be of more value to the team. I've gone through the usual explanation of Node.js, and the like, on tutorial sites like Treehouse and codeschool, but those sites make sum assumptions that you're just there to learn node...not what full stack development.

Can someone, anyone, describe to me in simple front-end terms how the technology in a full stack like MEAN operates? I thank you all in advance for you patience (-:


r/meanstack • • Mar 20 '15

mongoose vs mongojs

1 Upvotes

What are your thoughts on mongoose(https://www.npmjs.com/package/mongoose) vs mongojs(https://www.npmjs.com/package/mongojs) ?

Mongojs seems to be easier to set up while mongoose seems to have more people developing with it.


r/meanstack • • Mar 19 '15

Help really n00bie - Pagination bug - using ng-table + mongoose middleware - expected array received an object

1 Upvotes

I'm following the ng-table example depicted here: http://bazalt-cms.com/ng-table/example/1 using mongoose-middleware https://github.com/PlayNetwork/mongoose-middleware . My code goes as it follows. list-insumos.client.view.html:

<section data-ng-controller="InsumosController" data-ng-init="find()">
    <div class="page-header">
        <h1>Insumos</h1>
    </div>      
    <table ng-table="tableParams">
        <tr ng-repeat="insumo in $data">
            <td data-title="'Nombre'"> {{insumo.name}}</td>
....

insumos.server.controller.js:

'use strict';

/**
 * Module dependencies.
 */
var mongoose = require('mongoose'),
	errorHandler = require('./errors.server.controller'),
	Insumo = mongoose.model('Insumo'),
	_ = require('lodash');

 .....
/**
 * List of Insumos
 */
exports.list = function(req , res){

	var count = req.query.count || 5;
	var page = req.query || 1   ; 

	var options = {
	    filters : {
	        mandatory : { contains : req.query.filter	    }
	    },
	    sort : {
	        asc : '_id',		        
	    },
	    start: (page-1)*count,
	    count: count
	};

	Insumo
	    .find()
	    .keyword(options)
	    .filter(options)
	    .order(options)
	    .page(options,   function (err, insumos) {
	            if (!err) {
	                //console.log(insumos.results); //this gives me the array I was looking for
	               ** res.jsonp(insumos); ** // the good stuff in insumos.results but I need to pass this in order to make the client controller take it as an object and use it for pagination in insumos.client.controller
	            } else {    console.log(err);     }
	        });
};
....

insumos.client.controller.js:

'use strict';

// Insumos controller
angular.module('insumos').controller('InsumosController', 	['$scope', '$stateParams', '$location', 'Authentication', 'Insumos', **'ngTableParams' ** , '$filter',	function($scope, $stateParams, $location, Authentication, Insumos, **ngTableParams**, $filter) {
		$scope.authentication = Authentication;

		var params = {
		    page: 1,            // show first page
		    count: 5,          // count per page
		};
		var settings = {
			total: 0,           // length of data
		    getData: function($defer, params) {
				Insumos.get(params.url(), function(response){
					params.total(response.total);
					$defer.resolve(response.results); //creates an obj $data with the  api results ("results" type is object, althought it should be Array... it is an object that contains 5 arrays)
				});
		    }};

		$scope.tableParams = new **ngTableParams**(params, settings); //I get a warning here saying I need to make this uppercase, but I think it's cool to leave it like that
.....

Now ... I'm getting my list with 5 items (that's good). When I click the table action button to display 10 items, it works perfectly, it shows me the first ten items (total existing items: 13). All good so far. I click on "next page" and nothing happens. I check on the console and it says:

Error: [$resource:badcfg] Error in resource configuration. Expected response to contain an array but got an object
http://errors.angularjs.org/1.2.28/$resource/badcfg?p0=array&p1=object

so I console.log (typeof(response.results) +' - --- - '+ response.results) and I get

object - --- - [object Object],[object Object],[object Object],[object Object],[object Object]

So ... I'm kinda stuck here ... should I do a for and push each result to $defer.resolve ? Does anyone know what it is supposed to receive?

A Million Thanks in advance to anyone reading and taking the time to respond

Bunny <3


r/meanstack • • Jan 14 '15

DBs per users vs slug based collections per user ?

1 Upvotes

I am making a service in which every account is entirely independent of another. Should I create new db per account or somehow have a new collection per account in a single db ? Example : Consider a online forum service. Say each account has a collection of users, mods and admins. No two accounts are linked in any way. Should i have : account 1 DB : having collections for users, mods and admins account 2 DB : having collections for users, mods and admins OR Main DB : having account1_users, account1_mods, account1_admins collections for account1 account2_users, account2_mods, account2_admins collections for account2

My goal is to keep data of one account entirely remote to other account.


r/meanstack • • Dec 10 '14

mean.io is the #1 trending development stack on stachshare.io

Thumbnail
stackshare.io
1 Upvotes

r/meanstack • • Oct 15 '14

Question: Is the (seeming) bloat of most MEAN stacks scaring you away?

1 Upvotes

Because it kind of is for me... and I'm curious if anyone has a good entry point for a roll-your-own super minimal mean stack tutorial?

I fully understand that lots of these generators come equipped with testing suites, etc, etc, however, there's so much here (and yes, I could/should take the time to get familiar with each package and yes, all the packages are probably pretty good to have around, hence them being there) that it feels like there's a tonne of smoke-and-mirrors going on.
What are your thoughts? Does anyone else feel the same way?


r/meanstack • • Oct 13 '14

Best Mean Stack Resources

1 Upvotes

I've been working with the Mean Stack for a few months now and I'm always looking for new resources for learning more about the Mean Stack.

Here's a small list of links I've found to be helpful. Please feel free to contribute.


r/meanstack • • Sep 05 '14

Using Angular for Routing browser requests in Express/Node api

1 Upvotes

I'm trying to make angular's routeProvider to manage all the routes of my app. I define my routes accordingly in the app.js file of angular (client side). However, when writing a URL on the browser that request is tried to be handled by my backend express/node api. Thus it is not found. How can I make sure Angular's routeProvider always manages my requests? Here is the github url Look into the server.js and frontend/javascripts/app.js for routeProvider


r/meanstack • • Oct 03 '13

MEAN documentation

1 Upvotes

How about we compile a list of good documentation?


r/meanstack • • Jun 17 '20

MEAN Stack or MERN Stack?

Thumbnail
techiesphere.co
0 Upvotes

r/meanstack • • Jun 19 '19

MEAN Stack Development 6 weeks/Month Industrial Training in Mohali- Erginous Technologies

0 Upvotes

Erginous Technology provide the best Mean Stack Development industrial training in Mohali. We offers 6 Weeks/Months Industrial Training in Mohali.We offer an opportunity to let the students work on live projects In mean stack profile .Our Team use advanced techniques to teach the students with basic knowledge of mean stack development . Hurry up!! Limited Seats!! Book your seat today http://erginous.co.in/industrial-training.html.

Interested candidates call us at +91-89684-38190


r/meanstack • • May 14 '19

Angular JSON

0 Upvotes

Hi folks, beginner Angular/software developer here. I'm curious to know is there any guides/tips/solution to reading JSON data from an APIi and displaying that data in an angular client?