Exploring the App Structure
Open the "hello-world" directory in a code editor of your choice
Let's go through important directory and files one by one -
1. node_modules - This directory contains all the packages that essential to run the react application as well as the extra packages that you will install whenever you want to include a ready made library for your use case. Packages can be imported directly inside your application.
3. src - This is THE BOSS directory where all the application's logic goes. you can make subdirectories and files inside those directories but they all should be inside the src directory.
4. package.json - package.json contains all the meta information about your application. The author, the name, running scripts and most importantly the installed packages. Since the size of all the packages inside the "node_modules" directory is HUGE, so the node_modules directory is never included with the application. Instead, wherever the app is moved, say a server, the package.json file is used to install the node_modules again at the new location.
Try this - delete the "node_modules" directory from your workspace and then run npm install inside the terminal at the same location.