January 2019
Intermediate to advanced
460 pages
10h 33m
English
The development environment for our project is ready. In this section, we are going to install and configure React, which is one primary aspect of this book. Let's start by creating a new directory for our project:
mkdir ~/graphbookcd ~/graphbook
Our project will use Node.js and many npm packages. Create a package.json file to install and manage all of the dependencies for our project.
This stores information about the project, such as the version number, name, dependencies, and much more.
Just run npm init to create an empty package.json file:
npm init
Npm will ask some questions, such as asking for the package name, which is, in fact, the project name. Enter Graphbook to insert the name of your application in the generated ...
Read now
Unlock full access