- 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.
推薦閱讀
- Java Web開發學習手冊
- Google Apps Script for Beginners
- 程序員面試筆試寶典
- Selenium Design Patterns and Best Practices
- 秒懂設計模式
- TradeStation交易應用實踐:量化方法構建贏家策略(原書第2版)
- INSTANT Yii 1.1 Application Development Starter
- Julia 1.0 Programming Complete Reference Guide
- Hands-On JavaScript for Python Developers
- Nagios Core Administration Cookbook(Second Edition)
- SpringBoot從零開始學(視頻教學版)
- CodeIgniter Web Application Blueprints
- Android應用開發實戰(第2版)
- Scratch從入門到精通
- Building Microservices with Go