Folder Structure
At the root level, we have three folders and four files:
package.jsoncontains all dependencies and scripts required for the projectpackage-lock.jsonensure consistent installation of your dependencies.gitignoreis the Github fileREADME.mdis the default README filenode_modulesis the folder that contains all node dependenciespublicfolder contains part of the codemanifest.jsonis concerned with progressive web appsindex.htmlis the only html file in your application that gets served up. Contains theroottag which is responsible for the React UI.
srcfolder is the primary folderindex.jscontains the root DOM node to be controlled by ReactDOM.App.jsis the App component responsible for the HTML displayed in the browserApp.test.jscontains the JS file for unit testsApp.csscontains classes which are applied in the App componentindex.cssalso contains classes for the body tagserviceWorker.jsis for Progressive Web Apps
Last updated