April 2020
Intermediate to advanced
716 pages
18h 55m
English
To run the server as we develop the code for only the backend, we can start with the yarn development script in the package.json file. For the complete skeleton application, we will use the same run scripts we defined in Chapter 2, Preparing the Development Environment.
mern-skeleton/package.json:
"scripts": { "development": "nodemon" }
With this script added, running yarn development in the command line from your project folder will basically start Nodemon according to the configuration in nodemon.json. The configuration instructs Nodemon to monitor server files for updates and, on update, to build the files again, then restart the server so that the changes are immediately available. We will begin by implementing a working ...
Read now
Unlock full access