1イントロアクション
887 ワード
The Rise of Full-stack JavaScript
Node.js
モングDB
アングラーJS Node MongoDB Express AnglarJS Glp Gunt JSHint Node Inspector and Mocha mean.io
Node.js
var http = require('http');
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.end('Hello world
');
}).listen(1337, '127.0.0.1');
console.log('Server running at http://127.0.0.1:1337/');
The Node.js EcosystemモングDB
アングラーJS
app.controller('PeopleCtrl', ['$scope', function($scope) {
$scope.people = [
{
firstName: 'Colin',
lastName: 'Ihrig'
},
{
firstName: 'Adam',
lastName: 'Bretz'
}
];
}]);
{{person.lastName}}, {{person.firstName}}
Summary