Chapter 23. Building Your Application

Now that Code Café is fully coded and (for the purposes of this book) fully tested, you are ready to build it for production use.

So far, you have done all your work in development mode, using npm start to run the server built into Create React App. By the end of this chapter, you will have a folder of files ready for you to deploy onto a production server.

Manifest

First, you need to update the application’s public/manifest.json file. This file contains information that the browser will consume. Locate and open the file in Visual Studio Code.

Update manifest.json to reflect the app’s title and color scheme.

Example 23.1. Updating the manifest (manifest.json)
{
  "short_name": ...

Get React Programming: The Big Nerd Ranch Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.