Installation curl: $ curl -# http://expressjs.com/install.sh | sh npm: $ npm install express git clone, first update the submodules: $ git submodule update --init $ make install $ make install-support Creating An Application The express.Server now inherits from http.Server, however follows the same idiom by providing express.createServer() as shown below. This means that you can utilize Express se
Embedded below is essentially the simplest Express app you can create. It is a single file app — not what you’d get if you use the Express generator, which creates the scaffolding for a full app with numerous JavaScript files, Jade templates, and sub-directories for various purposes. const express = require('express') const app = express() const port = 3000 app.get('/', (req, res) => { res.send('H
This is aimed at people who have some familiarity with Node.js. They know how to run Node scripts and can install packages with npm. You don't have to be an expert, though -- I promise. This guide was last updated for Express 3.2.5. It's an introduction and mostly deals with concepts. Express.js describes itself better than I can: "a minimal and flexible node.js web application framework". It help
$ express --css stylus myapp $ tree myapp myapp ├── app.js ├── node_modules ... ├── package.json ├── public │ ├── images │ ├── javascripts │ └── stylesheets │ ├── style.css │ └── style.styl ├── routes │ ├── index.js │ └── user.js └── views ├── index.jade └── layout.jade /** * Module dependencies. */ // ライブラリの読み込み var express = require('express'); var routes = require('./routes'); var
インストール サーバーの作成 HTTPSサーバーの作成 環境設定 セッティング ルーティング ルート処理の受け渡し ミドルウェア ルート・ミドルウェア HTTPメソッド 例外処理 ルート・パラメータの事前処理 ビューの表示 ビュー・パーシャル ビュー・ルックアップ テンプレート・エンジン セッション・サポート 移行ガイド APIリファレンス - リクエスト + - レスポンス + - サーバー + Express ハイパフォーマンス、ハイクラスなWeb開発をNode.jsに。 インストール $ npm install express またはグローバルオプションを付けてインストールします。 $ npm install -g express クイックスタート expressを始めるもっとも簡単な方法は、express コマンドを利用してアプリケーションを生成することです。 アプリケーションの作
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く