Post

express(4系)を起動するまで

express(+ジェネレータ)のインストール

$ npm install -g express $ npm install -g express-generator

プロジェクトの生成

$ express sample_project

ライブラリのインストール

$ cd sample_project $ npm install

サーバ起動

$ node bin/www

node app.jsではない

Express4.xでプロジェクト作成 - Qiita

This post is licensed under CC BY 4.0 by the author.