In the project directory, you can run:
Run the app locally at http://localhost:3000.
Launches the test runner. (tests use Jest and testing-library)
Builds the app for production to the build
folder. This folder can be hosted statically with a service like S3 or be served with something like node/express.
Deploys the app to github-pages. Requires setting up a github repository for the app and adding the 'homepage' url to package.json. The homepage url follows the following pattern:
"homepage": "http://GITHUB_USERNAME.github.io/GITHUB_REPO_NAME"
GITHUB_USERNAME and GITHUB_REPO_NAME need to be replaced with the correct values.
Presentational components are all in ./src/components
. Layout.tsx
is the top level and is responsible for rendering all other presentational components and it is rendered in App.tsx
.
Most of the application state is found in ./src/App.tsx
, with small pieces of state showing up in some of the presentational components.
Most of the applications logic can be found in ./src/util/filterUtilities
, but there is also some logic found in the presentational components.
Tests are co-located in the same folder with the component or function they are testing.
css files are also co-located in the same folder with the component or function they are styling.
This project was bootstrapped with Create React App.