웹 어플리케이션

요약

$ npm init
$ npm i fastify --save

실습시작

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/8266022b-ca77-4948-80ab-0098eb2a96af/Untitled.png

(base) glory@Gloryui-MacBookPro Web % npm init
This utility will walk you through creating a package.json file.
It only covers the most common items, and tries to guess sensible defaults.

See `npm help init` for definitive documentation on these fields
and exactly what they do.

Use `npm install <pkg>` afterwards to install a package and
save it as a dependency in the package.json file.

Press ^C at any time to quit.
package name: (web) 
version: (1.0.0) 
description: 
entry point: (index.js) 
test command: 
git repository: 
keywords: 
author: 
license: (ISC) 
About to write to /Users/glory/Desktop/(GITHUB)/Web/package.json:

{
  "name": "web",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \\"Error: no test specified\\" && exit 1"
  },
  "author": "",
  "license": "ISC"
}

Is this OK? (yes) yes

   ╭────────────────────────────────────────────────────────────────╮
   │                                                                │
   │      New patch version of npm available! 6.14.5 → 6.14.9       │
   │   Changelog: <https://github.com/npm/cli/releases/tag/v6.14.9>   │
   │               Run npm install -g npm to update!                │
   │                                                                │
   ╰────────────────────────────────────────────────────────────────╯

(base) glory@Gloryui-MacBookPro Web %

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/5b2a8dc7-66ee-48bb-9cb1-0b41924f17f0/Untitled.png