This project was bootstrapped with Create React App.
We used msw to mock the network request. You can read more here: Browser Integration
- The request interceptor in located in
.src/interceptors
- Inside
.src/index.tsx
we need to start the worker before starting the application.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.