This project was bootstrapped with Create React App.
Minimum requirements:
- Node.js of version 20 LTS
- yarn 1.22
To enable custom pre-push hook, update git configuration to let it know where our hook files lie:
`git config core.hooksPath .githooks`
In the project directory, you can run:
Runs the app in the development mode with proxy for https://qa2.genialis.com (used as an API endpoint).
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Runs ESLint with Prettier check.
Runs ESLint with Prettier combined to apply automatic fixes.
Typescript compiler, Prettier and ESLint checks combined.
Launches the test runner in the interactive watch mode.
Assuming locally running web site (using yarn start
or yarn serve
). On Windows git-bash is assumed.
# Headed with inspector
[email protected] LOGIN_PASSWORD=mysecret PWDEBUG=1 yarn e2e
# Headless
[email protected] LOGIN_PASSWORD=mysecret yarn e2e
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Update /build/config.js
with appropriate endpoint URLs and your app is ready to be deployed.
See the section about deployment for more information.
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.