Folder Structure (https://www.youtube.com/watch?
v=xTS5Pt6PqoQ)
Node modules – stores source code of packages
Public –
o stored data will be served as static
o It shows data as it is in browser. Ex – images, videos
o Index.html – it’s a html page in which it takes div class “root”
every code comes under “root”
ex - <div id =”root”></div>
Src – when we run “npm start” that time it search for “src” folder in that it runs “index.js” file
o In “Index.js” file we have render id “root” to “index.html” file. In that we have pass
“app” component
o render “app” component to “root”
o we can’t change the name of folder
s rc - in d e x .js(re n d e r ro o t p u b lic - in d e x .h tm l
s rc - A p p .js
by app com ponent )
o .gitignore - includes files witch should be ignored by git
We can generate it again
o Package.json – it is global file in which we have name version, script, configuration and
dependencies of project