https://hub.docker.com/repository/docker/tgrrr/cra-docker
yarn run start
yarn run setup
- How to build
docker build . -t tgrrr/cra-docker
- Pull
create-react-app
fromdocker
docker pull tgrrr/cra-docker
docker run -p 8080:80 tgrrr/cra-docker
Note: 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
yarn
yarn 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 build
for production- Deployment
- This project was bootstrapped with Create React App
- Making a Progressive Web App
TODO: