- configs - contains configurations for Jest, PostCss, TypeScript, and Webpack
- src - contains all necessary code for app development (the files in this directory get processed for the build)
- tests - contains test data and test utilities. This directory holds coverage files as well (
__coverage__
- git ignored)
- Node 18.16.0 or higher
- NPM 9.5.1 or higher
- Operating System: Mac OSX 10.13 or higher/Windows 8 or higher
Open a terminal, navigate to the root directory of this repository, and type the command npm install.
- npm start: Starts webpack dev server on localhost port 8080
- npm run build: Creates a new build folder
- npm test: Runs the Jest test runner (currently ~98% coverage)
- Run the command npm start
- A browser window should open at http://localhost:8080
- The React application should run
- As you work on the application, changes are propagated to the browser.
- Run the command npm run build
- Open a terminal and navigate to the build directory.
- Run any web server (ex. python3 -m http.server. This will serve the build at http://localhost:8000).
- Open up a web browser and navigate to http://localhost:8000