0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

【個人メモ】Express環境ハンズオン

Last updated at Posted at 2020-06-28

完全に個人用メモです。

  1. Node.jsとnpmがinstall済みであることを確認する
    node -v, npm -vコマンド実行

  2. expressのインストール
    作業ディレクトリでnpm initを実行してpackage.json作成
    npm install express express-generator --save

  3. expressアプリケーションの雛形作成
    ./node_modules/.bin/express --view=pug sample

  4. アプリ立ち上げ
    cd sample
    npm install
    npm start
    ブラウザからhttp://localhost:3000/につなぐと「Welcome to Express」が表示される。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?