- 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.
推薦閱讀
- Cocos2d Cross-Platform Game Development Cookbook(Second Edition)
- Dynamics 365 for Finance and Operations Development Cookbook(Fourth Edition)
- Python概率統計
- 軟件架構設計:大型網站技術架構與業務架構融合之道
- JavaScript+jQuery網頁特效設計任務驅動教程(第2版)
- Learning Neo4j 3.x(Second Edition)
- C語言程序設計同步訓練與上機指導(第三版)
- Keras深度學習實戰
- Getting Started with React Native
- Android驅動開發權威指南
- Spring Security Essentials
- Python網絡爬蟲技術與應用
- C陷阱與缺陷
- Python面試通關寶典
- Python Linux系統管理與自動化運維