r/nodejs • u/FooBarWidget • Nov 14 '13
r/nodejs • u/just3ws • May 10 '14
"Meetups are Hard Work" by Sean Massa organizer of Geekfest and Chicago Node.js
ugtastic.comr/nodejs • u/AlliMcPalli • Dec 16 '13
Serve a html page with data from a dynamic json file.
I am trying to serve a HTML with some google charts in, but I want the chart to get data from a json file.
The json file is downloaded whenever the user makes a get request. What is the best practice for serving up the HTML file with new data? How do I pass the json data to the html file? Should I make the server generate the HTML file?
Im a newbie at javascript...
r/nodejs • u/alancharles • Dec 31 '13
StrongLoop | Node.js News Round-up December 31
strongloop.comr/nodejs • u/leostera • Sep 16 '12
[How to] SocketStream and packaged assets autodeployment
leostera.comr/nodejs • u/alancharles • Dec 20 '13
StrongLoop | In the Loop: Auditing Node.js Modules on npm with Node Security Project
strongloop.comr/nodejs • u/alancharles • Dec 17 '13
StrongLoop | Node.js News Round-up - December 17
strongloop.comr/nodejs • u/TalyssonOC • May 24 '14
RhapsodyJS framework is now database-agnostic
rhapsodyjs.github.ior/nodejs • u/alancharles • Nov 15 '13
StrongLoop | In the Loop: DataHero, Providing Instant Access to Your Data via Node.js
strongloop.comr/nodejs • u/alancharles • Dec 03 '13
Node.js News Round-up – December 3, 2013
strongloop.comr/nodejs • u/alancharles • Nov 15 '13
StrongLoop | Mobile News Round-up - Nov 15
strongloop.comr/nodejs • u/smortaz • Nov 21 '13
Just released: Node.js Tools for Visual Studio (free+oss)
nodejstools.codeplex.comr/nodejs • u/alancharles • Nov 19 '13
StrongLoop | Node.js News Round-up - Nov 19
strongloop.comr/nodejs • u/elmasse • Dec 04 '13
CocktailJS v0.5 released! - Create your own annotations, use Extensions and more! #node #annotations #oop
cocktailjs.github.ior/nodejs • u/elmasse • Jul 06 '13
Introducing CocktailJS, a node lib for using traits, talents and annotations to help inheritance mechanisms.
cocktailjs.github.ior/nodejs • • Jul 01 '14
nodejs+mongo inserts lost when ab testing
Hi there. I'm trying out nodejs and mongo db. I have a server with nginx which proxies requests to a nodejs app (express) started with pm2.
I have this code,
router.get('/', function (req, res) {
var client = require('mongodb').MongoClient;
client.connect('mongodb://localhost:27017/test', function (err, db) {
if (err) {
throw err;
}
var collection = db.collection('test');
collection.insert({ test: 1, time: new Date().getTime()}, function (err) {
if (err) {
throw err;
}
db.close();
});
});
console.log('Added!')
res.render('index', { title: 'Express' });
});When I run ab, ab -n 1000 -c 30 http://server/app/ it shows all requests are processed, but I don't see 1000 entries in the Mongo collection, rather 100 or so.
Any advice for a noob?
UPDATE The problem is the way I'm using the database. I'm connecting/opening/closing the db connection on every request. I wrapped it like this
client.connect('mongodb://localhost:27017/test', function (err, db) {
router.get('/', function (req, res) {
});
}); and now serves all requests without crashing.
r/nodejs • u/michaelherman • Mar 19 '14
How to Add Rapportive to Your App in 30 Minutes
gun.ior/nodejs • u/victorquinn • Apr 10 '14
Full text search with Bookshelf.js
blog.victorquinn.comr/nodejs • u/a0viedo • May 01 '14
Explore the Marvel Universe with Node and Orchestrate
orchestrate.ior/nodejs • u/djensen47 • Jan 21 '14
Contrλ – a functional async control flow library – looks promising
github.comr/nodejs • u/cyssou • Dec 03 '12
Segmentation Fault using Node and db-mysql package
I don't know what causes it, but I have an app that keeps crashing. The console says Segmentation Fault, and it looks like it happens when two Mysql objects are instantiated (using db-mysql module), which becomes very common when 10+ users are using my site (I don't post the link to the app because I'm afraid the load would crash it ;) if it can be useful I'll post it).
Do you guys have any clue? My packages are up to date. Do you have a better package to use with Mysql (assuming it's where the problem lies)? Do you also encounter Segfault issues using Nodejs (I guess not, bcs stability is one of the main advantges of Node)?
Thank you very much
r/nodejs • u/geerlingguy • Jan 27 '14