yarn install
yarn start
The app will be available at http://localhost:3000/links-detector/
It might be needed to get a camera access while testing the app on mobile devices through a local network.
yarn start-https
The app will be available at https://localhost:3000/links-detector/. You may also access it through the mobile device at https://<your.local.ip.here>/links/detector
if it is on the same network.
Service workers and PWA (Progressive Web App) features might be tested against production builds only. To build production version of the app and serve it, run:
yarn start-prod
The app will be available at http://localhost:4000/links-detector/
react-router-dom v5.X.X
isn't compatible with history v5.X.X
.
Therefore package.json
locked history
package version to v4.X.X
. See StackOverflow question for more details.