Folder Structure
At the root level, we have three folders and four files:
package.json
contains all dependencies and scripts required for the projectpackage-lock.json
ensure consistent installation of your dependencies.gitignore
is the Github fileREADME.md
is the default README filenode_modules
is the folder that contains all node dependenciespublic
folder contains part of the codemanifest.json
is concerned with progressive web appsindex.html
is the only html file in your application that gets served up. Contains theroot
tag which is responsible for the React UI.
src
folder is the primary folderindex.js
contains the root DOM node to be controlled by ReactDOM.App.js
is the App component responsible for the HTML displayed in the browserApp.test.js
contains the JS file for unit testsApp.css
contains classes which are applied in the App componentindex.css
also contains classes for the body tagserviceWorker.js
is for Progressive Web Apps
Last updated