Simple PhoneBook App with React
- Create-React-App
- React Typescript
- TailWind CSS
- React Testing Library for Unit-Test
- Cypress for e2e-test
node v12^
yarn
Note: User yarn rather than npm
Install dependencies
yarn
Note: I uploaded .env to avoid Cypress issue with TS.
SKIP_PREFLIGHT_CHECK=true
This value should be in .env.
yarn start- Run the project in your localyarn test- Run the unit-testyarn e2e- Open Cypress browser. Note: Before opening Cypress browser, the frontend should be running on localhost:3000. Because this e2e test is working against localhost.
Taylor Chen