First things first, let's create the project as follows:
- Open your favorite shell.
- Create a new folder called todoit-v1.
- Go into the newly created folder.
- Create the project using the npm init command.
When you execute the following npm init command, npm will request some input to properly configure the project:
$ 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.
Execute `npm help json` to get a more comprehensive description of these fields.
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.
...
The following are the different inputs that npm will request. Just press the Enter key multiple times as we will not need to change the defaults:
package name: ...