- Web Development with MongoDB and Node(Third Edition)
- Bruno Joseph D'mello Mithun Satheesh Jason Krol
- 136字
- 2021-07-08 10:32:42
Creating the sample application
The testapp folder that we just created will be the root of our sample Node application. Even though it's not necessary, it's important and also best practice that we should create the package.json file for our Node app, which will hold the necessary data regarding the application such as its version, name, description, development, and runtime dependencies. This can be done by issuing the following command from the testapp folder root:
$ npm init
This command will follow up by asking you a few questions, such as the name and version number of your newly created application. It is not necessary that you fill in all the details in one go, and you can skip the steps by pressing Enter and the default values will be entered, which you may update later.
推薦閱讀
- LaTeX Cookbook
- Delphi程序設計基礎:教程、實驗、習題
- The Android Game Developer's Handbook
- DevOps for Networking
- Visual Basic編程:從基礎到實踐(第2版)
- R語言數據可視化之美:專業(yè)圖表繪制指南
- Clojure for Domain:specific Languages
- Amazon S3 Cookbook
- Service Mesh實戰(zhàn):基于Linkerd和Kubernetes的微服務實踐
- Swift 4從零到精通iOS開發(fā)
- ArcGIS for Desktop Cookbook
- Xamarin Blueprints
- CodeIgniter Web Application Blueprints
- HTML+CSS+JavaScript網頁制作:從入門到精通(第4版)
- 高效使用Greenplum:入門、進階與數據中臺