From:  William Hermans <[email protected]>
Reply-To:  "[email protected]" <[email protected]>
Date:  Friday, July 4, 2014 at 9:11 AM
To:  "[email protected]" <[email protected]>
Subject:  Re: [beagleboard] Re: Having trouble with basic node.js server

> Great!
> 
> Yesterday I mentioned MEAN, but that really isnt possible on the BBB yet. I
> did some research, and apparently MongoDB still doesnt work well on ARM. It's
> been a year since i last checked . . . Their excuse is that memory mapped
> "documents" wont work well on embedded devices, which is of course a load of
> bull. Matter of fact it makes more sense on an embedded device than anything
> else.
Use Redis nosql database which is lightning fast and scales really well.

Regards,
John
> 
> 
> The good news is that Angularjs Express, and socket.io <http://socket.io>
> will all work fine to achieve the same goal.
> 
> 
> On Fri, Jul 4, 2014 at 6:49 AM, Gary White <[email protected]> wrote:
>> Thanks William!
>> 
>> I loaded express and was able to get the basic web server working.  Much
>> simpler code as well.
>> 
>> Regards,
>> Gary
>> 
>> var express = require('express');
>> var app = express();
>> 
>>     app.get('/', function(req, res){
>>           res.send('Hello World');
>>         });
>>         
>>     app.get('/socket.html', function(req, res){
>>           res.sendfile('/var/lib/cloud9/socket.html');
>>         });
>> 
>>         
>>     var server = app.listen(8000, function() {
>>         console.log('Listening on port %d', server.address().port);
>>     });
>> 
>> 
>> -- 
>> For more options, visit http://beagleboard.org/discuss
>> --- 
>> You received this message because you are subscribed to the Google Groups
>> "BeagleBoard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
> 
> 
> -- 
> For more options, visit http://beagleboard.org/discuss
> --- 
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to