This project was bootstrapped with Create React App, using the Redux and Redux Toolkit template. On top of that, it contains:
- TypeScript
- ESLint
- Ant Design
- React Router
- Husky
Copy .env as .env.local. Override REACT_APP_API_BASE_URL to point the application to a specific API url.
npm install
npm startOpen http://localhost:3000/app to view the application in the browser. The page will reload if you make edits.
Currently, tests using Jest and React Testing Library are supported.
To launch the test runner in the interactive watch mode:
npm testMore info here.
npm run lintnpm run buildBuilds 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 - your app is ready to be deployed!
More info here.
npm run lint and npm test are executed automatically when changes are being pushed to the repo. There might be some known issues with the tool we utilize typicode/husky#332. In case of any issues the linting and tests execution can be skipped by the following command:
git push --no-verify