This was developed on Linux (Windows 10 WSL 2 Ubuntu).
- have
node.jsinstalled - enter the root directory of the project
npm i(this installs all the dependencies needed for the project)- ???
- from the root directory of the project,
npm run start(should open the app in a browser tab)
these descriptions may not be 100% accurate since i might've forgot some things
src= the codewebpack.config.js- configuration file for webpack (responsible for preparing files to be loaded into a browser)
- if the names of template files like
index.htmlare changed, this file needs to be updated accordingly
package.json- node.js configuration file
- determines the name of the project
package-lock.jsonis auto-generated based on this file
.babelrc= config file for Babel (javascript compiler)src/index.html= template HTML file that React code will be inserted intosrc/index.js= React code to be inserted
- this is barely tested ("Works on My Machine"-type beat)
- comments related to the template (i.e. irrelevant to the actual project) are pre-fixed with
[TEMP]so they can beCTRL-F'd