December 2019
Intermediate to advanced
474 pages
10h 3m
English
Every time you create a new React project, the first step is to create a new directory on your local machine. Since you're going to build a movie list application in this chapter, name this directory movieList.
Inside this new directory, execute the following from the command line:
npm init -y
Running this command will create a package.json file with the bare minimum of information that npm needs about this project. By adding the -y flag to the command, we can automatically skip the steps where we set information such as the name, version, and description. After running this command, the following package.json file will be created:
{ "name": "movieList", "version": "1.0.0", "description": "", "main": "index.js", "scripts": ...Read now
Unlock full access