https://hub.docker.com/repository/docker/tgrrr/cra-docker
yarn run startyarn run setup- How to build
docker build . -t tgrrr/cra-docker- Pull
create-react-appfromdocker
docker pull tgrrr/cra-docker
docker run -p 8080:80 tgrrr/cra-dockerNote: including -p 8080:80 lets us use localhost:8080, rather than assigning a random port
yarn start
git clone https://github.com/tgrrr/react-hooks-starter
cd react-hooks-starter
yarnyarn start or yarn watch
Runs the app in the development mode at http://localhost:3000
yarn test- tests with Cypressyarn run cypress:open- Opens the interactive cypress tester
Run cypress tests in terminal
yarn run buildfor production- Deployment
- This project was bootstrapped with Create React App
- Making a Progressive Web App
TODO: