Express.js:
Node.jsのための軽量で柔軟なWebアプリケーションフレームワークで、Express.jsを使用すると、Node.jsを使用してWebアプリケーションを作成するための様々な機能を簡単に実装できるそうなので使ってみた。
インストールは npm で簡単:
Express can use a template engine to render dynamic pages with information that differs with each request.
There are several engines to choose from but let's start with EJS.
First install EJS in your project:
npm install ejs
番外:
nodemon 使うと、ファイル更新毎にサービス再起動しなくていいので便利。
npm install nodemon
npx nodemon index.js
No comments:
Post a Comment