{"id":161253,"date":"2012-12-04T05:29:03","date_gmt":"2012-12-04T01:29:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=161253"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=161253","title":{"rendered":"<span class=\"post_title\">\u0428\u0430\u0431\u043b\u043e\u043d \u043f\u0440\u043e\u0435\u043a\u0442\u0430 Express.js<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t\u0412\u0437\u044f\u0442\u044c \u043c\u043e\u0436\u043d\u043e \u0442\u0443\u0442: <a href=\"https:\/\/github.com\/maxatwork\/expressjs_template\">github.com\/maxatwork\/expressjs_template<\/a><\/p>\n<h5>\u0427\u0442\u043e \u0435\u0441\u0442\u044c<\/h5>\n<p>  <\/p>\n<ul>\n<li>\u043a\u043e\u0434 \u0441\u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d \u0432 coffeescript<\/li>\n<li><a href=\"http:\/\/learnboost.github.com\/stylus\/\">learnboost.github.com\/stylus\/<\/a> \u2014 CSS-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a, \u0430\u043d\u0430\u043b\u043e\u0433 SASS\/LESS<\/li>\n<li><a href=\"https:\/\/github.com\/TrevorBurnham\/connect-assets\">github.com\/TrevorBurnham\/connect-assets<\/a> \u2014 \u0441\u0431\u043e\u0440\u0449\u0438\u043a \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432 \u0430-\u043b\u044f Rails 3.1, \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u0442 coffee-script\/less\/stylus<\/li>\n<li><a href=\"https:\/\/github.com\/shomeya\/bootstrap-stylus\">github.com\/shomeya\/bootstrap-stylus<\/a> \u2014 \u043f\u043e\u0440\u0442 Twitter bootstrap&#8217;\u0430 \u043d\u0430 Stylus<\/li>\n<li><a href=\"https:\/\/github.com\/visionmedia\/nib\">github.com\/visionmedia\/nib<\/a> \u2014 \u0443\u0442\u0438\u043b\u0438\u0442\u044b \u0438 mixin&#8217;\u044b \u0434\u043b\u044f Stylus, \u0430\u043d\u0430\u043b\u043e\u0433 COMPASS \u0434\u043b\u044f SASS<\/li>\n<li><a href=\"https:\/\/github.com\/kriszyp\/promised-io\">github.com\/kriszyp\/promised-io<\/a> \u2014 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0432\u0432\u043e\u0434\u0430-\u0432\u044b\u0432\u043e\u0434\u0430, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0449\u0430\u044f \u043f\u0430\u0442\u0442\u0435\u0440\u043d promise<\/li>\n<li><a href=\"http:\/\/visionmedia.github.com\/mocha\/\">visionmedia.github.com\/mocha\/<\/a> \u2014 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u0434\u043b\u044f \u044e\u043d\u0438\u0442-\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f<\/li>\n<li><a href=\"https:\/\/github.com\/visionmedia\/should.js\/\">github.com\/visionmedia\/should.js\/<\/a> \u2014 \u0430\u0441\u0441\u0435\u0440\u0442\u044b \u0432 \u0441\u0442\u0438\u043b\u0435 BDD \u0434\u043b\u044f node.js<\/li>\n<li><a href=\"https:\/\/github.com\/visionmedia\/supertest\">github.com\/visionmedia\/supertest<\/a> \u2014 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 http-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439<\/li>\n<\/ul>\n<p>  <a name=\"habracut\"><\/a>  <\/p>\n<h5>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430<\/h5>\n<p>  \u0412\u044b\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u0435\u043c <a href=\"https:\/\/github.com\/maxatwork\/expressjs_template\/archive\/master.zip\">zip-\u0430\u0440\u0445\u0438\u0432<\/a> (\u0447\u0442\u043e\u0431 \u0441\u0441\u044b\u043b\u043e\u043a \u043d\u0430 git \u043d\u0435 \u043e\u0441\u0442\u0430\u0432\u0430\u043b\u043e\u0441\u044c), \u0440\u0430\u0437\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u0432 \u043d\u0443\u0436\u043d\u0443\u044e \u043f\u0430\u043f\u043a\u0443, \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u0432 \u043d\u0435\u0435, \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c <code>npm install<\/code>.<\/p>\n<p>  \u0422\u0430\u043a\u0436\u0435, \u0445\u043e\u0440\u043e\u0448\u043e \u0431\u044b \u0438\u043c\u0435\u0442\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u043c\u0438:  <\/p>\n<pre><code class=\"bash\"># grunt - \u0430\u043d\u0430\u043b\u043e\u0433 make  npm install -g grunt  # nodemon - \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442 \u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442 nodejs \u043f\u0440\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 npm install -g nodemon <\/code><\/pre>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c:  <\/p>\n<ul>\n<li><code>grunt<\/code> \u2014 \u043f\u0440\u043e\u0433\u043e\u043d\u0438\u0442 \u0442\u0435\u0441\u0442\u044b<\/li>\n<li><code>grunt watch<\/code> \u2014 \u0431\u0443\u0434\u0435\u0442 \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0437\u0430 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f\u043c\u0438 \u0444\u0430\u0439\u043b\u043e\u0432, \u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0442\u0435\u0441\u0442\u044b<\/li>\n<li><code>nodemon app.coffee<\/code> \u2014 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442 \u0441\u0435\u0440\u0432\u0435\u0440<\/li>\n<\/ul>\n<p>  \u041d\u0443 \u0438 \u043d\u0435\u043f\u043b\u043e\u0445\u043e \u0431\u044b \u043f\u043e\u043f\u0440\u0430\u0432\u0438\u0442\u044c <code>README.md<\/code> \u0438 <code>package.json<\/code> \u043f\u043e\u0434 \u0441\u0432\u043e\u0438 \u0434\u0430\u043d\u043d\u044b\u0435.<\/p>\n<p>  \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u043a\u043e\u043c\u0443-\u0442\u043e \u0441\u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0442 15 \u043c\u0438\u043d\u0443\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 =)    \t   \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/161253\/\"> http:\/\/habrahabr.ru\/post\/161253\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t\u0412\u0437\u044f\u0442\u044c \u043c\u043e\u0436\u043d\u043e \u0442\u0443\u0442: <a href=\"https:\/\/github.com\/maxatwork\/expressjs_template\">github.com\/maxatwork\/expressjs_template<\/a><\/p>\n<h5>\u0427\u0442\u043e \u0435\u0441\u0442\u044c<\/h5>\n<p>  <\/p>\n<ul>\n<li>\u043a\u043e\u0434 \u0441\u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d \u0432 coffeescript<\/li>\n<li><a href=\"http:\/\/learnboost.github.com\/stylus\/\">learnboost.github.com\/stylus\/<\/a> \u2014 CSS-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a, \u0430\u043d\u0430\u043b\u043e\u0433 SASS\/LESS<\/li>\n<li><a href=\"https:\/\/github.com\/TrevorBurnham\/connect-assets\">github.com\/TrevorBurnham\/connect-assets<\/a> \u2014 \u0441\u0431\u043e\u0440\u0449\u0438\u043a \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432 \u0430-\u043b\u044f Rails 3.1, \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u0442 coffee-script\/less\/stylus<\/li>\n<li><a href=\"https:\/\/github.com\/shomeya\/bootstrap-stylus\">github.com\/shomeya\/bootstrap-stylus<\/a> \u2014 \u043f\u043e\u0440\u0442 Twitter bootstrap&#8217;\u0430 \u043d\u0430 Stylus<\/li>\n<li><a href=\"https:\/\/github.com\/visionmedia\/nib\">github.com\/visionmedia\/nib<\/a> \u2014 \u0443\u0442\u0438\u043b\u0438\u0442\u044b \u0438 mixin&#8217;\u044b \u0434\u043b\u044f Stylus, \u0430\u043d\u0430\u043b\u043e\u0433 COMPASS \u0434\u043b\u044f SASS<\/li>\n<li><a href=\"https:\/\/github.com\/kriszyp\/promised-io\">github.com\/kriszyp\/promised-io<\/a> \u2014 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0432\u0432\u043e\u0434\u0430-\u0432\u044b\u0432\u043e\u0434\u0430, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0449\u0430\u044f \u043f\u0430\u0442\u0442\u0435\u0440\u043d promise<\/li>\n<li><a href=\"http:\/\/visionmedia.github.com\/mocha\/\">visionmedia.github.com\/mocha\/<\/a> \u2014 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u0434\u043b\u044f \u044e\u043d\u0438\u0442-\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f<\/li>\n<li><a href=\"https:\/\/github.com\/visionmedia\/should.js\/\">github.com\/visionmedia\/should.js\/<\/a> \u2014 \u0430\u0441\u0441\u0435\u0440\u0442\u044b \u0432 \u0441\u0442\u0438\u043b\u0435 BDD \u0434\u043b\u044f node.js<\/li>\n<li><a href=\"https:\/\/github.com\/visionmedia\/supertest\">github.com\/visionmedia\/supertest<\/a> \u2014 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 http-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439<\/li>\n<\/ul>\n<p>  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-161253","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/161253","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=161253"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/161253\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=161253"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=161253"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=161253"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}